Idle periods are not recognised
Opened this issue · 0 comments
pvanheus commented
Describe the bug
This is probably an upstream electron but anyway.. I noticed that the app (on Linux 22.04, app installed via snap, app version 1.2.0) never seems to account for time when I have been away from the computer (and thus idle). Investigation in the latest code on GitHub (master branch) shows that powerMonitor.getSystemIdleTime()
is always zero and powerMonitor.getSystemIdleState()
is always active
To Reproduce
- snap install breaktimer
- run breaktimer
- go away for 10 minutes
- breaks continue to be scheduled as before, not accounting for idle time
Expected behavior
Idle time should be counted when I have not been typing or using the mouse for a certain amount of time (default setting: 5 minutes)
Specs:
- OS version: Ubuntu Linux 22.04
- App version: 1.2.0 (snap)