diff options
| author | Kai-Heng Feng <[email protected]> | 2017-11-21 08:33:06 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2017-12-18 11:25:51 +0000 |
| commit | c68f0676ef7df08d52a65031db3e0ba017dbfd89 (patch) | |
| tree | 03f3087ebc63271a03e409e0427563ebcd6f3b4f /drivers/acpi/cppc_acpi.c | |
| parent | ACPI: battery: Drop redundant test for failure (diff) | |
| download | kernel-c68f0676ef7df08d52a65031db3e0ba017dbfd89.tar.gz kernel-c68f0676ef7df08d52a65031db3e0ba017dbfd89.zip | |
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 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
