Some smart batteries store their manufacture date, which is useful to identify the battery and/or to know about the cell quality.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -159,6 +159,9 @@ enum power_supply_property { · 158 unmodified lines | ||
| 159 | 159 | POWER_SUPPLY_PROP_PRECHARGE_CURRENT, |
| 160 | 160 | POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT, |
| 161 | 161 | POWER_SUPPLY_PROP_CALIBRATE, |
| 162 | + POWER_SUPPLY_PROP_MANUFACTURE_YEAR, | |
| 163 | + POWER_SUPPLY_PROP_MANUFACTURE_MONTH, | |
| 164 | + POWER_SUPPLY_PROP_MANUFACTURE_DAY, | |
| 162 | 165 | /* Properties of type `const char *' */ |
| 163 | 166 | POWER_SUPPLY_PROP_MODEL_NAME, |
| 164 | 167 | POWER_SUPPLY_PROP_MANUFACTURER, |