(Goodness, this is only my second post this month. Evidently real life is getting in the way. I have a massive list of things I’d like to write about, if that’s any consolation to my readers.)
We live in the time where the laptop computer is ubiquitous. Most people who have a home personal computer use a laptop now, and it’s starting to become the primary workplace device too. Although tablets are gaining in popularity, it’ll be a while before they have anything like that market share.
So let’s talk about laptop lids.
Laptop computers fold away for ease of portability. It’s very easy to carry around a cuboid-shaped device. This isn’t news to anyone.
But wherever I go — home or office — I see people walking around with their laptop lids open, precariously balancing the computer and anything else they need to carry, such as notebooks and cups of coffee. I’m as guilty of this as anyone else. It’s such a common image it’s almost unnoticeable but when you think about it, it’s pretty hilarious.
Why does this happen? Well, most modern operating systems are configured by default to initiate an ACPI sleep event when the laptop lid is closed. This shuts down the monitor, hard disk and CPU and leaves only the RAM powered up — great for saving battery power when on the move, but causing a delay of a few seconds on wake when the various hardware springs back into life. On top of this, most authentication systems will use this as an excuse to lock the machine, requiring a password or fingerprint to unlock.
The delay caused by the wake and unlock event is traded off against the distance travelled and in most people’s eyes a journey from desk to meeting room (or living room to bedroom) is too short to warrant that delay and effort and so we end up in that silly state of balancing the laptop instead of closing it for easy movement.
But my engineer’s brain is not satisfied with this! There must be a solution where we can have the best of both worlds!
The easy solution would be to have a switch on the taskbar to say whether to sleep & lock when the lid is closed. I’m sure such features already exist. But I don’t want to be having to remember to click this, especially before going home for the evening or travelling — the risk of accidentally leaving my laptop fully powered and wasting energy (or not having any power at my destination) is too great.
We could program the ACPI based on our calendar information — my laptop already knows when I have meetings so perhaps it could decide not to sleep when it knows it’s being transported in or out of a meeting room. But this relies on the information in my calendar being accurate and it doesn’t solve the same problem at home.
What about just allowing us to specify a minimum time after the lid is closed before the sleep and lock events kick in? If I could say that any journey of less than a minute should be considered just closing the lid for convenience’s sake, and not because I’m travelling or leaving my laptop alone, that would probably work. There’s a tradeoff here in battery power (not much) and physical security (I could still manually initiate the lock if I’m worried about that) but I think the benefits far outweigh the drawbacks.
This would be easy to do in GNU/Linux where ACPI is scriptable, but do similar tools exist for Windows 7 or OS X? And if we can solve this problem, how do we go about retraining everyone out of this habit?