diff options
| author | Ramakrishna Pallala <[email protected]> | 2012-10-09 22:25:29 +0530 |
|---|---|---|
| committer | Anton Vorontsov <[email protected]> | 2012-11-17 20:21:43 -0800 |
| commit | ea2ce92e44dc83b7a69c2aedd9c52bfe7fee1a62 (patch) | |
| tree | bd7a548752735e355b88f2864bd24521e79ff865 /include | |
| parent | a77d60aec70183faa68b7df4a3fa89fbaf592cf5 (diff) | |
power_supply: Add support for CHARGE_CONTROL_* attributes
Add support for power supply attributes CHARGE_CONTROL_LIMIT
and CHARGE_CONTROL_LIMIT_MAX.
These new attributes will enable the user space to implement
custom charging algorithms based on platform state.
Signed-off-by: Ramakrishna Pallala <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/power_supply.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index e5ef45834c3c..445b4b249af5 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -114,6 +114,8 @@ enum power_supply_property { POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX, POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE, POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE_MAX, + POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT, + POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT_MAX, POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN, POWER_SUPPLY_PROP_ENERGY_EMPTY_DESIGN, POWER_SUPPLY_PROP_ENERGY_FULL, |