History

power: supply: core: add capacity error margin property

Add a property for reporting the error margin expected by fuel gauge chips.

Sebastian Reichel committed 6 years ago

Commit bac705a1 parent 655078f3 files · +17 −0Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/power_supply.h+1−0
@@ -139,6 +139,7 @@ enum power_supply_property { · 138 unmodified lines
139139 POWER_SUPPLY_PROP_CAPACITY, /* in percents! */
140140 POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN, /* in percents! */
141141 POWER_SUPPLY_PROP_CAPACITY_ALERT_MAX, /* in percents! */
142+ POWER_SUPPLY_PROP_CAPACITY_ERROR_MARGIN, /* in percents! */
142143 POWER_SUPPLY_PROP_CAPACITY_LEVEL,
143144 POWER_SUPPLY_PROP_TEMP,
144145 POWER_SUPPLY_PROP_TEMP_MAX,