swisscovid-app-android
swisscovid-app-android copied to clipboard
App only works, when phone is active (screen on)
I've noticed notifications from the app that it's not working because Bluetooth is switched off. Bluetooth is not switched off and other devices successfully are connected in the background like my smartwatch.
A few seconds after the phone is active (not unlocked, just the screen is on) the message disappears. I've recorded the apps activities with the dev tools and it really seems like the COVID app only works, when the screen is on.
I'm on Android 10 (OxygenOS 10.3.5) on a Oneplus 6 (A6003) phone. How can I verify if the app works or doesn't in background, when the phone is not active?
I've found other users with different phones (Xiaomi A3, ...), which have the same problem. It seems like the app usually doesn't work if the device is sleeping. I don't see any activity of exchanged data anywhere. What is the best way to verify the app works?
Even with battery optimization set to "Not optimized"? Could be doze related
Even with battery optimization set to "Not optimized"? Could be doze related
Hmm.. no the notification still appears after the phone screen was off for a few minutes. Also I cannot imagine that a normal user digs into the settings and sets this.
I tested the app on a Oneplus 6 with Android 10 and can't reproduce this problem. Is it possible, that you have a battery saver app installed (that automatically deactivates Bluetooth when the screen is turned off and reactivates it once it is back on)? This would explain this behaviour. You should then reconfigure your battery saver to keep Bluetooth activated.
The phone is pretty much unmodified (stock rom, no optimization apps). I've restarted the phone (after I've changed the setting to not optimized) and it seems to work now!
Are there instructions I've missed? I think to give the app the full potential the app needs to recognize such problems and help the user to configure the phone.