Guest
[Entry]
"OS X only has only one ""sleep"" option. You cannot change its name, but to change its behaviour, I use an old version of SmartSleep on a Mac mini (though in the MacBook-like ""sleep & hibernate"" mode). It works for a mini, though the website only refers to MacBooks.
(SmartSleep was still free when I wrote this in 2009.)
I occasionally get complains about hardware not having been removed properly (but OS X never tells me what hardware, and my Time Machine USB disks seem fine — I should peek into the logs one day, and I assume this is related to OS X, not to SmartSleep).
I've quickly tested SmartSleep's ""hibernate only"" on that mini (Intel; running 10.5), and it seems to work as well. Doing these tests, I noticed that after the display goes black the power light starts pulsing (like to indicate sleep rather than hibernate) for a few seconds. Maybe it's still writing RAM to disk then. (Until now, I always thought that on my MacBook the pulsing indicated that all was done. But now I think that, whichever sleep mode one is using, one should probably not unplug the power too soon). After a short while, it powers down completely.
In 2006, Macworld explains how to achieve the same without that SmartSleep preference pane. To check the current setup:
pmset -g | grep hibernatemode
According to Macworld's old article the following applies, but be sure to read Lauri's answer that suggests that nowadays only 0, 3 and 25 should be used instead:
0 — Old style sleep mode, with RAM powered on while sleeping, safe sleep disabled, and super-fast wake. 1 — Hibernation mode, with RAM contents written to disk, system totally shut down while “sleeping,” and slower wake up, due to reading the contents of RAM off the hard drive. 3 — The default mode on machines introduced since about fall 2005. RAM is powered on while sleeping, but RAM contents are also written to disk before sleeping. In the event of total power loss, the system enters hibernation mode automatically. 5 — This is the same as mode 1, but it’s for those using secure virtual memory (in System Preferences » Security). 7 — This is the same as mode 3, but it’s for those using secure virtual memory.
And the same numbers can be used to change the sleep mode setting:
sudo pmset -a hibernatemode 1"
|