Re:Show HN: Prevent your computer sleeping with just a webpage
by gabrielsroka on Friday April 22, 2022 @12:59PM
(#31124398)
https://news.ycombinator.com/formatdoc
@echo off
powercfg.exe -x -monitor-timeout-ac 5
powercfg.exe -x -disk-timeout-ac 180
powercfg.exe -x -standby-timeout-ac 180
powercfg.exe -x -hibernate-timeout-ac 999
Re:Show HN: Prevent your computer sleeping with just a webpage
by dend on Friday April 22, 2022 @07:29PM
(#31129543)
Also would recommend this: https://docs.microsoft.com/en-us/windows/powertoys/awake
Disclaimer: I built the tool.
powercfg.exe -x -monitor-timeout-ac 5 powercfg.exe -x -disk-timeout-ac 180 powercfg.exe -x -standby-timeout-ac 180 powercfg.exe -x -hibernate-timeout-ac 999
`