Use this script to get faster hibernate wakeup time
pmset -a hibernatemode 29
system will dump many of inactive apps to swap before dumping memory to sleepimage file, so wakeup goes much faster.
Never used hibernate before on my MacBooks, was interesting.
Just to be sure, reverting back to default is: pmset -a hibernate mode 3 ?
Just do a pmset -g to get your current power management settings.
This also enables hibernate on my MacPro 1,1.
Tools like SmartSleep didn’t work!
I know, figured that out after doing the 29 line…
Mode 3 seems to work for me again 🙂
doesn’t work with chameleon, it says encrypted sleepimage 🙂
///actualy works here, with chameleon.
everytime after hibernate, its succesfull to desktop, but its only give me white screen, with normal sleep it works, but with deepsleep or hibernate, its aleays white screen, but i think its on desktop, bcause i pressed logout shortcut in keyboard, its loading, but still in white screen,
asus eah 6870
can u help me?
Press cmd + alt + f12 when you stuck in white screen after wake from deepsleep. After 2. wake maybe the screen is regular …
Setting bit 2 was for encrypted virtual memory in former versions of OS X.
Apple recommends setting bits 0, 1, 3 and 4.
0 enables hibernation
1 in conjunction with bit 0, causes OS X to maintain system state in memory and leave system power on until battery level drops below a near empty threshold = hybrid mode of sleep and hibernation
2 is set in older versions of OS X if secure VM is used
3 encourages the dynamic pager to page out inactive pages prior to hibernation
4 encourages the dynamic pager to page out more aggressively prior to hibernation
None of the standard modes apple uses set bit 2 in Lion:
From the manage of pmset:
hibernatemode = 0 (binary 0000) by default on supported desktops.
hibernatemode = 3 (binary 0011) by default on supported portables.
hibernatemode = 25 (binary 0001 1001) is only settable via pmset. The system will store a copy of memory to persistent storage (the disk), and will remove power to memory. The system will restore from disk image. If you want “hibernation” – slower sleeps, slower wakes, and better battery life, you should use this setting.
If you want both of the page out options for a smaller memory footprint, the hybrid of hibernation and sleep and hibernation itself I recommend using “sudo pmset -a hibernatemode 27” instead of 29.
This will set bits 0001 1011.
This is all very nice nice but my hackintosh won’t have none of it. Whatever I shove in its thoat it won’t do any deep sleep saving memo to disk and switching off. A real bugger! dsdt issue?
will not be shown )