Naptime 7.2

Francisco Franco
naptime-app
Published in
2 min readOct 12, 2019

This looks like a small release, but it packs one of the most requested features, the ability to block some settings to be applied when the device is under some sort of high performance location access (the likes of Google Maps while using navigation).

Took me a few days to find a reliable way to detect if Android was doing location queries consistently so after that was out of the way the rest was a piece of cake to implement.

In this case the “Android battery saver” was a challenge because I didn’t remember it disabled any location access during screen off, so for a few hours I couldn’t figure out why the location detection producing the results I looked for, so naturally once I found about it that was one of the settings we had to block when location was detected.

There was also one important fix to the automatic “Android battery saver”. On previous releases Naptime would ignore if you have the battery saver turned on before running the doze routine, and it would automagically turn the battery saver off after the user screened on. Now it respects the setting properly!

Made the intent dialog a bit more transparent. Before I got questions about if it was working/not working because it didn’t reflect the change in the UI, but now it does.

More features are coming so stay tuned!

Free download: https://play.google.com/store/apps/details?id=com.franco.doze

Follow me: https://twitter.com/franciscof_1990

--

--