10

Make Your Mac Sleep Better With Deep Sleep

If you own any new Apple laptop, your machine is equipped with sudden motion sensor technology to detect locomotion. Hence, for instance, should you drop your laptop while it is busy writing or reading data , the sensor will instruct the built-in hard drive’s read & write heads to park themselves in a designated safe spot to alleviate data corruption, loss, or failure in mere milliseconds. This innovation occasionally comes with a price. If you carry your laptops around while it is dozing, there will be times when it wakes up on its own without your knowledge due to perhaps strong vibration or juggling. This constitutes a problem. One, it drains your battery and second, the accumulated heat generated while it’s cocooned inside your bag is not a good thing thermally.

This is where Matthieu Beaumel’s Deep Sleep widget comes to the rescue. This simple widget changes the default sleep mode temporarily on your laptop, from hardware suspend (suspend to ram), where your main memory is kept powered allowing the machine to wake up quickly to software suspend (suspend to disk), also referred to hibernation mode. Essentially on the latter, It dumps the state of your machine and the contents of primary memory into the hard drive and consequently turns your machine off. Hence, you do not have to worry about it waking up en route to your destination. When you wake your machine by pressing the power button, the saved data, called sleepimage, is reinstated to the main memory. It will take your machine approximately 10 seconds to perform a restoration, however, so it is not as fast but the benefit is there. One side note: if you are running Mac OS X 10.4.3 or later, Apple introduced another variation to its default sleep mode called safe sleep. In addition to powering your RAM to maintain its contents, and the state of your machine, this data is also saved into your hard drive at the first stage of sleep operation in case the battery on your machine runs out of e-juice.

Prior to discovering Deep Sleep widget, I have to go into the Terminal and use the pmset command to accomplish the same objective Deep Sleep does. However, it is lucidly a hassle. I have to amend the hibernate mode every time it wakes up. Of course, I could write my own simple script around pmset to curb the inconvenience but with Deep Sleep, one click is all it takes to get the job done. One current minor downside is that Deep Sleep does not return you to the desktop immediately after clicking on it prior to commencing its operation. Hence, when you wake your machine up, you need to press f12 one more time to get rid of the dashboard. Nevertheless, Deep Sleep is a free widget that I suspect many of you will find it useful. So the next time you are scurrying across campus with your laptop because you are late for class, you can rest assured it will still sleep safely and soundly.

Get a better sleep here. Make sure your machine is supported.

9 Comment(s)

Legend: Guest Article Author Contributor
  • 1

    Indraneel said on

    February 27th, 2007 at 2:57 pm

    excellent for carrying a laptop around

     Add karma Subtract karma  +0
  • 2

    alej744 said on

    February 27th, 2007 at 5:50 pm

    It seems kinda risky, but it would be useful if I had a laptop. (I like desktops better.)

     Add karma Subtract karma  -1
  • 3

    Yohannes Wijaya said on

    February 27th, 2007 at 6:09 pm

    @alej744, That was my first thought b4 trying the widget out. But there is no risk as long as your machine is supported. I have used DS for 2 months now on a daily basis without any problem.

     Add karma Subtract karma  +0
  • 4

    Yohannes Wijaya said on

    February 28th, 2007 at 6:52 am

    wow, the picture above got mixed up w/ another app. must be a bug somewhere.

     Add karma Subtract karma  +0
  • 5

    muaddib420 said on

    February 28th, 2007 at 4:52 pm

    gonna try this out. my macbook has been having trouble staying asleep in the bag recently. i’ve been having to shut it down, which, as you can guess, is a real pain the rear every time i move it. hopefully this will help!

     Add karma Subtract karma  +0
  • 6

    muaddib420 said on

    February 28th, 2007 at 6:04 pm

    ok, tried it out, works perfectly! mac didn’t wake up in my bag on my way home like it usually did. it took about 3 seconds to sleep and about 10 seconds to wake back up.

    great ap !

     Add karma Subtract karma  +0
  • 7

    Yohannes Wijaya said on

    March 1st, 2007 at 12:34 am

    @muaddib420, glad you find it useful. also refer to my article on smcfancontrol if your mb is running hot. It’s another app that i used as much as DS widget.

     Add karma Subtract karma  +0
  • 8

    Lara said on

    March 13th, 2008 at 9:28 am

    There’s an option on the widget (just press the little i that appears in the corner) which allows you to change the default sleep mode (i.e. what happens when you close the lid of the laptop) to ‘deep sleep’ or hibernate. v. useful and it avoids waking up to the dashboard xxx

    (subscribed to comments)  Add karma Subtract karma  +0
  • 9

    41b882913d29 said on

    May 9th, 2008 at 4:01 am

    41b882913d29…

    41b882913d2923a6e209…

     Add karma Subtract karma  +1
  • 10

    bakunin said on

    October 27th, 2008 at 12:12 pm

    wtb macbooks that “just work,” or just pay a lot less.

     Add karma Subtract karma  +0
  • 1 Link(s) Referencing this Post

    More at MacApper

    • Discuss 'Make Your Mac Sleep Better With Deep Sleep' in our new Mac Forums

    Post a Comment


    Post your comment below (spam filtered)