Re: What could prevent Deep Sleep?
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