Re: [PATCH 5/5] power_supply: add a charge_type status to the api,and use it for olpc driver

From: Mark Brown
Date: Thu Jul 02 2009 - 10:07:05 EST


On Thu, Jul 02, 2009 at 09:45:18AM -0400, Andres Salomon wrote:

> This adds a new sysfs file called 'charge_type' which displays the type of
> charging (unknown, n/a, trickle charge, or fast charging). This allows
> things like battery diagnostics to determine what the battery/EC is doing
> without resorting to changing the 'status' sysfs output.
>
> Signed-off-by: Andres Salomon <dilinger@xxxxxxxxxxxxxxx>

Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/