tlp-stats reports reversed charge thresholds

I'm using a Lenovo Thinkpad L480 with TLP and have installed acpi_call for my current kernel as well as tpacpi-bat.
I have now configured the two lines of my /etc/default/tlp to


which should, as I expect, start charging the battery as soon as it's charge is lower than 65% and stop at 85%. I tried to verify my settings using tlp-stat -b, which prints

/sys/class/power_supply/BAT0/status                         = Unknown (threshold effective)

tpacpi-bat.BAT0.startThreshold                              =     85 [%]
tpacpi-bat.BAT0.stopThreshold                               =     65 [%]
tpacpi-bat.BAT0.forceDischarge                              =      0

Charge                                                      =   82.3 [%]
Capacity                                                    =   99.8 [%]

Now as far as I can tell, the thresholds work as expected, as the battery is not being charged at the current charge of 82.3%, but the startThreshold and stopThreshold values seem to be switched...

Could there be an issue on my side or is that a bug with TLP?

ThinkPad Edge, E / L / S series, SL410/510, Yoga series

On these models the threshold values shown by tlp-stat -b do not correspond to the written values.[...] Nonetheless the charge thresholds work as configured.



This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by