The personal blog of Dan Warne, Australian tech journalist

The Warne Account random header image

How to turn off slow sleep / hibernate mode on a MacBook Pro

March 13th, 2008 · Comments

Putting a Mac notebook to sleep is taking progressively longer and longer as time goes by. The reason? We're all ordering notebooks with 2 to 4GB of RAM now, and by default, OS X writes the entire contents of memory to disk before going to sleep.

Since Apple is pretty good about force-sleeping the computer before the battery runs out entirely, it's actually very rare to run out of battery altogether. I think in the entire time I've been using Macs, the safe sleep function has only been necessary once — and that was when I changed an old worn out battery over to a new one.

Fortunately, you can disable safe sleep mode, by entering the following into the terminal:

sudo pmset -a hibernatemode 0

If you want safe sleep mode back, just change the '0' to a '3'.

Voila — your Mac will be back to the good old days of instant sleep.

There's also a preference pane that can do this called Smartsleep, which lets you select a nice middle-ground: only use safe sleep mode if the battery is running low at the time you sleep the notebook. For me, who is usually plugged into the power point, that's ideal!

Tags: Apple

  • dan
    I wood like to no the best way to turn off my mac book(when to power off and when to sleep) also dose it damage the mac to always power on/off.
  • I can't edit Mark's comments, but here's the correct URL...

    If you don't want to install smartsleep (or Deep Sleep which is pretty good: http://deepsleep.free.fr/), then how about a purely physical approach:

    http://www.markwheadon.com/blog/2009/01/hibernate...
  • Mark Wheadon
    If you don't want to install smartsleep (or Deep Sleep which is pretty good: http://deepsleep.free.fr/), then how about a purely physical approach:

    <a href="http://www.markwheadon.com/blog/2009/01/hibernate-macboo...target="_blank">http://<a href="http://www.markwheadon.com/blog/2...">" target="_blank">www.markwheadon.com/blog/2009/01/hibernate-macboo...
    Cheers,

    Mark
  • Mark Wheadon
    What happened to that URL? I'll try it again (and then give up :-):

    <a href="http://www.markwheadon.com/blog/2009/01/hibernate-macboo...target="_blank">http://<a href="http://www.markwheadon.com/blog/2...">" target="_blank">www.markwheadon.com/blog/2009/01/hibernate-macboo...
    Mark
  • jinx.deDan,

    I highly recommend SmartSleep by Patrick Stein. http://www.jinx.de/SmartSleep.html

    "SmartSleep.prefPane is a preference pane that dynamically sets the sleep state of your machine."

    Enables you to set your Macbook to sleep if there is lots of battery and only hibernate if the battery level drops below specified setting.

    Marcus
blog comments powered by Disqus