diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/power_supply.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 59ed2dd9dba9..53f177db6ac9 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h | |||
@@ -109,6 +109,8 @@ enum power_supply_property { | |||
109 | POWER_SUPPLY_PROP_CHARGE_NOW, | 109 | POWER_SUPPLY_PROP_CHARGE_NOW, |
110 | POWER_SUPPLY_PROP_CHARGE_AVG, | 110 | POWER_SUPPLY_PROP_CHARGE_AVG, |
111 | POWER_SUPPLY_PROP_CHARGE_COUNTER, | 111 | POWER_SUPPLY_PROP_CHARGE_COUNTER, |
112 | POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT, | ||
113 | POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE, | ||
112 | POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN, | 114 | POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN, |
113 | POWER_SUPPLY_PROP_ENERGY_EMPTY_DESIGN, | 115 | POWER_SUPPLY_PROP_ENERGY_EMPTY_DESIGN, |
114 | POWER_SUPPLY_PROP_ENERGY_FULL, | 116 | POWER_SUPPLY_PROP_ENERGY_FULL, |
@@ -239,6 +241,7 @@ static inline bool power_supply_is_amp_property(enum power_supply_property psp) | |||
239 | case POWER_SUPPLY_PROP_CHARGE_NOW: | 241 | case POWER_SUPPLY_PROP_CHARGE_NOW: |
240 | case POWER_SUPPLY_PROP_CHARGE_AVG: | 242 | case POWER_SUPPLY_PROP_CHARGE_AVG: |
241 | case POWER_SUPPLY_PROP_CHARGE_COUNTER: | 243 | case POWER_SUPPLY_PROP_CHARGE_COUNTER: |
244 | case POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT: | ||
242 | case POWER_SUPPLY_PROP_CURRENT_MAX: | 245 | case POWER_SUPPLY_PROP_CURRENT_MAX: |
243 | case POWER_SUPPLY_PROP_CURRENT_NOW: | 246 | case POWER_SUPPLY_PROP_CURRENT_NOW: |
244 | case POWER_SUPPLY_PROP_CURRENT_AVG: | 247 | case POWER_SUPPLY_PROP_CURRENT_AVG: |
@@ -266,6 +269,7 @@ static inline bool power_supply_is_watt_property(enum power_supply_property psp) | |||
266 | case POWER_SUPPLY_PROP_VOLTAGE_NOW: | 269 | case POWER_SUPPLY_PROP_VOLTAGE_NOW: |
267 | case POWER_SUPPLY_PROP_VOLTAGE_AVG: | 270 | case POWER_SUPPLY_PROP_VOLTAGE_AVG: |
268 | case POWER_SUPPLY_PROP_VOLTAGE_OCV: | 271 | case POWER_SUPPLY_PROP_VOLTAGE_OCV: |
272 | case POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE: | ||
269 | case POWER_SUPPLY_PROP_POWER_NOW: | 273 | case POWER_SUPPLY_PROP_POWER_NOW: |
270 | return 1; | 274 | return 1; |
271 | default: | 275 | default: |