Idle sleep problems

Apologies I know there have been 1000's of posts about this but I think I have been through all of them and I cannot workout why my iMac will not sleep when idle.

I've tried SMC re-sets, PMU re-sets, I've setup a clean user, run in safe mode, disconnected every peripheral and still it will not sleep when left idle.

I've even been to the extent of writing a load of IOKit based code to hook in callbacks to the power notifications from the kernel and I never see anything.

Just to be clear, if I tell the machine to sleep from the Apple menu it does and it stays in sleep mode until I wake it.

I think this started after 10.6.4 came out but I cannot be sure.

Any help would be greatly appreciated.

Cheers,

Steve

24" iMac, Mac OS X (10.6.4), 17" MacBook Pro

Posted on Oct 13, 2010 8:33 AM

Reply
13 replies

Oct 13, 2010 8:56 AM in response to Kappy

Hi Kappy,

Thank you for the response and nothing is a silly question....

But yes energy saver is configured to put the system and display to sleep after 10 minuets which is the default setting (i think).

I do have wake on lan enabled but as the machine will happily sleep and stay asleep when sleep is done manually i had been ignoring this. Will try it turned off to see if it makes any difference.

Also have delete the power management prefs files a number of times now, but will try it again.. 🙂

Thanks again,

Steve

Oct 13, 2010 9:16 AM in response to Kappy

Hi Kappy,

I'm 100% sure this is not an application problem as such, if it were at the application level I would see a kIOMessageCanSystemSleep message hit my power notification callback asking application if it's ok to sleep.

No on the mouse and keyboard, using a magic mouse and the keyboard that came with the mac, wake on bluetooth is disabled.

Have looked at the link included a few time and tried all the things in that.

Have re-installed the 10.6.4 combo installer once or twice manually so far.

Starting to think I will have to do a clean install..... 😟

Cheers,

Steve

Oct 13, 2010 10:23 AM in response to Kappy

I had a similar problem with a 27" iMac's display not going to sleep. Here's my post;

http://discussions.apple.com/thread.jspa?threadID=2611070&tstart=0

I found that when I have Screen Sharing active in System Preferences the display will not sleep. Note that I have no sharing active in that pane, and the display sleeps on schedule. My 4 year old iMac and MacBook Pro at home are not affected with Screen Sharing on.

This seemed to occur after the Security Update 006 which was a week or so ago.

Oct 20, 2010 8:42 AM in response to SteveTaylor

Finally found the problem, there was a bit of licensing software installed by a photoshop plugin. Its called nalpeirond6 this daemon looks to be polling the hard drive every few seconds stopping the idle counter from racking up. Had missed this as it's installed in /Library/StartupItems rather than LaunchDaemons or LaunchAgents..

Anyway have disabled it for the moment and my iMac is no longer an insomniac....

Oct 24, 2010 12:19 PM in response to David Cun

Hello,

It's a difficult one, to resolve this I followed these steps

1. Follow the general things in this apple support article. http://support.apple.com/kb/HT1776?viewlocale=en_US
2. Setup a new clean user profile, if this resolves the issues then the problem will be with a user process. Login item etc.
3. If clean user did not resolve start looking at system wide processes.

Beyond this it's really just a process of elimination, disable items and see if it fixes them. I know my issue was with disk access as I used sar to monitor disk activity, however it did not link the activity to a process that was still just a case of disabling things and look for a change in behaviour.

Cheers,

Steve

Oct 25, 2010 6:23 AM in response to SteveTaylor

Steve,
Thanks for the reply!

That's some good info in the KB...but info that I've tried, except 'new user acct'. My problem is it's intermittent. EG, upon auto wake this morning it din go to sleep after 10 mins, per default setting. I did have an iCal 'reminder' on the screen, but that shouldn't be the culprit as I've had auto-sleep occur even with a reminder on the desktop. I responded to the reminder, opened A.Monitor and went and got a cup of coffee....etc. When I came back in about 12-13 mins the puter was asleep! (BTW, I've not had any problems with monitor sleep) Yesterday it was not auto-sleeping and I did an SMC reset, and it worked fine the rest of the day...until this moring.

So, it's intermittent. What I see persistently in A.Monitor is Dock and Dashboard Client. Could something like WeatherBug widget be the culprit? That's my main question: how to know which process out of many is the culprit; I mean I have a pretty long list of processes.

I guess I'll quit those 3-4 processes (Dock and WeatherBug) the next time I have the problem and see if that helps. And, I'll try the new user acct approach.

Thanks again,
Cheers to you too

Dave

Nov 19, 2010 8:05 AM in response to David Cun

Hello all,
I have the same problem. My macbook is not sleeping when idle. This afternoon I upgraded my memory and guess what: the problem was gone.

Unfortunately the problem returned so I had about 3 hours the pleasure of having a macbook that went to sleep as it is supposed to. I think I saw the screen flickering once before it returned.

The question is: what is being reset when you take out the battery, take out the memory and place (new) memory?

I tried before all the resets that are suggested. However, when I do a PMU reset and I hold the power button for 5 seconds, the led flickers and the macbook boots. If I follow the steps that are suggested by apple to do a PMU reset I should hold the power button for 5 seconds, release it (till here everything the same) and than press again to boot (this step happens automatically). Is this the way it works with you guys>

Thanks!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Idle sleep problems

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