• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Debugging a sleepless Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Debugging a sleepless Mac (From: Matt Gough <email@hidden>)

  • Prev by Date: Debugging a sleepless Mac
  • Next by Date: Re: Debugging a sleepless Mac
  • Previous by thread: Debugging a sleepless Mac
  • Next by thread: Re: Debugging a sleepless Mac
  • Index(es):
    • Date
    • Thread