How do I achieve the following simple behaviour with my work X1G6 running our corporate IT "enhanced" W10x64 that was recently updated to the May 2020 update v2004:
- When left idle longer than our corporate idle timeout (~5min IIRC) it's allowed to lock the screen but has to remain powered on (S0 power state afaik): it may not sleep as it's doing now
- Meanwhile if possible it can still be explicitly put to sleep whenever necessary, e.g. with Fn+4, ideally into the proper old style deep sleep (S3 power state afaik)
I already have all kinds of sleep timers in my currently active Balanced power plan I could possibly think of and find set way higher and still it sleeps every time upon idle timeout expiry.
After reading all those complaints about S3 revoked in X1G6 at BIOS level, e.g. https://forums.lenovo.com/t5/Linux-Disc ... -p/3998182 (and other makes/models too, particularly Dell), or at least advertisement of its support by ACPI I understand the idea was to replace proper deep sleep S3 with this Modern Sleep (aka S0i3) more suitable for the phones/tablets. That however I could still live with - it's entering that state upon idle timeout that is the main issue for me, as my VPN connection and all ssh/sftp sessions to several remote servers all bounce every time, making me re-login (bearing all that security obsession in mind).
I've just tried this, which deprived my laptop of the Sleep option and still the laptop enters some kind of sleep upon idle timeout somehow:
Code: Select all
reg add HKLM\System\CurrentControlSet\Control\Power /v PlatformAoAcOverride /t REG_DWORD /d 0