Tp-battery-mode

From ArchWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Merge-arrows-2.pngThis article or section is a candidate for merging with tp_smapi.Merge-arrows-2.png

Notes: Duplicates tp_smapi, and the script itself arguably offers little over following the instructions in that article. Perhaps it is best to redirect this to tp_smapi. (Discuss in Talk:Tp-battery-mode)

tp-battery-mode is a module to easily switch your Thinkpad's battery charging mode to prolong battery lifetime using tpacpi-bat.

Installation

Install the tp-battery-modeAUR package.

Features

Your Thinkpad's default behavior is to start charging its battery as soon as it drops below 100% capacity and stop charging once it is at 100% capacity. Switching your battery charging mode changes these start & stop threshold. tp-battery-mode's default values can be found in /etc/tp-battery-mode.conf

START_THRESHOLD=85
STOP_THRESHOLD=90

These values mean that your battery will start charging once the capacity drops below 85% and stop charging once it has reached 90% capacity. This should prolong your battery's lifespan while still giving you ample charge for portable needs.

Prolong Battery Lifetime

Switching to these new charging thresholds is as simple as enabling and starting tp-battery-mode.service

You can tailor the start/stop thresholds to fit your needs by modifying /etc/tp-battery-mode.conf. If you modify these values, you will need to restart the tp-battery-mode service otherwise the changes will not be reflected until you reboot.

Note: tp-battery-mode supports the T440's dual batteries however their charging thresholds cannot be changed independently.

Reverting to default charging behavior

Sometimes you might want to charge your battery all the way to 100% If you wish to revert to the default Thinkpad charging behavior, you just need to stop tp-battery-mode.service

If you wish to revert to the default Thinkpad charging behavior completely, you will also need to disable tp-battery-mode.service