Dear Maintainer, * What led up to the situation? The "sleep" funtion was shown in the output of "ps". ### Do not put the script to a sleep, if it is afterwards not going to do its job. Therefor call "random_sleep" after "check_power || exit 0". N.B. Other bug reports about the file are #829443 and #898312.
That would be wrong. If we sleep 30 min and you remove your power within those 30 minutes, we'd run when we shouldn't. I guess we could do the power check twice. But then people might complain that we check power first and the script does not run because they plugged in too late or something. I mean, meh, you could just use systemd if you want sane behavior.