• 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
Debugging a sleepless Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging a sleepless Mac


  • Subject: Debugging a sleepless Mac
  • From: Matt Gough <email@hidden>
  • Date: Wed, 16 Mar 2011 12:37:43 +0000

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_______________________________________________

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

  • Follow-Ups:
    • Re: Debugging a sleepless Mac
      • From: Michael Nickerson <email@hidden>
    • Re: Debugging a sleepless Mac
      • From: Kyle Sluder <email@hidden>
    • Re: Debugging a sleepless Mac
      • From: Aaron Burghardt <email@hidden>
    • Re: Debugging a sleepless Mac
      • From: Jean-Christophe Helary <email@hidden>
    • Re: Debugging a sleepless Mac
      • From: John Joyce <email@hidden>
  • Prev by Date: Books covering iOS security issues
  • Next by Date: Re: Debugging a sleepless Mac
  • Previous by thread: Re: Books covering iOS security issues
  • Next by thread: Re: Debugging a sleepless Mac
  • Index(es):
    • Date
    • Thread