Bounded Termux:API battery polling, independent of host sampling and the UI. More...
Classes | |
| class | TermuxBatteryMonitor |
| Cache Android battery readings; a slow companion app cannot stall metrics. More... | |
Functions | |
| parse_battery (payload) | |
| Use API degrees Celsius and percent directly, never sysfs units. | |
Bounded Termux:API battery polling, independent of host sampling and the UI.