diff options
author | Kai-Heng Feng <[email protected]> | 2017-11-21 03:33:06 -0500 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2017-12-18 12:25:51 +0100 |
commit | c68f0676ef7df08d52a65031db3e0ba017dbfd89 (patch) | |
tree | 03f3087ebc63271a03e409e0427563ebcd6f3b4f /lib/memory-notifier-error-inject.c | |
parent | 6993ce46c910ec83b4a7f064bbf76f254217019c (diff) |
ACPI / battery: Add quirk for Asus GL502VSK and UX305LA
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.
Link: https://bugs.launchpad.net/bugs/1482390
Signed-off-by: Kai-Heng Feng <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions