Mac sleeps during middle of a rip (Mountain Lion)

The place to discuss Mac OS X version of MakeMKV
Post Reply
rcork
Posts: 29
Joined: Mon Jul 26, 2010 6:32 pm

Mac sleeps during middle of a rip (Mountain Lion)

Post by rcork »

Under Lion (10.7.x), whenever MakeMKV was ripping a disc, my Mac would not go to sleep until it was finished. I've upgraded to 10.8 Mountain Lion and now my Mac goes to sleep during the middle of a rip if the time it takes to rip exceeds the sleep timeout set in Energy preferences. Something must have changed in how Apple determines whether it can auto sleep or not.

An application can prevent system sleep by calling UpdateSystemActivity every 30 seconds (https://developer.apple.com/library/mac ... index.html). You can also prevent system sleep by creating a Power Management assertion via the methods in IOKit/IOPMLib (https://developer.apple.com/library/mac ... rence.html). Programs that specifically prevent sleep show up when you run pmset -g (it will say "sleep prevented by ..." and the process id of the application preventing sleep).

It would be great developers use one of these methods to prevent the system from going to sleep during a rip.
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Mac sleeps during middle of a rip (Mountain Lion)

Post by mike admin »

Fixed in 1.7.7
Post Reply