summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/thinkpad_acpi.c
diff options
context:
space:
mode:
authorOgnjen Galic <smclt30p@gmail.com>2018-02-07 15:59:36 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-02-21 23:27:14 +0100
commit91eea70e5e5ce12eb1c7cd922e561fab43e201bd (patch)
treed88311e951a7614f03b162379e8fc18688674314 /drivers/platform/x86/thinkpad_acpi.c
parent2801b9683f740012863f7f0b1f0bc770c417fe72 (diff)
ACPI: battery: Add the ThinkPad "Not Charging" quirk
The EC/ACPI firmware on Lenovo ThinkPads used to report a status of "Unknown" when the battery is between the charge start and charge stop thresholds. On Windows, it reports "Not Charging" so the quirk has been added to also report correctly. Now the "status" attribute returns "Not Charging" when the battery on ThinkPads is not physicaly charging. Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Ognjen Galic <smclt30p@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/platform/x86/thinkpad_acpi.c')
0 files changed, 0 insertions, 0 deletions