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>
>
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 mails | Author | Date |
|---|---|---|
| Jesus De Meyer | Oct 31, 23:06 | |
| Aaron Fothergill | Oct 31, 23:14 |






Cocoa mail archive

