MacBook sleeping done right: SmartSleep
If you ever had a powerbook, you remember the almost instant sleep that happened when you closed your laptop. Somewhere in the late powerbook or macbook/pro timeframe, Apple changed the behavior from sleep (save contents in RAM only) to hibernate+sleep (save contents in RAM and dump to disk). There’s been undocumented PRAM settings that let you change the behavior so that you can select sleep, hibernate+sleep, or hibernate only. However, it was a setting that affected the system globally.
However, now Patrick Stein, the guy who wrote JollyFastVNC (should be a separate blog post), has released SmartSleep. From his website:
SmartSleep.prefPane
DESCRIPTION
SmartSleep.prefPane is a preference pane that dynamically sets the sleep state of your machine. It’s a successor to Hibernate.prefPane.
The Problem
Your macbook or macbook pro knows the following sleep states:
sleep: machine will go to sleep only (saves state in RAM only, battery keeps RAM contents)
sleep & hibernate: machine sleeps and hibernates. (default)
hibernate only machine will go to hibernate only. (saves state on disk, battery will not be used)
Just sleep means that the notebook will go to sleep fast, but you loose the ability to change the battery as the battery is needed to keep the contents of the memory (RAM).
Just sleep and hibernate will wake the computer fast, but sleeping will take ages as the contents of the memory are saved to disk before entering the sleep.
The solution
SmartSleep let’s you select each select sleep state. Additionaly the new SmartSleep state lets your notebook just sleep while the battery has a high level. If the battery level drops below a certain point ( default is less then 20% or 20 minutes ) it will switch to sleep and hibernate. So you have the best of both worlds.