diff options
author | 2009-07-02 09:45:18 -0400 | |
---|---|---|
committer | 2009-07-02 18:14:37 +0400 | |
commit | ee8076ed3e1cdd0cd1e61318386932669c90b92f (patch) | |
tree | 0ca72268b6c91a2a07920c93558ea70c32479845 /lib/spinlock_debug.c | |
parent | olpc_battery: Add an 'error' sysfs device that displays raw errors (diff) | |
download | linux-rng-ee8076ed3e1cdd0cd1e61318386932669c90b92f.tar.xz linux-rng-ee8076ed3e1cdd0cd1e61318386932669c90b92f.zip |
power_supply: Add a charge_type property, and use it for olpc driver
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>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions