diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-01-07 04:12:41 +0300 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2008-02-02 02:43:00 +0300 |
commit | c7cc930f9a5c26385a08cd7dc28cb5e3ed186d72 (patch) | |
tree | 14c7d2360d4f0d11bed99ecf41a18d2048f34cea /include | |
parent | 9ef45106261e802f9d80bf0bc652124b42b1f344 (diff) | |
download | kernel_samsung_aries-c7cc930f9a5c26385a08cd7dc28cb5e3ed186d72.zip kernel_samsung_aries-c7cc930f9a5c26385a08cd7dc28cb5e3ed186d72.tar.gz kernel_samsung_aries-c7cc930f9a5c26385a08cd7dc28cb5e3ed186d72.tar.bz2 |
power_supply: add few more values and props
Add LiMn (one of the most common for small non-rechargable batteries)
battery technology and voltage_min/_max properties support.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Anton Vorontsov <cbou@mail.ru>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/power_supply.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 358b38d..5cbf3e3 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -54,6 +54,7 @@ enum { POWER_SUPPLY_TECHNOLOGY_LIPO, POWER_SUPPLY_TECHNOLOGY_LiFe, POWER_SUPPLY_TECHNOLOGY_NiCd, + POWER_SUPPLY_TECHNOLOGY_LiMn, }; enum power_supply_property { @@ -63,6 +64,8 @@ enum power_supply_property { POWER_SUPPLY_PROP_PRESENT, POWER_SUPPLY_PROP_ONLINE, POWER_SUPPLY_PROP_TECHNOLOGY, + POWER_SUPPLY_PROP_VOLTAGE_MAX, + POWER_SUPPLY_PROP_VOLTAGE_MIN, POWER_SUPPLY_PROP_VOLTAGE_MAX_DESIGN, POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN, POWER_SUPPLY_PROP_VOLTAGE_NOW, |