Conversation started Aug 14, 2016 at 16:48.
Aug 14, 2016 16:48
Actually the battery on the Nexus 9 is not fully charged. The full charge capacity seems to be closer to 6380 mAh, more than 95% of original charge capacity. This is excellent given the age of the device.
1 hour ago, by bwDraco
I am able to get detailed battery status through
/sys/class/power_supply_bms
. Current full charge capacity is 2538 of 2704 mAh (93.9%), computed using charge_full
and charge_full_design
.
As for my Nexus 5X, when charging is disabled, it seems that the battery still discharges when plugged in, albeit very slowly (according to Ampere). Regardless, being able to keep tabs on the battery and even programmatically disable charging lets me maximize battery service life.
This is because I can tell the phone to stop charging at a certain charge level since full charges are stressful on the battery. While it's not as good as automatically stopping charging at a certain charge level (e.g. 80%), software charging control means I can keep the phone plugged in and manage charging without having to disconnect the charger repeatedly or repeatedly charge and discharge the battery near the target battery level.

A battery management system (BMS) is any electronic system that manages a rechargeable battery (cell or battery pack), such as by protecting the battery from operating outside its Safe Operating Area, monitoring its state, calculating secondary data, reporting that data, controlling its environment, authenticating it and / or balancing it.
A battery pack built together with a battery management system with an external communication data bus is a smart battery pack. A smart battery pack must be charged by a smart battery charger.
== Functions ==
=== Monitor ===
A BMS may monitor the stat...
{"version":1,"control":{"apply":"#!\/system\/bin\/sh\n\nstatus=$1\n\n#$status is either 1 or 0\necho $status > \/sys\/class\/power_supply\/battery\/battery_charging_enabled","enable":"#!\/system\/bin\/sh\n\n#Returns 1 if enabled and 0 if disabled\ncat \/sys\/class\/power_supply\/battery\/battery_charging_enabled","title":"Battery Charging","description":"Disable to stop charging while plugged in (useful for limiting maximum charge level)","id":"switch"}}
Conversation ended Aug 14, 2016 at 17:22.
Battery monitoring and control on Nexus 5X and Nexus 9—part 2
Aug '1614
Participants
- bwDraco 71%
- djsmiley2k 23%
- ChatBot John Cavil 4%
all times are UTC