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.

OS X Lion 10.7 Sleep Issue

Installed Lion this morning and the only issue that I have found thus far is sleep.


I use an external display as well as the laptop display. When I close my MacBook lid and wait several minutes, I do not get the sleep mode winking LED and my second display does not go into standby, probably because the Mac has not entered sleep mode.


When I raise the lid, my laptop display appears to have been in standby and the Mac looks to be doing a device discovery. After the discovery, the Mac display is normal but all the apps from my second display are now on the Mac display.


Anybody have a clue as to the cause or is Lion just broke?


Cheers

MacBook Pro, Mac OS X (10.7)

Posted on Jul 20, 2011 1:44 PM

Reply
251 replies

Dec 16, 2011 6:31 AM in response to ApexRon

OK, don't know if this has been mentioned before, but it may bear repeating.

See http://support.apple.com/kb/ht1776


Also, with the long history of sleep issues under OSX, there should be a few low level diagnostic commands to help narrow in on the possible problems. One thought I had was to do /usr/sbin/ioreg -s |grep "busy [^0]" in a terminal window, but since I resolved my own macbook's issue I can't seem to reproduce the problem.

Dec 17, 2011 2:51 AM in response to Daniel Arnold

I'm working with 10.7.2


Same problem: no sleep when I'm using the ON/OFF button of my iMac.


When I'm working, also Parallels and Windows 7 is activ.


The solution:


APPLE > System > Sharing


I turned off all positions (exception DVD/CD)


=> Pressing ON/OFF-button, immediately my iMac sleeps (waking also by repressing ON/OFF)


(no problem also for my Windows when I go back to it)

udo

Dec 18, 2011 7:02 AM in response to jcarpio

This method worked for me. I looked through everything before this like my sharing, energy saving and display settings in particular. After using this method it came up with "sleep 0 (imposed by 50)", checked my printer queue, and bingo! my computer sleeps now!

Dec 22, 2011 4:55 AM in response to ApexRon

I just want to join the group of those who solved their sleep problems by cleaning up printer queues.


I had an endless variety of problems with sleep not working properly, sometimes going to black screen after lid was opened (thus forcing a shut down and restart).


In my case, I was ready to do all sorts of fixes, removing software I thought was troubling me and so on. Finally, I checked my print queue and discovered I had two old print jobs that had been sitting there for exactly the same time this problem began.


Deleted the print jobs, problem solved. Sleep is normal again.

Dec 22, 2011 3:06 PM in response to ApexRon

I"m having simimlar no sleep issues with my MBA and I get a code 49 that's preventing sleep when I run pmset -g and when I run the other command to figure out what this is I get this:


0 49 1 0 5:02PM ?? 1:28.35 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Support/mds


Anyone have ideas what this is? My diffing shows it might be spotligh, but I'm not indexing. Grrr...

Jan 9, 2012 12:05 PM in response to W M R

W M R wrote:


I have noticed that my MacBook Pro doesn't go to sleep automatically as long as Mail is running. Otherwise it goes to sleep without any problems (With Snow Leopard it even went to sleep with Mail running).

Perhaps you have “Check for new messages”, in Mail's prefs set to something else than “never” and, since Mail checks for new messages, the system doesn't idle long enough to go to sleep.

In other words, perhaps Lion assumes Mail checking for new messages counts as a not-idle process.

Jan 9, 2012 12:08 PM in response to Steve_UK2

Steve_UK2 wrote:


Since upgrading my 2010 iMac to Os X Lion, I have had an issue with the system failing to respond properly to the manual sleep command. Using Snow Leopard before the upgrade it took about 1 second to sleep after clicking the sleep item in the apple menu, after installing Lion it suddenly took 30 seconds to respond.

Here, I'm amazed as to how fast my computer goes to sleep since I've installed Lion! I've the feeling it sleeps before I choose the command!😝

Jan 9, 2012 12:11 PM in response to Daniel - CH

Daniel - CH wrote:


Thanks very much


this did it. Was Printer Sharing. Strange thing, that Lion was working for a month, and suddenly sleep was no more working. Haven't touched Printer Sharing since years.

I very doubt it's the single cause. I have Printer Sharing on all the time and never had a sleep problem in Lion (unless with Internet Sharing, but it's usually deactivated). I'm guessing there's another component that needs to run along with Printer Sharing to reproduce the issue,

Jan 9, 2012 12:15 PM in response to rel12561

rel12561 wrote:


I"m having simimlar no sleep issues with my MBA and I get a code 49 that's preventing sleep when I run pmset -g and when I run the other command to figure out what this is I get this:


0 49 1 0 5:02PM ?? 1:28.35 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Support/mds


Anyone have ideas what this is? My diffing shows it might be spotligh, but I'm not indexing. Grrr...

Well, mds (and the entire path) is Spotlight, that's sure. I also think you're not indexing, but your computer, yes, it's indexing!

In other words, indexing takes place in the background, so you can't “predict” when Spotlight indexes. You can, however, know it indexes by watching for processes in the Activity Monitor or by hearing the hard disk at times it wouldn't make noise (e.g. when you do nothing on your computer and no applications are actively running).

Jan 13, 2012 4:17 PM in response to Craig Duck

I too have tried everything listed in the previous pages. I have excluded a print queue issue, and the sharing bug. After some digging in Terminal I am left with this:


localhost:~ conflicttheory$ pmset -g assertions

12-01-13 19:01:59 EST

Assertion status system-wide:

ChargeInhibit 0

PreventUserIdleDisplaySleep 0

PreventUserIdleSystemSleep 1

NoRealPowerSources_debug 0

CPUBoundAssertion 0

EnableIdleSleep 1

PreventSystemSleep 0

DisableInflow 0

DisableLowPowerBatteryWarnings 0

ExternalMedia 0


Listed by owning process:

pid 655: [0x0000012c0000028f] PreventUserIdleSystemSleep named: "com.apple.audio.'AppleHDAEngineOutput:8,0,1,1:0'.noidlesleep"


It seems some audio related process is preventing my macbook from sleeping when the lid is put down. I have tried quitting iTunes before putting the lid down to no avail. Any ideas?

OS X Lion 10.7 Sleep Issue

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