-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ThinkPad X1C6] Error: discharge BAT0 malfunction #395
Comments
Hi, my X1C6 (current development machine for TLP) shows the same error – welcome to the club! It occurs with tpacpi-bat and natacpi (kernel with patches for force_discharge). I guess the ACPI call 'BDSS' used for force_discharge was changed by Lenovo. |
Much as I dislike Lenovo for its near total lack of support for desktop Linux, I do find that, if I use tlp 1.1-2 (an older version), then the calibration works. Also: may I ask whether you have the touchpad-stops-working-after-S3-sleep problem? For, tlp is one of the many ingredients in that problem? (And yes I do have the latest firmware for everything and a recent kernel and I have tried various - many - workarounds.) |
To my considerable surprise: you're right. I'll look into that. Maybe a timing issue ... |
Problem: the X1C6's battery controller returns the "discharging" status very late. Up to 10 seconds pass after force_discharge has been set, but sometimes only one second. The behaviour is identical for tpacpi-bat and natacpi. Solution: extend the timeout from 5 to 15 secs. Write a '.' every second while waiting. Reference: * #395
Well, i think i fixed it. See the above commit for details. Please test – packages here. |
That seems to work: recalibration functions again. I did have trouble installing the .debs, though, probably at least partly because of bugginess in the |
I keep this open as a notice. |
Released with 1.2.2 |
@frauhottelmann : different hardware = different problem. Please open your own issue. I also need the exact command that failed and all of it's output. |
[x] I've read and accepted the Bug Reporting Howto
Describe the bug
Expected behavior
Reclibration, with no error messages.
To Reproduce
Steps to reproduce the unexpected behavior:
AC; the relevant command is not intended to run on battery power.
sudo tlp recalibrate
$ sudo tlp recalibrate
Setting temporary charge thresholds for BAT0:
stop = 100
start = 96
Error: discharge BAT0 malfunction.
4. Full output of
tlp-stat
via https://gist.github.com/ for all cases of 1Instruction seems ambiguous. But here is output for ac and here is output for battery.
Additional context
Kernel: 5.0.2
OS: Linux Mint 19.1 x64
DE: Cinnamon
ThinkPad X1CG6
The text was updated successfully, but these errors were encountered: