Skip navigation.
 
mlRe: What could prevent Deep Sleep?
FROM : Aaron Fothergill
DATE : Sun Oct 31 23:14:20 2004

I believe that

   UpdateSystemActivity( IdleActivity ) ;    

will force the system to stay awake.

Aaron
_____________________________
Aaron Fothergill  :  MD / Lead Coder
Strange Flavour Ltd
<email_removed>
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_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>

Related mailsAuthorDate
mlWhat could prevent Deep Sleep? Jesus De Meyer Oct 31, 23:06
mlRe: What could prevent Deep Sleep? Aaron Fothergill Oct 31, 23:14