Re: [PATCH v5] platform/x86/fujitsu-laptop: Add battery charge control support

From: Ilpo Järvinen
Date: Tue Feb 27 2024 - 07:54:41 EST


On Tue, 27 Feb 2024, Szilard Fabian wrote:

> This patch adds battery charge control support on Fujitsu notebooks
> via the S006 method of the FUJ02E3 ACPI device. With this method it's
> possible to set charge_control_end_threshold between 50 and 100%.
>
> Tested on Lifebook E5411 and Lifebook U728. Sadly I can't test this
> patch on a dual battery one, but I didn't find any clue about
> independent battery charge control on dual battery Fujitsu notebooks
> either. And by that I mean checking the DSDT table of various Lifebook
> notebooks and reverse engineering FUJ02E3.dll.
>
> Signed-off-by: Szilard Fabian <szfabian@xxxxxxxxxxxxx>
> ---
> v5:
> * add ACPI_BATTERY dependency into Kconfig

Thanks. My intention was that you'd send a new patch on top of what is
already applied. But it doesn't matter anymore, I took the relevant line
out of it and squashed it into the original commit.


--
i.