aboutsummaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorAndrĂ© Almeida <[email protected]>2021-10-08 00:05:29 -0300
committerRafael J. Wysocki <[email protected]>2021-10-13 19:53:16 +0200
commit2835f327bd1240508db2c89fe94a056faa53c49a (patch)
treebed678eadd14f46dfcca56cb32fbfdd36d0cd124 /include/linux/workqueue.h
parent64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc (diff)
ACPI: battery: Accept charges over the design capacity as full
Some buggy firmware and/or brand new batteries can support a charge that's slightly over the reported design capacity. In such cases, the kernel will report to userspace that the charging state of the battery is "Unknown", when in reality the battery charge is "Full", at least from the design capacity point of view. Make the fallback condition accepts capacities over the designed capacity so userspace knows that is full. Signed-off-by: AndrĂ© Almeida <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Reviewed-by: Sebastian Reichel <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions