I get an error when executing the command
$ sudo tlp setcharge 40 60
/gnu/store/ypdi8gxswgnshhmxxdj66cb51krx1d63-tlp-1.8.0/share/tlp/bat.d/05-thinkpad:
line 651: perl: command not found
/gnu/store/ypdi8gxswgnshhmxxdj66cb51krx1d63-tlp-1.8.0/share/tlp/bat.d/05-thinkpad:
line 1231: : : integer expression expected
It seems the TLP shell script is employing the wrong perl PATH, and if
perl is not installed in the current prefix, it fails.
Thank you for the report. I committed a fix on master branch. Could you
confirm it solves your issue?
Thank you. I can confirm you solved this issue.
I can now happily use the new TLP 1.8 without problems.
Have a good day.
--
Gustavo