Thanks for feedback
There is also a third situation to test
Power cut on standby (DeepStandby).
Damn, I forgot about that
Here it is.
Simulated power failure during standby
Code
set onIdle-function
plugin version: 1.1 (box: dm920)
setup-option 'startup to idle mode': crashOnIdle
setup-option 'after manual Restart GUI/Restart going to': active
system_time: 1644166142.04 = 06.02.2022 17:49:02
kernel_boot_time: 5.353999996 = 01.01.1970 01:00:05 (from dev-ctime)
wakeuptime: 0 = 01.01.1970 01:00:00
was_timer_wakeup: False
isReboot: True
isManualRestart: False
isCrash: False
isPowercut: True
lastState: standby
enable idle => always: False, onCrash: False, afterPowerCut: True
going to idle
show message
Alles anzeigen