Power assertions on OS X 10.8 Mountain Lion

Archive of historical development discussions
Discussions / Development has moved to GitHub
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
shoelzer
Posts: 2
Joined: Sat Sep 08, 2012 1:46 pm

Power assertions on OS X 10.8 Mountain Lion

Post by shoelzer »

I recently upgraded my MacBook Pro to Mountain Lion and it is agressive about going to sleep. Disk activity is no longer enough to keep it awake, so it will sleep in the middle of Handbrake encodes. Apple provides "power assertions" that apps can set to prevent sleeping (when on AC power) so it would be great if Handbrake was updated to use them.

Right now I have a workaround for the CLI, a new command called "caffeinate". I use it like this:

Code: Select all

caffeinate -s HandBrakeCLI -i inputFile -o outputFile --preset="AppleTV 3"
Smithcraft
Veteran User
Posts: 2697
Joined: Thu Jan 22, 2009 8:04 pm

Re: Power assertions on OS X 10.8 Mountain Lion

Post by Smithcraft »

shoelzer
Posts: 2
Joined: Sat Sep 08, 2012 1:46 pm

Re: Power assertions on OS X 10.8 Mountain Lion

Post by shoelzer »

Thanks. I'm glad to see that this is on the radar even if it's not a priority at the moment.
Post Reply