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

Macbook Pro won't sleep when plugged in

Ever since I installed Lion, my 2011 MacBook Pro won't sleep when it's plugged in. I choose 'sleep' from the Apple menu and the display and keyboard go dark, but the status light stays lit (it doesn't "breathe") and the Macbook stays warm. If it's not plugged in and I choose 'sleep' then it sleeps right away (breathing status light). This only started happening when I installed Lion. although I didn't notice this right away so it could've started a few days later and be coincidental. I've tried the obvious stuff (I think) like rebooting, turning off all sharing and bluetooth, holding the power-button down for 5-seconds when off, etc.


When I look in the Power Management Logs I see lots of ''Domain: wake" entries but no "Domain: sleep" entries for the past 3 or 4 days, except for when it's on battery power.


Any ideas? Thanks!!!


Here's some system info:


Model Name: MacBook Pro

Model Identifier: MacBookPro8,2

Processor Name: Intel Core i7

Processor Speed: 2.2 GHz

System Software Overview:

System Version: Mac OS X 10.7 (11A511)

Kernel Version: Darwin 11.0.0

Boot Volume: Macintosh HD

Boot Mode: Normal

Secure Virtual Memory: Enabled

64-bit Kernel and Extensions: Yes

Time since boot: 3 minutes

Posted on Aug 3, 2011 6:16 AM

Reply
32 replies

Aug 3, 2011 6:57 AM in response to roadnottaken

Hello roadnottaken!



1.


Please switch off in Preferences > Energy Saver > Power Adapter the radio button: "Wake for network access". (But I am not sure, whether this is still like that on Lion).


2.


Open your terminal (Applications > Utilities), enter the following two commands and post here the result, so that we are able to help:


pmset -g


pmset -g custom


3. Open Application > Utilities > Console and paste here the last ten lines. Is probably a daemon trying to connect to the internet? Do you have something installed from novamedia, like launch2net?



Best greetings from Munich



marek

Aug 3, 2011 5:44 PM in response to Marek Stepanek

Hi marek,

Thanks for the reply.


1. This was already off.


2.


roadnottaken@GMS-MBP:~$ pmset -g

Active Profiles:

Battery Power -1

AC Power -1*

Currently in use:

standbydelay 4200

standby 0

womp 0

halfdim 1

panicrestart 157680000

gpuswitch 2

hibernatefile /var/vm/sleepimage

sms 1

networkoversleep 0

disksleep 10

sleep 0 (imposed by 55)

hibernatemode 3

ttyskeepawake 1

displaysleep 10

acwake 0

lidwake 1


roadnottaken@GMS-MBP:~$ pmset -g custom

Battery Power:

lidwake 1

panicrestart 157680000

standbydelay 4200

standby 0

ttyskeepawake 1

hibernatemode 3

gpuswitch 2

hibernatefile /var/vm/sleepimage

displaysleep 2

sleep 5

acwake 0

halfdim 1

sms 1

lessbright 1

disksleep 10

AC Power:

lidwake 1

panicrestart 157680000

standbydelay 4200

standby 0

ttyskeepawake 1

hibernatemode 3

gpuswitch 2

hibernatefile /var/vm/sleepimage

womp 0

displaysleep 10

networkoversleep 0

sleep 10

acwake 0

halfdim 1

sms 1

disksleep 10



3. 8/3/11 2:28:17.526 PM osascript: Initializer-based scripting additions are no longer supported. "/Library/ScriptingAdditions/Adobe Unit Types.osax" not loaded.

8/3/11 4:46:51.499 PM Google Chrome Helper: Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.

8/3/11 4:46:51.500 PM [0x0-0x7007].com.google.Chrome: 2011-08-03 16:46:51.498 Google Chrome Helper[1576:107] Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.

8/3/11 4:46:51.631 PM Google Chrome Helper: Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.

8/3/11 4:46:51.631 PM [0x0-0x7007].com.google.Chrome: 2011-08-03 16:46:51.629 Google Chrome Helper[1577:107] Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.

8/3/11 7:40:34.325 PM [0x0-0x7007].com.google.Chrome: [133:1287:42001832893439:ERROR:mac_util.mm(459)] Process launched at Login but can't access Login Item List.

8/3/11 7:40:34.398 PM Google Chrome Helper: Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.

8/3/11 7:40:34.398 PM [0x0-0x7007].com.google.Chrome: 2011-08-03 19:40:34.397 Google Chrome Helper[1615:107] Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.

8/3/11 7:40:34.515 PM Google Chrome Helper: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)

8/3/11 7:40:39.324 PM Google Chrome Helper: Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.

8/3/11 7:40:39.324 PM [0x0-0x7007].com.google.Chrome: 2011-08-03 19:40:39.323 Google Chrome Helper[1616:107] Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.

8/3/11 7:40:39.517 PM Google Chrome Helper: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)

8/3/11 7:40:43.332 PM Google Chrome Helper: Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.

8/3/11 7:40:43.333 PM [0x0-0x7007].com.google.Chrome: 2011-08-03 19:40:43.331 Google Chrome Helper[1618:c03] Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.

8/3/11 7:40:44.000 PM kernel: IOSurface: buffer allocation size is zero

8/3/11 7:40:50.000 PM kernel: IOSurface: buffer allocation size is zero

8/3/11 7:40:55.000 PM kernel: IOSurface: buffer allocation size is zero

8/3/11 7:41:00.000 PM kernel: IOSurface: buffer allocation size is zero

8/3/11 7:41:18.483 PM login: USER_PROCESS: 1629 ttys000

8/3/11 7:42:31.235 PM login: DEAD_PROCESS: 1629 ttys000


Anything jump out at you?? Thanks!


Gabe

Aug 3, 2011 6:03 PM in response to roadnottaken

Hi,


Since my last post I opened the Activity Monitor and started randomly killing processes and seeing if it affected my ability to sleep. I discovered that if I kill powerd my sleep behavior is fixed! Strangely, though, 'powerd' comes back right away (right after I kill it) but the sleep behavior still works fine from then on. So, it seems like powerd has to be reset or something? Does anyone know what this might indicate?


Thanks!

Sep 1, 2011 6:15 PM in response to roadnottaken

I have a 2.4Ghz Core i5 15" MBP and have the same issue. When the power adapter is connected it wont sleep, the display goes black but the HD keeps spinning and the power light is steady. I have sleep images disabled too. In that state, if I unplug the power adapter it goes right to sleep.


The problem happens wether closing the lid, or selecting Sleep from the Apple Menu.


Killing 'powerd' fixes the problem (even though the daemon restarts itself). I never noticed this until I installed Lion last week.

Sep 1, 2011 9:30 PM in response to roadnottaken

I have a MacBook Pro (2.66 GHz Intel Core 2 Duo, 4GB RAM, GeForce 9400M/256, Lion 10.7.1) and same issue. When the power cord is unplugged, I can put the computer to sleep as usual - either Apple>Sleep, or close the lid. When the power is connected, nothing puts the computer to sleep.


The display does black out when choosing Apple>Sleep, but the machine is still running -- the LED in front is still on, the computer still hums, and if there's a USB mouse, it still gets power.


I've rebooted, no change. I switched off Wake for network access, no change. Any ideas? It worked fine under Snow Leopard. I don't know if it's Lion or the 10.7.1 patch, can't remember when it started.

Feb 21, 2012 10:13 AM in response to roadnottaken

Ok I've been researching and dealing with this problem for a few weeks now. I've read all the forums and tried all the recommended fixes. I'll list all that I did in the order that I did them. The sleep problem is fixed for me now. There are a few things in here that I never saw suggested, especially the last one. But first of all I have an Intel 27" iMac i7. Purchased new in Sept 2011. Love the machine, best Mac I've ever owned. I have 5 of them. I loaded it from my 2006 Intel 24" iMac, using Migration Assistant while running snow leopard. Soon after that I loaded Lion, sometime after that I started noticing the lack of sleep issues. It started out that it wouldn't auto sleep, but I would just sleep the machine using the power button or the Apple menu. About 3 weeks ago even those would not sleep the machine. Below is my process for hunting down this little bug. Between each of these a reboot and sleep test was performed.


1. Make sure everything is up to date.

2. Loaded a piece of freeware called PleaseSleep, worked for a while but then stopped working when the hardware buttons wouldn't work.

3. Unplugged all peripherals, turned off wifi

4. Turned off all sharing preferences

5. Plugged on an old USB mouse and turned off Bluetooth, including settings that allow Bluetooth to wake computer

6. Reboot into Safe Mode

7. Called apple support and performed a hard reset of the whole system, Shutdown Machine>Unplug From back of machine>Hold power button for 10 seconds>Plug back in>Startup.

8. Created a Spare User account in order to test a black or default set of user preferences.

9. Downloaded the 10.7.3 Combo Updater and reinstalled the Lion updates.

10. Switched into the Guest user account. Tested sleep (Success!!!!!!!) Rebooted back to normal Tested Sleep (Success!!!!!!)


I'm not willing to say that just #10 was the one and only answer. At this point I haven't turned on wake form Bluetooth yet. It will auto sleep and sleep from menu or by pushing power button, but to wake I'm pushing the power button. I do have all my Bluetooth peripherals back connected.


Hope that helps someone.

Macbook Pro won't sleep when plugged in

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