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

Screen lock implicitly pauses timer #65

Open
alynn-coefficient opened this issue Aug 15, 2024 · 3 comments
Open

Screen lock implicitly pauses timer #65

alynn-coefficient opened this issue Aug 15, 2024 · 3 comments

Comments

@alynn-coefficient
Copy link

Hello! When my screen is locked because I've left the machine (meeting, tea, whatever) the timer doesn't decrease, only continuing when the screen is once again unlocked. This throws me off my timings a bit, it would be grand if this could be either turned off or configurable.

@ccidral
Copy link
Member

ccidral commented Aug 15, 2024

What is probably happening is your MacOS automatically sleeps after some time which is causing the timer to suspend. If you simply lock the screen the timer keeps running. I'm not an expert in MacOS programming but it seems to me there might not be a way to keep the timer running while the system sleeps.

There's an option called "Prevent automatic sleeping on power adapter when the display is off" under the Battery system settings, in case you want to try that.

Screenshot 2024-08-15 at 8 36 06 AM

@alynn-coefficient
Copy link
Author

For instance if I start a 20 minute long break at 12:00 and my laptop were asleep from 12:02 to 12:18, I think it's still {reasonable, possible} for the timer to go off at 12:20 rather than 12:36, no?

@ccidral
Copy link
Member

ccidral commented Aug 28, 2024

Got it, I agree, in that case the app should be able to correct the remaining time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants