[PATCH v3 0/2] acpi: battery: Query BCT method for steamdeck

Umang Jain posted 2 patches 2 hours ago
drivers/acpi/battery.c | 45 +++++++++++++++++++++++++++++++++++++++++-
1 file changed, 44 insertions(+), 1 deletion(-)
[PATCH v3 0/2] acpi: battery: Query BCT method for steamdeck
Posted by Umang Jain 2 hours ago
Short series to query Battery charge time ("_BCT") from ACPI tables
for steamdeck devices.

Patch 1/2 introduces the steamdeck device battery quirk.
Patch 2/2 handles the case where steamdeck devices can report "Charging"
even when low power PSU is connected which is discharging the device.

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

Changes in v2:
- comment improvements
- split off BCT method handling into separate patch
- https://lore.kernel.org/all/20260923082932.1049270-1-uajain@igalia.com/

v1:
https://lore.kernel.org/all/20260918135628.2322188-1-uajain@igalia.com/


Umang Jain (2):
  acpi: battery: Introduce Valve steamdeck devices quirk
  acpi: battery: Read Battery charge time for Steamdeck devices

 drivers/acpi/battery.c | 45 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 44 insertions(+), 1 deletion(-)

-- 
2.55.0