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

Timer doens't work "in background" #64

Closed
Ethanol6 opened this issue Feb 24, 2022 · 5 comments
Closed

Timer doens't work "in background" #64

Ethanol6 opened this issue Feb 24, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@Ethanol6
Copy link

Describe the bug
If my phone screen locks during brewing the timer is cancelled.

To Reproduce

  1. Start a recipe timer
  2. Lock the screen
  3. Unlock the screen
  4. Timer is stopped

Expected behavior
During long brews like the Hoffman french press brew my phone screen will lock itself during the 7 minute wait period. The timer should continue and make sound between steps when the screen has locked.

Smartphone:

  • Sony Xperia XZ1
  • Lineage OS Android 10
  • Cofi 1.3.4
@Ethanol6 Ethanol6 added the bug Something isn't working label Feb 24, 2022
@MartinX3
Copy link

MartinX3 commented Jun 24, 2022

Same here with Android 12.1.

If I am not in the app or the display is deactivated or if I lock my phone, it won't vibrate after being finish.
So I can't use the app as a tea timer.

@vnord
Copy link

vnord commented Jan 1, 2023

The app is designed to keep the screen active while a timer is running. This feature works as expected for me.

It would be possible to let it run in the background or as a service (not sure about the exact details here), but that seems like a more convoluted way of doing things when the app already prevents the phone from automatically locking itself while there is an active timer.

my phone screen will lock itself during the 7 minute wait period

I don't think this should happen. It definitely doesn't happen for me in Android 13. Are you completely sure that it's the lock screen timeout that is locking your screen, and not something else (e.g. a human)? Can you reproduce this if you set the lock screen timeout to the shortest period possible (15 seconds for me)?

@rozPierog rozPierog changed the title phone screen lock cancels timer Timer doens't work "in background" Jan 19, 2023
@rozPierog
Copy link
Owner

Another report #147 (comment)

@rozPierog
Copy link
Owner

@Ethanol6 @MartinX3 Don't know if that's still relevant to you, but it has been fixed by #201 🎉
Next release will include a notification that will continue the timer when the app goes into the background

@Ethanol6
Copy link
Author

Ethanol6 commented Sep 9, 2023

Great work as always! Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants