The documentation says:
On the other hand, with pause.seconds(3600), if your computer goes into standby mode for several hours, the program will continue immediately after the machine wakes back up since the minimum amount of time has passed since the pause was started.
With to the "logarithmic sleeping" implemented in #8, time.sleep() is initially called with half the specified time interval. When the computer goes to standby then, it will still sleep for that time after walking up.
A good middle ground would probably be to limit the "logarithmic" sleep interval to one minute or so.
The documentation says:
With to the "logarithmic sleeping" implemented in #8,
time.sleep()is initially called with half the specified time interval. When the computer goes to standby then, it will still sleep for that time after walking up.A good middle ground would probably be to limit the "logarithmic" sleep interval to one minute or so.