aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2025-04-29 02:36:05 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-05-12 13:20:40 +0300
commit303ecf690ae2882f1138ea1437207fba5294da34 (patch)
tree6589cbb061fec6042e461ab672eb8bdd55e9266a /scripts/gdb/linux/utils.py
parentplatform/x86: dell-ddv: Implement the battery matching algorithm (diff)
downloadlinux-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