I have a requirement that enable autosleep in batch file.
The reason is i want to autosleep my computer after getting off work, but disable autosleep when i'm on duty
- I know how to auto wake up my computer by using RTC in BIOS
- I know how to run a batch at certain time by using scheduler
The only thing I don't know is how to enable or disable autosleep by batch.
standby-timeout-ac
value to x minutes (or 0 for never).