SimpleMobileTools / Simple-Clock

Combination of a beautiful clock with widget, alarm, stopwatch & timer, no ads
https://www.simplemobiletools.com
GNU General Public License v3.0
586 stars 238 forks source link

Timer alerts are late: alert is received from 3 to 5 minutes late when phone is locked and app is on background. #552

Open fralacos opened 9 months ago

fralacos commented 9 months ago

Timer alert of the end of set time triggers from ~3 to ~5 minutes late when the phone is locked and app is running on the background. Tested on Redmi Note 10 pro and POCO F5 phones, both running MIUI 14 Global / Android 13.

Steps to reproduce the problem:

With the phone unlocked and the application running in foreground, there's no delay. With the phone unlocked and the application running in background, there's no delay. With the phone locked and the application running in foreground, there's no delay.

Fail scenario was also tested with the clock app from google, with no issues: alert comes at 10 minutes mark as expected.

Simple-clock app is set to "No restrictions" on battery saving settings, has the "lock" to prevent memory cleaner to close it, and all notification settings were given, including the ones related to show on lock screen.

Using version 5.11.2 installed with F-Droid.