BatteryBotPro gives some of extra information including the voltage of the battery, and includes several hacks to get mA (which do not apparently work on all phones, but may still be useful on a number of them). It also includes access to predictions of how much time is left until the battery runs out or finishes recharging, etc. It would be useful to add these features to termux-battery-status for scripts to make use of.
For convenience, here is the mA code, and here is the general battery info code. And here is some battery prediction stuff.
BatteryBotPro gives some of extra information including the voltage of the battery, and includes several hacks to get mA (which do not apparently work on all phones, but may still be useful on a number of them). It also includes access to predictions of how much time is left until the battery runs out or finishes recharging, etc. It would be useful to add these features to
termux-battery-statusfor scripts to make use of.For convenience, here is the mA code, and here is the general battery info code. And here is some battery prediction stuff.