Handbrake Paused/Stopped when Air went to Sleep?

bembol

macrumors 65816
Original poster
Jul 29, 2006
1,023
24
Before I went to work last night, I ran Handbrake.

I just got home and found out it's only 20% completed?!?!
 

GoCubsGo

macrumors Nehalem
Feb 19, 2005
35,753
142
What OS? I've never had my mac go to sleep in the middle of handbrake. That is odd but I use a desktop. If you have scheduling assistant set up to sleep at a certain time, I believe that overrides everything else.
 

maflynn

Moderator
Staff member
May 3, 2009
65,498
31,532
Boston
Well if the MBA went to sleep, the app would stop working.

If I know I'll be doing some processing that will take hours, then I turn off the sleep, just to be safe
 

Stingray454

macrumors 6502a
Sep 22, 2009
587
104
If you put your computer to sleep, it will (as the word "sleep" suggests) pause all current apps running. If you want to run something overnight, go into System Preferences -> Energy Saver and change it to never go to sleep when plugged in (display sleep is ok, but not computer sleep). Also, don't close the lid when you leave it, as that automatically sleeps your computer.
 

twintin

macrumors 6502
Aug 10, 2012
483
41
Sweden
It can also be the other way around where handbrake for unknown reason stopped its work (perhaps due to a failure) and hence after a while of idle your computer went to sleep as it should.
 

AlanShutko

macrumors 6502a
Jun 2, 2008
642
46
Mountain Lion no longer uses disk activity to delay sleep. Instead, it requires apps to make set power management assertions to keep it going.

There's a new command-line utility called "caffeinate" which will run a command and keep the system from sleeping while that happens.