]> git.neil.brown.name Git - plato.git/commit
battery: add support for monitoring battery voltage.
authorNeilBrown <neil@brown.name>
Thu, 16 Apr 2015 04:03:19 +0000 (14:03 +1000)
committerNeilBrown <neil@brown.name>
Thu, 16 Apr 2015 04:03:19 +0000 (14:03 +1000)
commit461dbc6edcf8169ac82eef5fd0f8c5d32a6b8509
tree8c93221970836a9a372b05e455bbb1674d494240
parenta3383092ed50cfc35c20271a7d76bf8b234f3244
battery: add support for monitoring battery voltage.

Use twl4030 to watch the battery voltage and use it to estimate
capacity when bq27000 not present.

The voltage is in a different place in old and new kernels.

Signed-off-by: NeilBrown <neil@brown.name>
utils/battery.py