summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@debian.org>2008-09-04 15:31:20 -0400
committerAndres Salomon <dilinger@debian.org>2008-09-04 15:31:20 -0400
commit7bd35a5e461731c283dfcb8d8b2ba2436a95405b (patch)
tree836a15c4f59fab72a35fb223d11494b34c219f40 /include/linux
parent222f7583b4602355bf507280ff466a9c19090729 (diff)
downloadlwn-7bd35a5e461731c283dfcb8d8b2ba2436a95405b.tar.gz
lwn-7bd35a5e461731c283dfcb8d8b2ba2436a95405b.zip
OLPC: power_supply: have status treat TRICKLE and CHARGING differently
Spit out either "Charging" or "Charging (trickle)" depending upon whether or not TRICKLE is set. Signed-off-by: Andres Salomon <dilinger@debian.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/power_supply.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index a45864204b5c..0743ee5d3475 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -33,6 +33,7 @@
enum {
POWER_SUPPLY_STATUS_UNKNOWN = 0,
POWER_SUPPLY_STATUS_CHARGING,
+ POWER_SUPPLY_STATUS_TRICKLE_CHARGING,
POWER_SUPPLY_STATUS_DISCHARGING,
POWER_SUPPLY_STATUS_EMPTY,
POWER_SUPPLY_STATUS_NOT_CHARGING,