• 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: What could prevent Deep Sleep?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What could prevent Deep Sleep?


  • Subject: Re: What could prevent Deep Sleep?
  • From: Aaron Fothergill <email@hidden>
  • Date: Sun, 31 Oct 2004 22:14:20 +0000

I believe that

UpdateSystemActivity( IdleActivity ) ;

will force the system to stay awake.

Aaron
_____________________________
Aaron Fothergill : MD / Lead Coder
Strange Flavour Ltd
email@hidden
http://www.strangeflavour.com
On 31 Oct 2004, at 22:06, Jesus De Meyer wrote:

Hi again,

I received an email from one user of my application telling me that my app is preventing his computer from going into deep sleep. Now I seriously doubt that since all I do is check every 5 seconds to see I need to update some parts of my app.

My computer doesn't seem to have any trouble at all to go into deep sleep mode, with my app running.

So I wonder, when developing an app, could you write code that would prevent the system from going into deep sleep? And if so, what kind of code would that be?

Thanks,

Jesus

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >What could prevent Deep Sleep? (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Re: FW: Where to include header files - relates to last question on variable scope
  • Next by Date: Re: Variable Scope (again)
  • Previous by thread: What could prevent Deep Sleep?
  • Next by thread: drag delete from NSTableView
  • Index(es):
    • Date
    • Thread