Page 1 of 1

Don't prevent sleep/screensaver when paused

Posted: Wed Nov 13, 2024 9:02 pm
by onlyneedaname
On Mac, when the game is running, screen saver, display off, and sleep are inhibited. Overall this is a good thing. When the game is paused (e.g pressing escape for the load/save menu in single player), though, it still happens even though it's not necessary at all. This means if I pause and go to bed, the computer and monitors stay on all night. Have to manually save and quit the game if I want the computer to go to sleep. Factorio could remove the wake lock (IOPMAssertion or similar) when the game isn't actively running.

Re: Don't prevent sleep/screensaver when paused

Posted: Thu Nov 14, 2024 9:01 am
by posila
Sleeping while Factorio is running is not supported. Sometimes OS doesn't recover our textures after waking up from sleep and the game needs to be restarted anyway.