-
All replies
-
Helpful answers
-
Dec 12, 2013 3:00 PM in response to jb510by BillHahn,Sleep / Wake Failure SOLUTION WORKAROUND that worked for me:
My System: Maverics OS X 10.9, Mid 2012 Retina MacBook 16GBmem, 768BGssd, 2.6Ghz
Symptom: At the end of the day I close the lid, then the next morning I open it up, then I see the Sleep / Wake failure error message... including the fact that my system was forcably rebooted.
SOLUTION WORKAROUND that worked for me:
What worked for me, assuming you feel comfortable using the system Terminal window to issue commands, was to do the following:
- Goto Applicaitons > Utilities > Terminal
- Type "sudo pmset -a hibernatemode 25"
- Enter your password when prompted
- Then Type "pmset -g" to confirm that "hibernatemode 25" appears correctly
Why this worked for me - Highlights of my research:
After digging into posts related to this one about sleep/wake issues, I discovered that using a Terminal command "sudo pmset -a hibernatemode [##]" enables you to configure what happens when your system transitions from simple "Sleep" mode into "Standby" hibernate mode. Standby happens, by default, after either ~1hr or ~3hrs depending on the vintage of your rMBP (e.g. On most newer 2013 rMBPs this happens after ~3hrs. On earlier rMBPs the default is ~1hr or 70min (i.e. 4200 seconds).
The default hibernatemode for rMBPs is "hibernatemode 3" which some people call "Smart Sleep" which writes RAM to SSD and leaves RAM powered for quicker waking.
Setting hibernatemode to 25 configures the MacBook to use the older style of Standby Hibernation (writing RAM to SSD and then powering down RAM) which seems to solve the Mavericks specific problem with "Sleep / Wake failures", at least it solved the problem for me.
I have not had a Sleep / Wake failure after closing the lid on my Retina MacBook overnight for several days now.
My educated guess is that this "Sleep / Wake Failure" bug with Mavericks happens at the time a MacBook transitions from Sleep to Standby/hibernate. Note: The pmset parameter called "standbydelay" is measured in seconds and was by default 4200 on my mid2012 rMBP. It is about 3hrs on newer Retina MacBooks. That would explain why this Sleep / Wake failure and reboot, as some people have described "... in the middle of the night..." happens after the lid on a MacBook has been closed for "a while".
I do not, btw, have any USB devices attached to my MacBook while the lid is closed. However, I would not be surprised if this workaround solves the problem for people on this thread/discussion that have been sharing those problem scenarios.
I am simply sharing what worked for me, where my Mavericks MacBook was experiencing a Sleep / Wake failure after the lid was closed for a while (e.g. overnight).
The standbydelay and hibernatemode, as well as other things related to power, sleep, standby, hibernation etc. are configurable using the "pmet" command, assuming you feel comfortable using the system Terminal window. You can read more about Sleep/Standby/Hibernate behavior for Retina MacBook Pros (rMBPs) here:
http://support.apple.com/kb/HT4392
You can read more about the "pmset..." command here:
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man1/pmset.1.html
I hope this helps the community.
-
Dec 12, 2013 3:55 PM in response to BillHahnby Graphain,Didn't fix my problem unfortunately.
Steps to reproduce:
- Hit power off button
- Press any key quickly after the screen goes black
-
Dec 12, 2013 4:25 PM in response to Graphainby BillHahn,Did you reboot/restart? after making the change using "sudo pmset -a hibernatemode 25"
Appreciate your reply.
-
Dec 12, 2013 5:12 PM in response to Graphainby BillHahn,Graphain, What vintage Retina MacBook Pro do you have? Mid/Late 2012, Early/Mid/Late 2013?
-
Dec 13, 2013 12:44 PM in response to KumoLumoby Krisbe,Late 2012 MBA. MBA was fine running Mavericks, until I did a complete system restore. After reinstalling the OS and all applications, now I'm getting this issue.
However, I think my issue is related to TimeMachine. When TimeMachine is running via Wi-Fi to my OSX X Server is when the issue appears.
Cheers!
Chris
-
-
Dec 15, 2013 6:48 AM in response to BillHahnby mohibhass,clean install (had just migrated from snow leopard last time), change to 25 hibernate mode, disabling power nap does it for me .
-
Dec 16, 2013 1:15 PM in response to BillHahnby xenadu,This is definitely an OS bug. I have the last pre-retina MBP 15" and I just upgraded to Mavericks last night.
While connected to power my computer is set to never sleep and I have no problems.
When disconnected (with absolutely nothing plugged in), if I close the lid and let it sit for some time then it will wake up from sleep and immediately reboot.
-
Dec 16, 2013 3:15 PM in response to KumoLumoby keithpgdrb,so have we established that turning off power nap will eliminate the problem? would be great to plug in the backup drive and not worry for till they figure this out. acceptable workaround to me. although I dont know what power nap really does. lol..
-
Dec 16, 2013 4:44 PM in response to keithpgdrbby pxforti,Not sure if just turning off power nap does it. Have not tried that yet. What I have done is to unmount usb drives and then disconnect the usb plug to the drives.
Since the new MBPs have combined computer sleep and monitor sleep into the same setting, I assume power nap means that when your computer is asleep, it can still do Time Machine backups, and get new email and messages while still being asleep.
For me, the auto restart happens approximately once a week so it's hard for me to tell if the problem is fixed. I don't close the lid on my laptop; instead, I put it to sleep with keyboard command.
-
Dec 17, 2013 1:55 AM in response to KumoLumoby Davidmd,I upgraded to 10.9.1 and the problem persists.
I am so tired of this
-
Dec 17, 2013 4:23 AM in response to Davidmdby hailalistair,Same here, this is DISGUSTING! How can Apple ignore this? Even Windows works better at this point!
-
Dec 17, 2013 8:09 AM in response to KumoLumoby shabba magicmouse,so i dropped my macbook pro off at the local Apple store, they called me today and said my Logic board is faulty, they will replace it free of charge. Soooo Happy:-)
-
Dec 17, 2013 8:49 AM in response to shabba magicmouseby Davidmd,Then is a hardware problem? I think is a software issue.
I have three late 2013 retina MacBook Pro 15 with the same problem ...
-
Dec 17, 2013 9:00 AM in response to Davidmdby shabba magicmouse,if it is still under warrranty i would suggest you take it in to your local apple store it could be either a hardware or software problem.