diff options
author | 2025-04-29 02:36:05 +0200 | |
---|---|---|
committer | 2025-05-12 13:20:40 +0300 | |
commit | 303ecf690ae2882f1138ea1437207fba5294da34 (patch) | |
tree | 6589cbb061fec6042e461ab672eb8bdd55e9266a /scripts/gdb/linux/utils.py | |
parent | platform/x86: dell-ddv: Implement the battery matching algorithm (diff) | |
download | linux-rng-303ecf690ae2882f1138ea1437207fba5294da34.tar.xz linux-rng-303ecf690ae2882f1138ea1437207fba5294da34.zip |
platform/x86: dell-ddv: Expose the battery manufacture date to userspace
The manufacture date of a given battery is exposed over the Dell DDV
WMI interface using the "BatteryManufactureDate" WMI method. The
resulting data contains the manufacture date of the battery encoded
inside a 16-bit value as described in the Smart Battery Data
Specification.
Expose this value to userspace using the power supply extension
interface.
Tested on a Dell Inspiron 3505.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20250429003606.303870-3-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions