power_supply: Add a charge_type property, and use it for olpc driver
authorAndres Salomon <dilinger@collabora.co.uk>
Thu, 2 Jul 2009 13:45:18 +0000 (09:45 -0400)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Thu, 2 Jul 2009 14:14:37 +0000 (18:14 +0400)
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@collabora.co.uk>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>

No differences found