Battery Health on Debian
Imposing charge limits does a huge benifit to your battery life in the long run especially if you are someone like me who keeps their laptop plugged in most of the time. This will guide you to do that on Debian 13
- Install tlp (Debian/Ubuntu):
1
2
3
sudo apt update
sudo apt install tlp
sudo systemctl enable --now tlp
- Edit the configuration:
1
2
sudo nano /etc/tlp.conf
# look for START_CHARGE_THRESH_BAT0 and STOP_CHARGE_THRESH_BAT0
- Check what your hardware supports:
1
tlp-stat -b
Look for a line like:
Parameter value range:
- STOP_CHARGE_THRESH_BAT0: 0(off), 1(on) – battery conservation mode
If your machine supports only 0/1 then setting
STOP_CHARGE_THRESH_BAT0=1
will enable conservation mode (on Lenovo/Ideapad this writes to a kernel driver file). For hardware that supports numeric thresholds you can set values like START_CHARGE_THRESH_BAT0=40 and STOP_CHARGE_THRESH_BAT0=80.
- Apply and verify:
1
2
3
sudo tlp start
sudo tlp-stat -s -c -b
# you should see "Battery Care" / "conservation_mode = 1" or your configured thresholds
Notes
- tlp applies settings at boot when the service is enabled. If a vendor kernel module (eg.
ideapad_laptop) is used,tlpwill toggle the driver’s conservation_mode. - If you see only on/off support, use the safe default (enable conservation). If thresholds are supported, pick conservative numbers (40–80%).
- Always double-check
tlp-stat -boutput before changing settings.
That’s it — a quick way to reduce long-term battery wear on Linux.
This post is licensed under CC BY 4.0 by the author.