Linux Thinkpad Learnings
A few weeks ago the USB-C power supply of my work notebook died. As a replacement I ordered a UGreen one which can power multiple USB-C devices -- resulting in less power plugs on my desk at home.
After this I looked into not killing the battery of this Thinkpad by configuring the charging. Addionally the tool I installed could manage the temperature by not powering the notebook to the limit.
The Thinkpad I got from my employer is a Lenovo T14 Gen3 Ryzen7. Because I work at home most of the time, the notebook is pluged in nearly all the time. It is not healthy for the battery to always charge a tiny bit until it is full again.
To fix this I install TLP. The default Battery charging thresholds are perfect:
# Battery charge level below which charging will begin. START_CHARGE_THRESH_BAT0=75 # Battery charge level above which charging will stop. STOP_CHARGE_THRESH_BAT0=80
These values are the defaults, but I still removed the comments for me to be aware that I want them like that.
Additionally I unplugged the notebook a few times and recharged it, to give the battery a bit of "normal" charging. I am aware that mistreated batteries need to be observed if they inflate. Mine seems to be okay.
So as I already said, the Thinkpad is most of the time on AC.
And when using a lot of CPU the notebook gets warm and loud.
I was not aware that there are multiple power profiles to manage this.
Then plugged into AC the performance profile is active, which results in more heat and fan spinning when all cores are busy.
But I actually don't need the performance profile of the notebook running on maximum when connected to AC.
So I changed the platform profile for AC from performance to balanced with this line in the config:
I still could change it to performace again when needed.
Or even to low-power when I don't want to have the fan spinning.
This resolved the two ThinkPad issues I wasn't aware I needed to fix. 🎉