From: Andres Salomon Date: Thu, 2 Jul 2009 13:45:18 +0000 (-0400) Subject: power_supply: Add a charge_type property, and use it for olpc driver X-Git-Tag: v2.6.32-rc1~158^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee8076ed3e1cdd0cd1e61318386932669c90b92f;p=pandora-kernel.git 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 Acked-by: Mark Brown Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed