summaryrefslogtreecommitdiff
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2021-12-23 00:20:14 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-12-30 19:24:59 +0300
commite96c1197aca628f7d2480a1cc3214912b40b3414 (patch)
tree5d57f2b00748ff8172e98d32951dd4a074cfe128 /drivers/acpi/cppc_acpi.c
parentfc74e0a40e4f9fd0468e34045b0c45bba11dcbb2 (diff)
downloadlinux-e96c1197aca628f7d2480a1cc3214912b40b3414.tar.xz
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. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions