Re: Debugging a sleepless Mac
Re: Debugging a sleepless Mac
- Subject: Re: Debugging a sleepless Mac
- From: Matt Gough <email@hidden>
- Date: Wed, 16 Mar 2011 16:35:41 +0000
On 16 Mar 2011, at 15:32, Kyle Sluder wrote:
> On Wed, Mar 16, 2011 at 5:37 AM, Matt Gough <email@hidden> wrote:
>> So it seems that something else is preventing idle sleep, but I've no idea how to find the culprit. Is there some defaults setting I can use that will log what the OS wants to do at sleep time and what is blocking it?
>
> According to the I/O Kit Power Management Release Notes, `pmset -g`
> should list all outstanding power management assertions.
> http://developer.apple.com/library/mac/#releasenotes/Darwin/RN-IOKitPowerManagment/_index.html
>
> I'd say try that and see if it tells you who's preventing system sleep.
>
> --Kyle Sluder
Thanks to everyone for the suggestions so far.
Alas, pmset -g it doesn't show any active assertions (I know it can do as I slapped one in my code and it showed up).
I have also tried turning off ttyskeepawake, but to no avail.
I didn't mention in my previous email that I have no problem with display sleep working correctly, its just idle sleep that is misbehaving.
Looking through the logs, I can't see any power related ones.
Apart from user interactions, what other sorts of activity automatically prevent idle sleep?
Matt_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden