mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
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>
This commit is contained in:
parent
9ef4510626
commit
c7cc930f9a
3 changed files with 11 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue