Using Win10 task scheduler I’ve setup a pair of tasks.
The first puts the machine into hibernation at 2am, using “shutdown /h”.
The second wakes the machine at 9:30am by running a ‘do nothing’ script, triggered by a waketimer.
This works perfectly, with one big caveat; after waking at 9:30am, unless I immediately start using the machine, it’ll go back to sleep ~4 minutes later.
The Windows log entry indicates for the cause of this, is:
"The system is entering sleep.
Sleep Reason: System Idle"
Yet my power plan settings on this machine are:
Sleep after: “Never”
Allow hybrid sleep: “Off”
Hibernate after: “Never”
Allow wake timers: “Enable”
Any ideas why this sleep behaviour seems to be ignoring the power plan sleep settings?
Is it perhaps because the machine is sitting idle at the login screen?