Apparently Mac OS X has three hibernation modes (as outlined below from an official Apple document): a. Always save the RAM content to HD and hibernate (this is the default), b. Dont save RAM content to HD (I think this is the "regular sleep" and risks losing data if power is interrupted), and c. Save RAM content to HD and hibernate when the battery power is at a critical level.
I am planning to change the default scenario (point (a) above) to the (c) to avoid writing RAM content to HD every time the lid is closed. Has anyone changed the hibernation modes before? If so, has there been any problems with battery life, data loss, etc etc?
Thanks in advance!
I am planning to change the default scenario (point (a) above) to the (c) to avoid writing RAM content to HD every time the lid is closed. Has anyone changed the hibernation modes before? If so, has there been any problems with battery life, data loss, etc etc?
Thanks in advance!
SAFE SLEEP ARGUMENTS
hibernatemode takes a bitfield argument defining SafeSleep behavior. Passing disables SafeSleep alto-gether, altogether,
gether, forcing the computer into a regular sleep.
0001 (bit ) enables hibernation; causes OS X to write memory state to hibernation image at sleep time.
On wake (without bit 1 set) OS X will resume from the hibernation image. Bit set (without bit 1 set)
causes OS X to write memory state and immediately hibernate at sleep time.
0010 (bit 1), in conjunction with bit 0, causes OS X to maintain system state in memory and leave sys-tem system
tem power on until battery level drops below a near empty threshold (This enables quicker wakeup from
memory while battery power is available). Upon nearly emptying the battery, OS X shuts off all system
power and hibernates; on wake the system will resume from hibernation image, not from memory.
hibernatemode is set to 3 (binary 0011) by default on supported portables.
hibernatemode is set to (binary 0000) by default on supported desktops.
Please note that hibernatefile may only point to a file located on the root volume.