Page 1 of 1

Disable system sleep when Generator works

PostPosted: 15.03.2019, 17:25
by GCRaistlin
As long as I see now system can go sleeping when updates are being downloaded. It is worth to prevent this.

Re: Disable system sleep when Generator works

PostPosted: 15.03.2019, 22:09
by boco
It should not go to sleep. It now allows the screen to blank, but won't request the (unknown to the user) password anymore.

Re: Disable system sleep when Generator works

PostPosted: 15.03.2019, 22:20
by Dalai
@boco:
This topic is about UpdateGenerator, not UpdateInstaller. The latter creates and uses a temporary power scheme, the former does not.

Honestly, I don't see the need to change anything in this regard in UpdateGenerator or the related batch scripts. If you're using a mobile device, you should know that letting the device go to sleep could interrupt the download operation. And, it's really easy to temporarily switch to another power scheme/profile, e.g. before starting the download (can even be scripted and added to InitializationHook.cmd(t) if necessary).

Regards
Dalai

Re: Disable system sleep when Generator works

PostPosted: 15.03.2019, 23:20
by boco
@Dalai: Sorry, I muddled up the topics, there are multiple about the subject now.

Re: Disable system sleep when Generator works

PostPosted: 16.03.2019, 01:04
by Dalai
Don't worry. We all mix something up from time to time :).

Regards
Dalai

Re: Disable system sleep when Generator works

PostPosted: 16.03.2019, 11:20
by GCRaistlin
Dalai wrote:Honestly, I don't see the need to change anything in this regard in UpdateGenerator or the related batch scripts. If you're using a mobile device, you should know that letting the device go to sleep could interrupt the download operation. And, it's really easy to temporarily switch to another power scheme/profile, e.g. before starting the download (can even be scripted and added to InitializationHook.cmd(t) if necessary).

I don't use a mobile device. With the default power sheme (30 min before go sleeping), Generator doesn't have enough time to complete its job. I believe this is surely a reason to change its behavior. Switching power scheme every time isn't a good way.