Preventing PowerBook lid wakeup 

Once in a while, the lid of my PowerBook doesn’t latch quite right and will open in its case. This wakes the machine up. It will eventually go back to sleep, but this is annoying. It’s possible to set the machine not to do this. Unfortunately, there isn’t any user interface in the Energy Saver preference pane — you need to use the pmset tool from Terminal.

sudo pmset -b lidwake 0

sudo is required to run with root privileges
-b means the settings apply when on battery
lidwake 0 means don’t wake when laptop lid (or clamshell) is opened

Thanks to Tobias Peciva for setting me on the right track. 

Posted: Fri - November 11, 2005 at 09:40 PM