[PATCH v4 0/1] acpi: battery: Read Battery charge time for Steamdeck devices
From: Umang Jain
Date: Mon Nov 16 2026 - 05:26:43 EST
Patch to query Battery charge time ("_BCT") from ACPI tables
for steamdeck devices to determine when low power PSU is connected,
which is discharging the device.
changes in v4:
- Merge both 1/2 and 2/2 into single patch
- Set quirk and _BCT reading at same place
- Edit comments for the same.
- Log failed message as acpi_handle_debug()
- Split case when _BCT value > ACPI_UINT32_MAX
Changes in v3:
- Only query BCT method for the steamdeck quirk
- Drop charge_time member from battery object
- check for returned value from acpi_evaluate_integer for max
ACPI_UINT32_MAX bounds as per the spec
Link: https://lore.kernel.org/all/20261014204558.466130-1-uajain@xxxxxxxxxx/
Changes in v2:
- comment improvements
- split off BCT method handling into separate patch
- https://lore.kernel.org/all/20260923082932.1049270-1-uajain@xxxxxxxxxx/
v1:
https://lore.kernel.org/all/20260918135628.2322188-1-uajain@xxxxxxxxxx/
Umang Jain (1):
acpi: battery: Read Battery charge time("_BCT") for Steamdeck devices
drivers/acpi/battery.c | 49 +++++++++++++++++++++++++++++++++++++++++-
1 file changed, 48 insertions(+), 1 deletion(-)
--
2.55.0