Skip to content

Add support for presence detection, actual and remaining battery capacity

Martyn Welch requested to merge T7587 into tcl-linux-4.9.y

The battery monitor firmware now has support for detecting battery presence and reporting actual and remaining battery capacity.

This patch removes the current support for battery presence detection, relying in the battery monitor to provide this information instead. In adding reporting for full capacity and current capacity, the variable used for current state of charge is renamed to avoid confusion.

Signed-off-by: Martyn Welch martyn@welchs.me.uk

Merge request reports