marinara icon indicating copy to clipboard operation
marinara copied to clipboard

Feature request: Keep the timer running through a reboot

Open ke4roh opened this issue 3 years ago • 0 comments

If a focus period is unfortunate enough to include software updates on the computer that usually runs the timer, keep the state through the reboot.

This could be accomplished, for example, by saving the start time of each period to disk, and when starting up, resuming that period.

Some expectations:

  • Focus time elapses during the reboot provided the timer wasn't paused.
  • If the timer was paused, then it would remain paused after reboot.
  • The running or paused timer keeps track of whether it was a focus, short break, or long break
  • If the timer had been paused before reboot then resumed, then the time remaining should be whatever was remaining at the moment of resumption minus elapsed time since then.

ke4roh avatar Jun 03 '21 12:06 ke4roh