
Safe Sleep on wake up
Usually, I do not turn off any of my Macs, because the sleep mode works so well. With a Mac Book it is just easy to close the lid.
But I ever wondered what would happen if the battery goes too low while beeing in sleep mode.
Since Tiger, there is a mode called “Safe sleep”. This is the pendant to the Windows hibernate mode. The content of the RAM is written to the harddisk, then the device is powered off.
To have this mode could be intersting if you travel a long time without using your Mac Book.
With help of the Terminal it is no big deal. You can enable the Safe sleep by entering
sudo pmset -a hibernatemode 1
Then, if you close the lid or use the Apple menu bar it will safe sleep.
If you need secure and encrypted memory content stored, then take the 5 instead of number 1.
To reverse it to the normal sleep, where the RAM is still is active set the number to 0.
Have nice dreams!
I am just having the standard edition.
Model Name: iMac
Model Identifier: iMac7,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.8 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 4 MB
Memory: 2 GB
Bus Speed: 800 MHz
Boot ROM Version: IM71.007A.B03
SMC Version: 1.21f4
And how much RAM is installed in that machine?
This depends on the amount of RAM and the speed of your harddrive. On my 24″ iMac it takes about 20-30 seconds (felt, not measured).
Nice tutorial, will give that a try soon. How long does it take OS X to restart from hibernation?