Linux laptop battery optimization tool TLP 1.2 released

TLP After more than a year of development, 1.2 is released today, which provides support for removable drives such as NVMe, USB and IEEE1394 devices, support for multi-queue I / O scheduler (blk-mq), and other important enhancements .

TLP is a command line advanced Linux power management tool that helps save laptop battery power. It aims to install and save it, and TLP does everything automatically. TLP is highly configurable, so you can adjust it to meet your specific needs, or edit its configuration file manually (/etc/default/tlp), Or use Tebao, TLP’s third-party GUI (can be installed from PPA in Ubuntu or Linux Mint).
The tool will detect whether the laptop is running on AC or battery power, and apply various settings based on this application (battery-optimized settings for battery life), such as scaling the processor frequency, setting disk APM, and slowing down timeouts. Set to power saving mode, enable or disable integrated radios, and more.
You might want to see a list of project sites feature.
New features and enhancements in TLP 1.2:

  • Supports NVMe SSD and removable drives such as USB and IEEE1394 devices
  • Supports multi-queue I / O scheduler (blk-mq)
  • Manual mode: keep TLP AC / bat power settings (until reboot or until user runs tlp start). For example, run tlp bat When using AC power, even if TLP is running on AC power, you can force TLP to use power saving settings; delete this manual mode by running tlp start Or restart the system.
  • Intel GPU Frequency Limit: You can now set the minimum / maximum and boost frequencies of Intel GPUs based on laptops using AC or battery power
  • tlp-rdw: New command to temporarily disable RDW operations (until restart)
  • USB_BLACKLIST_WWAN: Disabled by default
  • USB: exclude scanners managed by libsane From Auto Pause
  • Keep ASPM default to allow laptops to go to deeper sleep on ACs configured with default TLP
  • ThinkPad battery
    • New native kernel API for battery functions natacpi; Default for kernels greater than or equal to 4.17
    • Supports ThinkPad 25, * 80 (Coffee Lake) and all newer models
    • tlp-stat: suggestions for improvements to external kernel modules

In addition, tlp stat The command is no longer supported. use tlp-stat Instead (with root privileges).
For a list of all changes in TLP 1.2, see GitHub.

Install and use TLP

Can be downloaded from its TLP code GitHub project page.
TLP is available in many Linux distributions, including Debian, Ubuntu, Linux Mint, Arch Linux, Fedora openSUSE, etc., and can be installed from a repository as described in its instructions. website.
However, the new TLP 1.2 version is not yet available for most Linux distributions. Currently available Arch LinuxAnd in PPA Maintained by TLP developers for Ubuntu and Ubuntu-based Linux distributions, such as Linux Mint or the base OS.
To install it in Ubuntu, Linux Mint, etc. with this PPA, use:

sudo add-apt-repository ppa:linrunner/tlp
sudo apt update
sudo apt install tlp tlp-rdw

For ThinkPads, you need to install several other packages:

sudo apt install tp-smapi-dkms acpi-call-dkms

TLP starts automatically at startup. When installing for the first time, you can avoid rebooting the system by manually starting TLP (this command can also be used to reload the TLP configuration after changes):

sudo tlp start

Source

Related Posts