6 ms·
Yes, Mac OS X does have hibernate. However, "Sleep" on MacBooks is a combination of what people commonly refer to as Sleep and Hibernation I believe that the
by leejoramo 11y ago
Yes, Mac OS X does have hibernate.
However, "Sleep" on MacBooks is a combination of what people commonly refer to as Sleep and Hibernation
I believe that the current method is to Sleep the system with both keeping the RAM powered AND write RAM to the drive. If there is enough battery, the system will wake fast by using the current RAM, if the battery dies, it recovers from the RAM image stored on drive.
This works well for most people using base configurations. For those of us using the limits of the hardware, it might not give the preferred results. There are various GUI and CLI tools such as SmartSleep to control Sleep and Hibernate based on your preferences and taking into consideration the current battery level.
https://www.jinx.de/SmartSleep.html https://www.jinx.de/SmartSleep.html
- ghshephard 11y agoThank you so much - this is the application that I've been looking for so long. It does everything that I've ever wanted, and, in particularly, with the insomnia plugin, lets me disable sleep (Mail.app craps out if you return from sleep, a bunch of my VPN stuff goes nuts) when you close your lid. This avoids the insanely awkward dance I have to do holding a laptop 2" open and hoping I neither drop it, or accidentally close the lid. And, as another bonus, I have a "Click to Hibernate" feature that I've been wanting for a long time. My return from hibernation is very fast, and, in theory, the battery loss should be fairly minimal while in a hibernate state.
- cpncrunch 11y agoThere's no need to pay for software to do this. It's just a matter of running a single command as root to change the hibernate mode: http://www.markc.me.uk/blog/files/OSXSafeSleep.html http://www.markc.me.uk/blog/files/OSXSafeSleep.html
- leejoramo 11y agoIf all you want to do is change the Sleep/Hibernate modes you are correct that the command line will do it for you. SmartSleep does add a significant trick, it allows you to automatically change the mode based on the current battery level.
- blacksmith_tb 11y agoIf you need to prevent your machine from sleeping for a while (like if you've got something running that you really don't want interrupted) there's always caffeinate -t $NUMBER_OF_SECONDS[1] 1: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/caffeinate.8.html https://developer.apple.com/library/mac/documentation/Darwin... I haven't experimented with using it to try and keep a machine running with the lid closed, however - that's traditionally considered risky for heat reasons.
- dzhiurgis 11y agoIf I need the machine to keep running but not sleeping, I just use ctrl+shift+power to lock the screen.
- api 11y agoYou can turn hibernate off with 'sudo pmset' on OSX. It's one of the first things I do on a new Mac since I find it pointless.