Machine: thinkpad t480
OS: ubuntu 24.04 LTS
- Change charge threshold: Keep the lithium-ion batteries between 40%-80% for regular use, as charging to 100% constantly can degrade the battery.
- For dual battery setup, you might want to configure separate charging thresholds for both.
- Install tlp
Steps to change charging threshold permanently
- Open the TLO configuration file:
sudo nano /etc/tlp.conf
- Modify the battery charge control section:
# Battery charge thresholds for BAT0 (internal)
START_CHARGE_THRESH_BAT0=40
STOP_CHARGE_THRESH_BAT0=80
# Battery charge thresholds for BAT1 (external)
START_CHARGE_THRESH_BAT1=30
STOP_CHARGE_THRESH_BAT1=85
- save the file and restart TLP
sudo tlp start
Adjust based on usage: 50-90 -> travel, 40-80 -> docked
- Monitor battery health
sudo tlp-stat -b