Some Lenovo laptops support Conservation Mode, where the battery stops charging after 60% to reduce charge cycle wear.
While this feature is exposed to Linux users, it is not the easiest thing to configure, especially when you want to toggle it frequently.
Lenovo-Linux-Conservation-Mode
provides a more convenient way to toggle Conservation Mode in a Linux environment.
Contributing to the tested device list is welcome! Feel free to create a PR and I will merge it in.
- TLP by
linrunner
is installed- Make sure TLP is properly installed and conflicting packages are removed
- Make sure
/etc/tlp.conf
does not haveSTOP_CHARGE_THRESH_BAT0
flag - Make sure
/etc/tlp.d/
does not contain configurations that haveSTOP_CHARGE_THRESH_BAT0
flag
-
Lenovo laptops that support Conservation Mode
-
To test if your hardware is compatible
-
Install
tlp
-
Run
tlp-stat -b
with root privilege -
Look for
conservation_mode
-
Example output
--- TLP 1.5.0 -------------------------------------------- +++ Battery Care Plugin: lenovo Supported features: charge threshold Driver usage: * vendor (ideapad_laptop) = active (charge threshold) Parameter value range: * STOP_CHARGE_THRESH_BAT0: 0(off), 1(on) -- battery conservation mode /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode = 1 (60%)
-
Note: Lenovo ThinkPad laptop users might have support for
tpacpi
ortpsmapi
. If you are looking for them, you may want to look elsewhere.
git clone
to a convenient directorycd Lenovo-Linux-Conservation-Mode
- To enable Conservation Mode, execute
./enable-conservation-mode.sh
with root privilege - To disable Conservation Mode, execute
./disable-conservation-mode.sh
with root privilege
- Configurations are set in
/etc/tlp.d/99-conservation-mode.conf
- Previous configuration will be backed up when the script is run
STOP_CHARGE_THRESH_BAT0="0"
orSTOP_CHARGE_THRESH_BAT0="1"
flag are set in the config filetlp
is refresh automaticallytlp-stat
is shown for debug purpose
- IdeaPad 5 Pro Gen 6 14' 82L7006CMJ
- IdeaPad 5 Pro Gen 8 14' 83AM001DCK
- Legion 5 (15ACH6H)
- IdeaPad S145-15IWL
- Yoga C740-14IML 81TC005KAU
- IdeaPad Slim 5 14IAH8 83BF005GFR
- TLP Official Repository https://github.com/linrunner/TLP
- TLP Official Installation Guide https://linrunner.de/tlp/installation/
- TLP 1.4 Test: Battery Care for Lenovo Laptops (non-ThinkPad series) https://gist.github.com/linrunner/4a6876648765fac5e141f15d0582a945