APPLIED: [SRU] [Bionic] [PATCH 0/5] Gracefully handle ACPI battery status on Asus laptops

Kleber Souza kleber.souza at canonical.com
Fri Feb 22 09:12:15 UTC 2019


On 2/2/19 4:37 PM, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1745032
>
> [Impact]
> My original fix for LP: #1745032 got placed by a more general solution,
> so replace the old one with the new one.
>
> 1) The DMI based solution got reverted, so we won't be able to SRU any
> new affected models from upstream.
> 2) Many Asus laptops are affected by this bug, DMI quirk table will be really
> unmaintainable.
>
> [Test]
> Along with fixes in UPower, Gnome Settings Daemon and Gnome Shell, the
> user confirm the kernel fix works.
>
> [Fix]
> Reports the power status as POWER_SUPPLY_STATUS_NOT_CHARGING, the
> userspace will handle the rest.
>
> [Regression Potential]
> Low. It covers a corner case when "power_supply_is_system_supplied()
> && battery->rate_now == 0", other cases are unaffected.
>
> Daniel Drake (1):
>   Revert "ACPI / battery: Add quirk for Asus GL502VSK and UX305LA"
>
> Hans de Goede (4):
>   ACPI / AC: Remove initializer for unused ident dmi_system_id
>   ACPI / battery: Remove initializer for unused ident dmi_system_id
>   ACPI / battery: Add handling for devices which wrongly report
>     discharging state
>   ACPI / battery: Ignore AC state in handle_discharging on systems where
>     it is broken
>
>  drivers/acpi/ac.c      |  2 +-
>  drivers/acpi/battery.c | 69 ++++++++++++++++++------------------------
>  2 files changed, 31 insertions(+), 40 deletions(-)
>
Applied to bionic/master-next branch.

Thanks,
Kleber




More information about the kernel-team mailing list