mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2]  acpi: battery: Query BCT method for steamdeck
@ 2026-10-14 20:45 Umang Jain
  2026-10-14 20:45 ` [PATCH v3 1/2] acpi: battery: Introduce Valve steamdeck devices quirk Umang Jain
  2026-10-14 20:45 ` [PATCH v3 2/2] acpi: battery: Read Battery charge time for Steamdeck devices Umang Jain
  0 siblings, 2 replies; 3+ messages in thread
From: Umang Jain @ 2026-10-14 20:45 UTC (permalink / raw)
  To: Rafael J . Wysocki, Len Brown
  Cc: linux-acpi, linux-kernel, kernel-dev, Umang Jain

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-14 20:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 20:45 [PATCH v3 0/2] acpi: battery: Query BCT method for steamdeck Umang Jain
2026-10-14 20:45 ` [PATCH v3 1/2] acpi: battery: Introduce Valve steamdeck devices quirk Umang Jain
2026-10-14 20:45 ` [PATCH v3 2/2] acpi: battery: Read Battery charge time for Steamdeck devices Umang Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®