RE: [PATCH] platform/x86:dell-laptop:Add battery charging thresholds and charging mode switch.

From: Yuan, Perry
Date: Tue Aug 04 2020 - 01:58:04 EST


> From: Matthew Garrett <mjg59@xxxxxxxxxxxxx>
> Sent: Tuesday, August 4, 2020 1:54 PM
> To: Yuan, Perry
> Cc: kernel test robot; sre@xxxxxxxxxx; pali@xxxxxxxxxx; dvhart@xxxxxxxxxxxxx;
> andy@xxxxxxxxxxxxx; Limonciello, Mario; kbuild-all@xxxxxxxxxxxx; linux-
> pm@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; platform-driver-
> x86@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH] platform/x86:dell-laptop:Add battery charging thresholds
> and charging mode switch.
>
>
> [EXTERNAL EMAIL]
>
> On Tue, Aug 04, 2020 at 05:46:30AM +0000, Yuan, Perry wrote:
>
> > It is not patch issue, the kernel config needs to add
> "CONFIG_ACPI_BATTERY=y"
>
> In that case you probably want to add a dependency to ACPI_BATTERY in the
> DELL_LAPTOP Kconfig.
>
> --
> Matthew Garrett | mjg59@xxxxxxxxxxxxx

Thank you Matthew.
I will add it to the Kconfig as DELL_LAPTOP dependency.