[SRU] [Bionic] [PATCH 0/5] Gracefully handle ACPI battery status on Asus laptops
Kai-Heng Feng
kai.heng.feng at canonical.com
Sat Feb 2 15:37:52 UTC 2019
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(-)
--
2.17.1
More information about the kernel-team
mailing list