Calibrate ThinkPad laptop battery on Linux

Calibrate ThinkPad laptop battery on Linux

Install & start tlp & check system status. Then run powertop and calibrate the battery.

sudo apt update
sudo apt install tlp tlp-rdw --no-install-recommends
sudo apt install acpi-call-dkms
sudo tlp-stat
sudo apt install powertop
sudo powertop -c
💡

Keep in mind: during calibration, your screen may go blank or flicker for a few mins.

Uncomment the following lines in /etc/tlp.conf and add the desired charge start and stop percentage. (Start percentage must be 3% higher then the stop)

START_CHARGE_THRESH_BAT0 = 50
STOP_CHARGE_THRESH_BAT0 = 80

Tested on: Pop!_OS 22.04 and LDME 5 HW: ThinkPad X1 Carbon gen 7