diff options
author | Heikki Krogerus <ext-heikki.krogerus@nokia.com> | 2010-10-04 10:51:38 +0300 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-10-06 17:37:22 +0400 |
commit | fe3f6d097a042cff54bc1dc06f21ef528affe8ca (patch) | |
tree | c92c3ad496bf1e2779067142cd438d4182fecd90 /include/linux/power_supply.h | |
parent | 85efc8a18cedf70e55acd0c825e2d9d2f3b19999 (diff) |
power_supply: Introduce maximum current property
USB only gives the maximum current allowed to draw.
Signed-off-by: Heikki Krogerus <ext-heikki.krogerus@nokia.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'include/linux/power_supply.h')
-rw-r--r-- | include/linux/power_supply.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index d37fef67ece2..7d7325685c42 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -89,6 +89,7 @@ enum power_supply_property { POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN, POWER_SUPPLY_PROP_VOLTAGE_NOW, POWER_SUPPLY_PROP_VOLTAGE_AVG, + POWER_SUPPLY_PROP_CURRENT_MAX, POWER_SUPPLY_PROP_CURRENT_NOW, POWER_SUPPLY_PROP_CURRENT_AVG, POWER_SUPPLY_PROP_POWER_NOW, |