Nope, @chrp asked for an outline for how to add an optional foreground service.
Lol. We can have the boolean preference setting say âWould you like the app to be functional or non-functional? Choose one.â
Thanks @adamwolf Iâll work on this, but I have limited availability myself so I canât promise anything.
Anyway if I understand correctly, the service doesnât need to do anything specific, it only needs to be started in foreground with a persistent notification and it will guarantee that TagTime will not be impacted by Doze. Is that correct?
You are correct about everything except it guaranteeing to impact Doze. The official docs say it will prevent App Standby, which is a different power saver than Doze. Official Android OS developers have said in the past that it does impact Dozeâbut probably not on every phone.
It is the only thing I know of that apps can do that is even rumored to impact Doze.
There are ways to disable App Standby and doDe completely, not just âwhitelist an appâ, using adb. If one of us with sufficient available time is able to do each of those, and test the behavior methodically, we may be able to gain some additional insight to this problem.
Really? Thatâs great! That should solve the problem⌠how do you disable them completely with adb?
adb shell dumpsys deviceidle disable
but it needs to be done every boot.
That disables both? Is there any way to make it permanent?
I was wondering whether there was any progress on this issue since the last update in January?
I just bought a new Android phone and noticed this problem while having both phones in the same room: my old phone would chirp for a tagtime update but the new phone would be silent maybe 50% of the time. Even after switching to the app on the new phone, it often wouldnât show the ping for a while (or until I closed the app and then re-opened it).
Iâve gone through the settings of the new phone and configured everything I can to keep tagtime running, but it still doesnât always ping me (I also havenât figured out the logic for when it will on wonât ping me; so far it seems essentially random).
Iâm willing to help test solutions, although I have no special experience testing or developing Android apps. Iâd really miss having (a reliable) tagtime on my phone.