You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

MacBook Pro is going into sleep mode randomly

Hi there


I hope someone knows a fix to this problem. About two weeks ago my MacBook Pro started randomly going to sleep - even as I'm typing. It happens almost hourly.


I tried setting the energy saver to never on screensaver and discs, but it has not stopped the problem.


It started happening around the time I downloaded version 10.7.2, and updated iTunes to 10.5


I've had the MacBook for about a year and haven't noticed anything like this before.


If anyone else has experienced it or knows a fix, that would be much appreciated.


Cheers

John

MacBook Pro, Mac OS X (10.7.2), Core i7 processor, 4GB ram

Posted on Oct 23, 2011 7:15 PM

Reply
34 replies

May 20, 2013 10:31 AM in response to chazbot7

OMG.

I started having this problem a few weeks ago. I ALSO have been carrying my old macbook and switching between that and my new macbook.


I red the KB from volnoboy which states:

---

  • Stacking computers. This can result in the top computer going to sleep before it's completely started up. For best results, do not stack computers.
  • Placing an iPhone or another magnetic device on top of a computer's palm rest. For best results, do not place devices with magnets on your computer.
  • Placing an iPad on the computer's palm rest since certain iPad cases also contain magnets.

--

After beating my head against the wall for weeks and losing a lot of data, I lifted the macbook off the old one and the screen lit up immediately.


AMAZING!!

Oct 23, 2011 11:02 PM in response to Capt Walt

Thanks, I'll try that next. In the meantime (see poster Capt Walt above), I'm going to try the SMC reset as the symptoms given closely match some of the things I've noticed recently. I guess I'll know if it has fixed the problen later tomorrow. If not, I'll reinstall as you suggested. Thanks for the suggestion.


Cheers

john

Oct 31, 2011 8:26 PM in response to greyskiesblack

No, but after resetting the SMC as advised by tjk, it didn't happen for a day. Then it came back a few times the next day. Then I took my laptop home for the weekend and connected to my home network, and noticed some settings were different, like the auto back switch on the time machine dashboard had been switched off - not by me. Now no noticeable incidence of it this week so far.


Weird, very weird. I'm pretty sure if I still had Apple Care remaining a Mac Guru would say switch that and refresh that, and it would be gone.


But fingers crossed, it doesn't come back now.


Cheers

John

Jan 27, 2012 5:11 AM in response to Kiwi JP

I've the same very frustrating problem. I'm using Lion OS and my MacBook Pro randomly goes to sleep. When I restart it, it gets to the log in screen fine but then the screen goes blank. The hard drive seems to have gone to sleep b.c. my computer can't charge my iPod when it's in this state. If I move the computer from my table and onto my lap, it sometimes comes back to life. (BTW I'm definitely not a technical type.)


My MacBook Pro is still under warranty as I bought it on Jan. 11, 2010, and have subsequently extended its warranty. I took it into the Beijing Sanlitun Apple Store early Dec. and they replaced the logic board & hard drive but on receiving it back at the store early Jan. the computer was still having the same problems and I showed it to the staff. They took it back, acknowledging that it still had issues, and tried to repair it again. They replaced the SDRAM, logic board, hard drive, bracket front hard drive with IR / Sleep / HD Cable. Just a week after getting it back for the second time the same problem is happening again! It's driving me insane. Any suggestions? I've lost faith with the Beijing Sanlitun Apple Store.

Jan 27, 2012 5:31 AM in response to Jack Georgesen

In Terminal run:

pmset -g pslog


Then next time it happens if you could go into system profiler (A shortcut: Hold Option & click the  - top left)

Then under the Software tab - Logs - You will find the log of when the system goes to sleep. That should give us more of an idea of what is going on hopefully.


Also if you could run in terminal:

pmset -g


And post results.


Thank you.



 17" Macbook Pro (Mid-2009) 3.06GHz 8GB RAM 500GB HDD 10.6.8
 13" Macbook Pro (Mid-2009) 2.26GHz 4GB RAM 160GB HDD 10.6.8
 13" Macbook Pro (Mid-2009) 2.26GHz 4GB RAM 160GB HDD 10.6.8 Server
 13" Macbook Pro (Mid-2010) 2.4GHz 4GB RAM 250GB HDD Broken :(

Jan 27, 2012 6:46 PM in response to AussieDJ

Hi AussieDJ


What am I on the look out for? Do you think it's a battery problem? The problem hasn't happen again yet, but what should I expect to find when I go into system information (hold option & click the  - top left) and search under the software tab?


Also when I go into the terminal and run either "pmset -g pslog" or "pmset -g" I get this kind of info:


Last login: Fri Jan 27 23:59:29 on ttys000

localhost:~ Base$ pmset -g

Active Profiles:

Battery Power 1*

AC Power -1

Currently in use:

halfdim 1

sms 1

panicrestart 157680000

hibernatefile /var/vm/sleepimage

disksleep 10

sleep 10

hibernatemode 3

ttyskeepawake 1

displaysleep 2

acwake 0

lidwake 1

localhost:~ Base$


localhost:~ Base$ pmset -g pslog

Logging IORegisterForSystemPower sleep/wake messages

pmset is in logging mode now. Hit ctrl-c to exit.

1/28/12 10:43:51 AM GMT

Currently drawing from 'Battery Power'

-InternalBattery-0 51%; discharging; 2:39 remaining


Is this what you expected?


Cheer, JG

Jan 27, 2012 7:32 PM in response to Jack Georgesen

To further my last post, I've just talked with a senior techie from Apple support and he thought it was a hard drive issue, esp. b.c. moving the computer can jolt it awake. He said that I shld take the computer back to the Apple Store and if they can't fix it this time that Apple shld replace my machine. This is turning out to me a massive ordeal.

Jan 31, 2012 10:17 AM in response to Jack Georgesen

I've sort of felt that it could be the harddrive. This has been happening to me since I got the laptop. When I go to move the laptop, it will just go to sleep. It will do it continuously and then randomly when I go to move it. I have apple care and I'm thinking of calling them b/c I can't deal with it anymore. Also, when I pull out the headphones sometimes there will be no sound, and there will be a red light coming out of the headphone port. I have to put the headphones back in and then out a few times b4 the sound starts working through the speakers.

Jan 31, 2012 6:31 PM in response to Lessandro

Lessandro


The Apple Store in Beijing just replaced my MacBook Pro after two attemps at fixing it. Apparently I could have demanded a new one after they failed to fix it the first time. It mustn't have been a hard drive problem though b.c. they replaced that, twice in fact! Definitely call the guys at Apple Care. The problem my computer had seems similar to the one you've been experiencing. For me, it was hugely frustrating not being able to have confidence in my computer as I felt at any stage it could have had a catastrophic crash.


Cheers


JG

Nov 14, 2012 9:56 PM in response to Kiwi JP

hello,


open Terminal (located in /Applications/Utilities), and type in the following command, followed by the enter key:


sudo rm /private/var/vm/sleepimage


(for this you also need to enable root user in user preferences)


after you press enter, you will be asked to type your administrator password. Type it and press enter.


this would dump the file and once computer is restarted it would create a new one automatically



it worked for me! macbook pro has stopped going to random sleep ever since

Dec 8, 2012 2:02 PM in response to Kiwi JP

This has also started happening to me. I got my MacBook Pro in July and it started randomly shutting off by September. Really frusterating when I am trying to type and then have to log in again! I've figured out that there is some sort of trigger for mine: the lower lefthand corner of the laptop (where I normally rest my left arm for typing.) I just figured this out last night when I set something down in just the right way on that spot it went to sleep. It did this every time I tried it (about 7 or 8 times). I plan to take it in in a couple weeks.

Feb 5, 2013 12:33 PM in response to Psiclne

I have a Macbook Pro 2009 17" and this has been happening like crazy to me. I've tried resetting the SMC and that usually helps for a bit but once it gets going the screen can go black every 20 - 30 seconds and I can't even send an email without being interrupted.


It's definitely not the harddrive as I just installed a brand new 250 gig SSD and did a clean install. It has to be a hardware or OS issue. This wasn't happening when I used Snow Leopard so I'm tempted to simply go back to that operating system to see if the problem persists...


Very annoying. Going to make a genius bar appointment asap.

Jun 26, 2013 11:23 AM in response to Sentrosix

Just an update. I brought my laptop in and there was in fact an issue with one of the cables running to the logic board it had been sheared partially or something of that nature. The only fix was to replace the entire Logic board itself, a $1500 fix. All is working flawlessly now not that this is necessarily good news for others suffering the same issue.

MacBook Pro is going into sleep mode randomly

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