diff options
author | Andres Salomon <dilinger@collabora.co.uk> | 2009-07-02 13:45:18 (GMT) |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2009-07-02 14:14:37 (GMT) |
commit | ee8076ed3e1cdd0cd1e61318386932669c90b92f (patch) | |
tree | 0ca72268b6c91a2a07920c93558ea70c32479845 /mm | |
parent | 144bbeaedc53290eab21da82ce1cb5faefd14374 (diff) | |
download | linux-fsl-qoriq-ee8076ed3e1cdd0cd1e61318386932669c90b92f.tar.xz |
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 'mm')
0 files changed, 0 insertions, 0 deletions