]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ACPI / battery: add quirk for Acer Aspire V5-573G
authorAlexander Mezin <mezin.alexander@gmail.com>
Tue, 3 Jun 2014 19:01:23 +0000 (02:01 +0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 17 Jun 2014 11:57:50 +0000 (13:57 +0200)
commitf43691c61d6e547809bff33394ac83cc263960e4
tree4ed25bdc02bfb67704f7484e6518a70558e03c25
parent3f5dc08f5682bba2b9054ee8995e0d84fc14daad
ACPI / battery: add quirk for Acer Aspire V5-573G

On Acer Aspire V5-573G battery notifications are sometimes
triggered too early. For example, when AC is unplugged and
notification is triggered, battery state is still reported as
"Full", and changes to "Discharging" only after short delay,
without any notification.

This patch solves the problem by adding 1 second sleep.
Similar quirk is already implemented in AC driver for other laptop.

Signed-off-by: Alexander Mezin <mezin.alexander@gmail.com>
Acked-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c