RaphaelJ / covid-tracer

CovidTracer, a decentralized and anonymous contact tracing application
GNU General Public License v3.0
79 stars 12 forks source link

Better battery optimization avoidance. #8

Open jtagcat opened 4 years ago

jtagcat commented 4 years ago

Add a warning about battery optimization.

Keep the app open while out and about' will work, since disabling battery optimization is hard, don't require it.

image

^ An example of the notification UI.

It is possible to check whether the battery optimization is on or not.

The app would also be harder to close, when there is a persistent notification.

I can currently recall, that syncthing-android has both the notification and battery optimization detection, phonetrack has only the persistent notification.

Clicking on the notice would bring you to https://dontkillmyapp.com/apidoc (link to documentation, link differs for each vendor).

RaphaelJ commented 4 years ago

That's one of the thing I thought about, but didn't implement it yet. Thank you for the suggestion.

jtagcat commented 4 years ago

Why not leave the issue open then? Issue trackers can also track new features, throw the 'feature' label on to the issue.