[Ubuntu] Limiting Lenovo Laptop Battery Charging to 80% in Ubuntu
TLP is a power management tool for Linux. It supports battery charge thresholds for various laptop models, including Lenovo. Here’s how to use it:
Install TLP. Run the following commands:
The add-apt-repository
command adds the PPA (Personal Package Archive) for TLP to your system’s software sources. The apt update
command updates the package list, and the apt install
command installs TLP.
Open the TLP configuration file:
This command opens the TLP configuration file in the Gedit text editor with root privileges.
Find the battery settings section. Uncomment the lines for start and stop thresholds and set them to your desired values. For example:
These lines set the start and stop charging thresholds to 75% and 80%, respectively.
Save the file and restart TLP:
This command starts the TLP service.
Last updated