https://bugzilla.kernel.org/show_bug.cgi?id=205939
Bug ID: 205939
Summary: Thinkpad battery: status=Unknown in sysfs when
charge_*_threshold in effect
Product: ACPI
Version: 2.5
Kernel Version: 5.4.3
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Power-Battery
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Hello,
on Thinkpads (tested on a W530 and X1 Extreme Gen 2), charge thresholds can be
set under /sys/class/power_supply/BAT0/charge_{start,stop}_threshold.
When a stop threshold is set to e.g. 90, the battery will stop charging when it
reaches 90%. However, /sys/class/power_supply/BAT0/status will now show
"Unknown", when it should be something else. Probably "Full", but one might
argue that it's not really "full"...
The "Unknown" status confuses userspace. e.g. upower will make wrong
assumptions about the battery state. It will assume an idle battery is still
charging (when below 90%).
Thanks!
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla