diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2017-11-21 11:33:06 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-12-18 14:25:51 +0300 |
commit | c68f0676ef7df08d52a65031db3e0ba017dbfd89 (patch) | |
tree | 03f3087ebc63271a03e409e0427563ebcd6f3b4f /drivers/cpufreq/cpufreq_userspace.c | |
parent | 6993ce46c910ec83b4a7f064bbf76f254217019c (diff) | |
download | linux-c68f0676ef7df08d52a65031db3e0ba017dbfd89.tar.xz |
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 <kai.heng.feng@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_userspace.c')
0 files changed, 0 insertions, 0 deletions