Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Hardware - Troubleshooting and Discussion > Mac Notebooks > Macbook sleep time lag

Macbook sleep time lag
Thread Tools
Grizzled Veteran
Join Date: Feb 2003
Status: Offline
Reply With Quote
Feb 20, 2008, 03:08 AM
 
So, how long it takes from the moment you click the sleep button to the moment the Macbook actually goes to sleep state? In my case it is abnormally long, about 45 sec. And no, there is no apparent process delaying the coomputer to sleep.

So, how is yours? Is there anything I can do?
     
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status: Offline
Reply With Quote
Feb 20, 2008, 03:47 AM
 
Is that the time between when you select the "sleep" command and it actually shuts off, or the time until the screen goes black?

If the former, that's completely normal and expected, since the "safe sleep" function writes the entire contents of your RAM to the disk so that you lose no data in case your battery dies while in sleep mode.

The more RAM you have, and the more stuff is going on, and the fuller your disk is, the longer this write process takes, obviously.
     
Grizzled Veteran
Join Date: Feb 2003
Status: Offline
Reply With Quote
Feb 20, 2008, 03:57 AM
 
Originally Posted by analogika View Post
Is that the time between when you select the "sleep" command and it actually shuts off, or the time until the screen goes black?

If the former, that's completely normal and expected, since the "safe sleep" function writes the entire contents of your RAM to the disk so that you lose no data in case your battery dies while in sleep mode.

The more RAM you have, and the more stuff is going on, and the fuller your disk is, the longer this write process takes, obviously.
Hmm, that may be then. The screen goes black almost instantaneously and the white light switches on (not pulsing), but it takes that long for the computer to go completely to sleep (hard drive stopping spinning and the white light starting pulsing). And yes, its has loads of RAM (maximized actually).
     
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Feb 20, 2008, 08:16 AM
 
Yeah, that's SafeSleep at work. You can turn it off if you want
[codex]sudo pmset -a hibernatemode 0[/codex]

To reclaim disk space do a
[codex]sudo rm /private/var/vm/sleepimage[/codex]

You can turn SafeSleep back on with
[codex]sudo pmset -a hibernatemode 3[/codex]
     
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status: Offline
Reply With Quote
Feb 20, 2008, 01:10 PM
 
Note that if you turn OFF SafeSleep, you will not be able to switch batteries while the 'Book is sleeping, nor will your open state (and all its unsaved work) be saved if the battery runs dry while the machine is sleeping.
     
Junior Member
Join Date: Nov 2007
Status: Offline
Reply With Quote
Feb 20, 2008, 03:15 PM
 
Originally Posted by analogika View Post
Note that if you turn OFF SafeSleep, you will not be able to switch batteries while the 'Book is sleeping, nor will your open state (and all its unsaved work) be saved if the battery runs dry while the machine is sleeping.

Well cant see that happening in real world usage though. I've never managed to run the battery down so much so as to make the laptop wake up from the HDD.

If you need to change batteries, usually you will shut the computer down. Unless you travel a lot and swap them while working.
     
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status: Offline
Reply With Quote
Feb 20, 2008, 04:13 PM
 
Happens to me all the time.

All it takes is using the machine until it's forced into sleep mode and then not hooking it up to external power for five or so hours.
     
Moderator
Join Date: Oct 2001
Location: San Jose, CA
Status: Offline
Reply With Quote
Feb 20, 2008, 04:14 PM
 
Originally Posted by jogi View Post
If you need to change batteries, usually you will shut the computer down. Unless you travel a lot and swap them while working.
If you know you don't have to completely shut down to change batteries because of safe sleep, why in the world would you, even if you are not traveling? That doesn't really make sense to take the time to shut down and restart when you don't have to.

Steve
Celebrating 10 years and 4000 posts on MacNN!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:42 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2