Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Macbook sleeps with Lion

My Macbook Pro 15' sleeps well with Lion, I just had to unplug the power source.
 
figured it out!

The problem was Drive Genius DrivePulse. DrivePulse keeps track of and looks for defrag issues, volume consistency issues, etc. For some reason, the computer wasn't happy about that and refused to sleep according to energy saver settings. I removed drivepulse and that fixed the problem! yay.
 
That program only lists apps that are explicitly preventing sleep. Any app can prevent sleep by remaining active. Best approach is to set the system to sleep after a minute. Exit all apps and remove all external devices (USB devices can prevent sleep), then start/add them back in one at a time until the system refuses to sleep. In my case, the most recent problem was DropBox with "LAN sync" enabled.
 
Thanks for your help Talmy.

But I've even tried closing all apps and it still seems to be sporadic. Sometimes it'll sleep, others not. And afaik I'm not doing or running anything different.
 
To find out why your system won't sleep, type:

pmset -g assertions

In my case, I saw:

Listed by owning process:
pid 63: [0x0000012c0000003f] PreventSystemSleep named: "org.cups.cupsd"

cups is the printing system, so I went into the system prefs and deleted my printer drivers. The system then slept.

Great tip.

I found my audio in permanent use:-

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

Turns out it's Spotify, whether it's playing music or not.

http://getsatisfaction.com/spotify/topics/spotify_prevents_my_mac_from_sleeping
 
Thanks for your help Talmy.

But I've even tried closing all apps and it still seems to be sporadic. Sometimes it'll sleep, others not. And afaik I'm not doing or running anything different.

Some apps have background processes you don't see in the Dock. You may need to use Activity Monitor and look for those apps and kill the processes.
 
Some apps have background processes you don't see in the Dock. You may need to use Activity Monitor and look for those apps and kill the processes.

Talmy, I've discovered its something to do with Microsoft Outlook 2011! If I remove this from startup items and shutdown and restart the machine will sleep.

Outlook has an exchange account on it so could it be that?
 
Could be syncing with the Exchange account too often for the system to get a chance to sleep.
 
I've been struggling with this on my Mac Pro for the past three days. Today I unplugged my Firewire iSight camera and now she sleeps. I wish Apple would release a new 30" Cinema Display.
 
Internet sharing

Like several others, I couldn't get my Macbook to sleep with Lion. I read where turning off Internet sharing helped. I did that and Yes! Now when I close the lid it goes to sleep like it used to. A work-around I had was to unplug the charging adapter before I closed the lid. It went to sleep, then I could plug it back in and all was well till I opened it up again. This site is great for all the help we get by listening to one another. :eek:
 
To find out why your system won't sleep, type:

pmset -g assertions

In my case, I saw:

Listed by owning process:
pid 63: [0x0000012c0000003f] PreventSystemSleep named: "org.cups.cupsd"

cups is the printing system, so I went into the system prefs and deleted my printer drivers. The system then slept.

Thanks! This worked for me! But I did not have to delete ALL of my printer drivers.

The command pmset -g assertions gave the same result here. I then realized the problem started about two weeks ago, after I temporarily had my mbp connected to two different printers at another location.

Deleting the drivers for these two now unnecessary printers (one HP and one Brother) solved the problem, the command pmset -g assertions does now not show anything preventing sleep, and the computer sleeps as expected.

I still have my Canon, Adobe PDF and Prolific PS printer drivers installed. Unfortunately I did not delete the HP and Brother drivers one by one so I do not know which one of them it was that were causing the problem.

And by the way, as Spotify is mentioned above, I have Spotify also, and it is not causing any sleep problems here. Unless I play it really loud of course... :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.