[PATCH v3] Support batteries that report both energy and charge.

Richard Hughes hughsient at gmail.com
Wed Mar 30 06:17:35 PDT 2011


On 24 March 2011 19:04, Benson Leung <bleung at chromium.org> wrote:
> More cleanly support batteries that report both energy and charge,
> but do not report power_now. One battery driver in drivers/power
> (bq20z75) supports reporting energy and charge natively from the
> fuel gauge, but does not report power_now. The previous legacy behavior
> would ignore the existence of charge and treat current_now as
> being in units of power.
>
> Signed-off-by: Benson Leung <bleung at chromium.org>

Applied to git master, many thanks.

Richard.


More information about the devkit-devel mailing list