Re: [PATCH v2 4/4] platform/x86: ideapad-laptop: Add charge_types:Fast (Rapid Charge)
From: Jelle van der Waa
Date: Thu Nov 06 2025 - 07:59:29 EST
On 05/11/2025 19:28, Rong Zhang wrote:
The GBMD/SBMC interface on recent devices supports Rapid Charge mode<snip>
(charge_types: Fast) in addition to Conservation Mode (charge_types:
Long_Life).
Query the GBMD interface on probe to determine if a device supports
Rapid Charge. If so, expose these two modes while carefully maintaining
their mutually exclusive state, which aligns with the behavior of
manufacturer utilities on Windows.
Signed-off-by: Rong Zhang <i@xxxxxxxx>
Acked-by: Ike Panhc <ikepanhc@xxxxxxxxx>
Reviewed-by: Mark Pearson <mpearson-lenovo@xxxxxxxxx>
---
Changes in v2:
- Only expose Rapid Charge on devices that support it (thanks Jelle van
der Waa)
- Reword commit message
---
Tested on my U330p and it doesn't expose the "Fast" charge type as expected.
You can add Tested-By: Jelle van der Waa <jelle@xxxxxxxx>
Thanks,
Jelle van der Waa