Getting BatteryFu features (radios polling and more battery savings)
BatteryFu is a battery saving libre Android app : https://f-droid.org/en/packages/com.tobykurien.batteryfu/
It allows to :
- turn data (WiFi or mobile-data) (and/or bluetooth) on 2 minutes every 15 minutes (for instance) as those radios are off the rest of the time, it saves battery
- turn on data (WiFi or mobile) when screen is unlock (as you're in command to do something)
- turn off radios during night (when you sleep)
- turn on data when plugged
- shows two big switches : data always on, and airplane mode (data always off) (with a 3rd which is : back to normal polling behavior)
I imagine that using Anbox for this would not actually save battery.
Maybe tlp
(see #411 (closed)) would be able to do the same, adding specific configuration rules.
Maybe we could start by making just a user interface to configure some crons…
What would be acceptable to make a daemon handling the 2nd point (turn on data when screen is unlock) ? (Python ? Haskell ?)