New
#1
Windows10 Entered Sleep Mode while Doing Windows Update
Hi all
About a month ago, while doing a long Windows Update, surprisingly, my Windows10 entered Sleep Mode,
because I didn't touch my Laptop for a while, as defined in the Power Settings for Sleep Mode.
It was really scary to see Windows entering Sleep Mode during an important operation (that involves writing to the SSD, and updating critical components), and I truly wish no damage happened.
(the laptop works well, but who knows If some file(s) got corrupted..)
This made me wonder:
Doesn't Windows have some built in API, that enable programs to request not to sleep during a certain operation?
Something like:
TemporaryPreventSleepMode_Start()
TemporaryPreventSleepMode_End()
It seems like quite basic and useful functions,
and it seems more than logic that Windows Update itself would use it..
So doesn't this exist?
What do you guys do to prevent this?
(change your Power Profile before you do Windows Update, and then change back after Windows Update finished?)
Thank you