»In which we have fun with power management

I have (just only!) discovered the pmset command for the PowerBook / MacBook Pro (ugh. that name!).

sudo pmset -b lidwake 0

instructs the power manager to wake the machine only after a keypress, even if the lid opens.

pmset -b specifies the paramets for battery power management only, and pmset -c for AC only. pmset -a sets both, but may overwrite the battery settings in some cases.

I had to reboot recently because of permissions corruption somewhere in my profile: after the upgrade to 10.4.8, the computer no longer demanded a password when waking from sleep or screensaver mode (the preference remained selected, though). The uptime was 28 days, which I don't think I ever had with a PowerBook.

salim filed this under osx at 08h28 Wednesday, 11 October 2006 (link) (Yr two bits?)