Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete wake timers when the program exits #5

Open
RoguedBear opened this issue Dec 5, 2021 · 0 comments
Open

delete wake timers when the program exits #5

RoguedBear opened this issue Dec 5, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed wontfix This will not be worked on

Comments

@RoguedBear
Copy link
Owner

if the user exits the program (ctrl+c) then delete the wake timers that might be there if the program was in sleep state.
If the wake timer was for a sufficiently large duration and the user puts the computer to sleep, the machine could wake up undesirably and deplete battery (if laptop).

as of now, i haven't been able to find a way to delete waketimers in linux, so if you face this specific issue just dont use sleep_interval key in config.yaml

@RoguedBear RoguedBear added bug Something isn't working help wanted Extra attention is needed wontfix This will not be worked on labels Dec 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant