> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to