 |
 |
Macbook sleep time lag
|
 |
|
 |
|
Grizzled Veteran
Join Date: Feb 2003
Status:
Offline
|
|
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
|
|
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
|
|
Originally Posted by analogika
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
|
|
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
|
|
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
|
|
Originally Posted by analogika
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
|
|
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
|
|
Originally Posted by jogi
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!
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|