]> Git Repo - linux.git/commit
power_supply: Add a charge_type property, and use it for olpc driver
authorAndres Salomon <[email protected]>
Thu, 2 Jul 2009 13:45:18 +0000 (09:45 -0400)
committerAnton Vorontsov <[email protected]>
Thu, 2 Jul 2009 14:14:37 +0000 (18:14 +0400)
commitee8076ed3e1cdd0cd1e61318386932669c90b92f
tree0ca72268b6c91a2a07920c93558ea70c32479845
parent144bbeaedc53290eab21da82ce1cb5faefd14374
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 <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
Documentation/power/power_supply_class.txt
drivers/power/olpc_battery.c
drivers/power/power_supply_sysfs.c
include/linux/power_supply.h
This page took 0.045746 seconds and 4 git commands to generate.