History

power: supply: core: add manufacture date properties

Some smart batteries store their manufacture date, which is useful to identify the battery and/or to know about the cell quality.

Sebastian Reichel committed 6 years ago

Commit feabe491 parent bac705a3 files · +34 −0Browse files

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

Unified · Split

include/linux/power_supply.h+3−0
@@ -159,6 +159,9 @@ enum power_supply_property { · 158 unmodified lines
159159 POWER_SUPPLY_PROP_PRECHARGE_CURRENT,
160160 POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT,
161161 POWER_SUPPLY_PROP_CALIBRATE,
162+ POWER_SUPPLY_PROP_MANUFACTURE_YEAR,
163+ POWER_SUPPLY_PROP_MANUFACTURE_MONTH,
164+ POWER_SUPPLY_PROP_MANUFACTURE_DAY,
162165 /* Properties of type `const char *' */
163166 POWER_SUPPLY_PROP_MODEL_NAME,
164167 POWER_SUPPLY_PROP_MANUFACTURER,