Re: Debugging a sleepless Mac
Re: Debugging a sleepless Mac
- Subject: Re: Debugging a sleepless Mac
- From: John Joyce <email@hidden>
- Date: Wed, 16 Mar 2011 22:42:04 +0800
> I've just been adding code to support NSWorkspaceWillSleepNotification. Having lowered my Computer sleep time right down and left the Mac untouched for several minutes, my code never fires and the Mac doesn't actually go to sleep. Even without my app running and leaving the Mac for several hours I notice that it still won't sleep.
>
> 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?
>
> Matt_______________________________________________
>
>
You will of course want to look at System Logs, but you'd do well to try the same code on a vanilla install of the OS to be sure there is no other software interfering.
Could be hardware, network (wake on lan) etc...
_______________________________________________
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