Soham-Rakhunde / workout_timer

MIT License
66 stars 15 forks source link

Timer does not function when screen is locked #2

Open OlivierNicole opened 3 years ago

OlivierNicole commented 3 years ago

Hi and thanks for your work, your app is the only workout timer I found that works on my LineageOS!

Just wanted to report that, once I started a workout set with intervals longer than 10 s, if I lock the screen, then the interval seems to never finish. When I turn the screen on — even without unlocking the phone — the timer seems to resume counting from 5 s before the interval end. Battery optimization issue?

This is a bit annoying to use the timer in audio mode while running for instance.

Thanks again for your work.

OlivierNicole commented 3 years ago

Sorry, forgot to mention version information:

Soham-Rakhunde commented 3 years ago

Dear Nicole, Thank you for reporting your issue. I am looking into your issue and will contact you as soon as possible.

Regards, Soham

On Sun, 14 Mar, 2021, 6:27 pm Olivier Nicole, @.***> wrote:

Hi and thanks for your work, your app is the only workout timer I found that works on my LineageOS!

Just wanted to report that, once I started a workout set with intervals longer than 10 s, if I lock the screen, then the interval seems to never finish. When I turn the screen on — even without unlocking the phone — the timer seems to resume counting from 5 s before the interval end. Battery optimization issue?

This is a bit annoying to use the timer in audio mode while running for instance.

Thanks again for your work.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Soham-Rakhunde/workout_timer/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7WBL62RT3WDY7K7CCBHOLTDSXDPANCNFSM4ZE6MRRQ .

Soham-Rakhunde commented 3 years ago

Thank you for reporting the issue I will try to resolve it Asap

Soham-Rakhunde commented 3 years ago

And also would u try to whitelist the app in battery settings and remove battery optimizations only for this app and report back.As other android devices allow the app to run with voice without issues

OlivierNicole commented 3 years ago

I did both these things, without success.