User Tools

Site Tools


thinkpad_battery_management

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

thinkpad_battery_management [2019/05/12 15:12] (current)
hankwang created (parts are from the E490 page).
Line 1: Line 1:
 +====== Thinkpad battery management ======
 +
 +Most Thinkpad models since 2012 or so support management of the battery charging system via software. Most wear of Li-ion and Li-polymer batteries is due to charging at battery levels above 80%. (More reading: [[https://​accubattery.zendesk.com/​hc/​en-us/​articles/​210224725-Charging-research-and-methodology|AccuBattery documentation]].) Batteries will last many more charging cycles if you charge only up to 80% rather than up to 100%.
 +
 +TLP is a toolkit that can handle power saving, including support for Thinkpad-specific battery management. More info: [[https://​linrunner.de/​en/​tlp/​docs/​tlp-linux-advanced-power-management.html|TLP website]].
 +
 +The following steps worked on a Thinkpad E490 (2019 model) with Mint 19.1 (based on Ubuntu 18.04), with kernel 4.15.0-48.
 +
 +  apt install tlp git wget
 +  wget https://​github.com/​teleshoes/​tpacpi-bat/​archive/​master.zip
 +  unzip -d /tmp master.zip && cd /​tmp/​tpacpi-bat-master && ./​install.pl && cd -
 +  cp /​tmp/​tpacpi-bat-master/​tpacpi-bat /​usr/​local/​bin
 +  ​
 +  tpacpi-bat -s start 1 75
 +  tpacpi-bat -s stop  1 80
 +  ​
 +The two tpacpi-bat commands need to be executed at reboot; you can create /​etc/​rc.local (permission 755) for that purpose. ​
 +
 +You can see the battery status (and other power management details) using ''​tlp-stat''​.
  
thinkpad_battery_management.txt ยท Last modified: 2019/05/12 15:12 by hankwang