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
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?