Re: [PATCH v2] ACPI / battery: add quirk for Asus GL502VSK and UX305LA

From: Rafael J. Wysocki
Date: Mon Dec 04 2017 - 09:48:16 EST


On Tuesday, November 21, 2017 9:33:06 AM CET Kai-Heng Feng wrote:
> From: Kai Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>
>
> On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging when
> battery is full and AC is plugged.
>
> However rate_now is correct under this circumstance, hence we can use
> "rate_now == 0" as a predicate to report battery full status correctly.
>
> BugLink: https://bugs.launchpad.net/bugs/1482390
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>

Applied, thanks!

Rafael