OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
termux_battery_monitor Namespace Reference

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.

Detailed Description

Bounded Termux:API battery polling, independent of host sampling and the UI.