Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

MacBook Pro not waking form sleep (sometimes)

My Macbook Pro is not waking from sleep (sometimes). To be very specific; the only time this happens is when it goes to sleep automatically, with the lid open, while plugged into the magsafe power cord. When I hit the space bar to wake it, the keyboard lights come on but the screen remains black. I do not have any problems with waking from sleep if I close the lid to force sleep (while plugged in). I also do not have any problems at all, if the computer goes to sleep while running on battery power. (I have had this MBP for about 18 months, the first year I had no issues at all. The problem started shortly after Lion was installed. (I also have a iMac with all the same software, almost identical set up, purchased at the same time as my MBP but have never had any sleep problems with the iMac, none even since Lion install.)


We do not have an Apple Store near us, but I have had the MBP in for service 3 seperate time to our local authorized Apple service/dealer. It is tricky to diagnose, because the problem does not happen every time. On average it won't wake from sleep 1 out of 3 times. Each time the service techs were able to re-create the problem but could not come up with a cause or solution, their only advice was to re-install Lion.


I have tried 2 different re-installs of Lion. (Both times erasing the hard drive first) The first time I did a clean re-install of Lion, then restored all of my data from Time Capsule. That did not work, the problem presisted. So I tried a second clean re-install of Lion and this time I did not restore from Time Capusle, I only re-installed critical docs from a flash drive and re-installed all other software (such as MS Office, Photoshop, etc.) from their original discs. I though this had fixed the problem but within a few days the problem re-occoured.


Any ideas would be appriciated, I have tried almost everything, I have days and days worth of time invested in trying to fix this issue. Thank you!

MacBook Pro, Mac OS X (10.7.1)

Posted on Nov 17, 2011 3:39 PM

Reply
Question marked as Best reply

Posted on Nov 17, 2011 3:50 PM

I had this problem with my MacBook Pro for a long time, and fixed it by changing the sleep mode. Here's how:


Open Terminal

Type the following:

pmset -g | grep hibernatemode

It should say something like:

hibernatemode 3


Here's an explanation of the different types of hibernate modes:

  • 0 - Old style sleep mode, with RAM powered on while sleeping, safe sleep disabled, and super-fast wake.
  • 1 - Hibernation mode, with RAM contents written to disk, system totally shut down while “sleeping,” and slower wake up, due to reading the contents of RAM off the hard drive.
  • 3 - The default mode on machines introduced since about fall 2005. RAM is powered on while sleeping, but RAM contents are also written to disk before sleeping. In the event of total power loss, the system enters hibernation mode automatically.
  • 5 - This is the same as mode 1, but it’s for those using secure virtual memory (in System Preferences -> Security).
  • 7 - This is the same as mode 3, but it’s for those using secure virtual memory.


To change your sleep mode, use the following command:

sudo pmset -a hibernatemode 0

(replace 0 with whatever hibernate mode you desire)


For my MacBook Pro, I changed it to 0, and it works great. It's super fast to wake and sleep, which is a plus. The only downside of hibernatemode 0 is that if your battery runs out your computer doesn't hibernate - it shuts off. This doesn't matter, though, because with Lion everything is autosaved, so really hibernate 0 is all plusses. 🙂

23 replies

Dec 8, 2011 1:38 PM in response to MartinMBP

Hummm, It sounds like we all have similar problems but the causes may be different? My software is all up to date but I am still having the same problem. Sometimes I think I have the problem fixed and it shows up agian a few days later. That has been my issue with trouble shooting this. My MBP may sleep fine several times in a row but then for no known reason, the display will decided not to wake (the keyboard is on and the computer is on but the screen does not wake) I have to hold the power button down to restart. I cannot link and specific app or program to this problem.

Jan 5, 2012 9:27 PM in response to vrock

Hey vrock, can you tell me which firmare update it was? I have a mid 2010 15" Macbook Pro on 10.6.8 and it was having this random sleep problem. My energy saver prefs were 15 mins for computer and display...I don't know if that had anything to do with the problem. I did the same thing Builder1 did which was put it to "never sleep" and it never shut down...but I'm hoping something will fix the problem totally if it's just an easy fix. I hope you find a solution, Builder1.

Jan 7, 2012 6:52 AM in response to greyskiesblack

I have actually done clean installs twice trying to fix the problem. The first time i did it, I restored everything from my time capsule, the problem was back right away. The second time i reinstalled I did not restore from a back up drive, I manually added all of my important software one by one and left off anything I could live without. At first it seemed to fix the sleep problem but within a day or so the problem was back. (not sure if the problem was triggered by software updates or if the delay was just a fluke) This problem never occurred with Snow Leopard so to me it is obviously a Lion issue. So far I have still found no solution. My warranty is through April. I guess I will have to take this back into apple a 4th time and demand they fix it before my warranty is gone. Good luck to you! If your clean install works please let me know what you may have done differently. Thanks!

MacBook Pro not waking form sleep (sometimes)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.