• 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: Prevent computer from going to sleep but _not_ disable dimming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prevent computer from going to sleep but _not_ disable dimming


  • Subject: Re: Prevent computer from going to sleep but _not_ disable dimming
  • From: "Jere Gmail" <email@hidden>
  • Date: Tue, 27 May 2008 09:38:34 +0200

You have to use IdleActivity, that's the one I use and it works.

On Mon, May 26, 2008 at 10:17 PM, Manfred Schwind <email@hidden> wrote:
> Hi,
>
> I want preventing the computer from going to sleep while doing lengthy
> calculations - but I still want to allow the display to dimm.
> I tried UpdateSystemActivity() with all available constants, but all of them
> also prevent the display from dimming.
> Is this a bug? Or is it a feature? (Maybe to give the user some "feedback"
> that the computer will not go to sleep?!?)
>
> In the header file I can find:
>
>  OverallAct                    = 0,    /* Delays idle sleep by small amount
>                 */
>  UsrActivity                   = 1,    /* Delays idle sleep and dimming by
> timeout time          */
>  NetActivity                   = 2,    /* Delays idle sleep and power
> cycling by small amount         */
>  HDActivity                    = 3,    /* Delays hard drive spindown and
> idle sleep by small amount  */
>  IdleActivity                  = 4     /* Delays idle sleep by timeout time
>                 */
>
> In my understanding, using e.g. OverallAct, NetActivity or  HDActivity
> should not prevent the display from dimming, but UsrActivity should.
> But I tried them all and it doesn't matter which one I use, the display
> always did never dimm.
>
> Any ideas?
> Mani
> --
> http://mani.de - friendly software
> iVolume - listen to music freehand
> LittleSecrets - the encrypted notepad
>
> _______________________________________________
>
> 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
>



--
http://zon7blog.wordpress.com/
And again we fall.
_______________________________________________

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: Prevent computer from going to sleep but _not_ disable dimming
      • From: Manfred Schwind <email@hidden>
References: 
 >Prevent computer from going to sleep but _not_ disable dimming (From: Manfred Schwind <email@hidden>)

  • Prev by Date: Re: Cocoa-dev Digest, Vol 5, Issue 919
  • Next by Date: Re: TabBarController + NavigationController Integration Problem in IB
  • Previous by thread: Prevent computer from going to sleep but _not_ disable dimming
  • Next by thread: Re: Prevent computer from going to sleep but _not_ disable dimming
  • Index(es):
    • Date
    • Thread