Install Power Saving Tool on Ubuntu

Energy

Si you are a user of a laptop this tool can be of great help. Surfing the net I came across this great program that called "Power Saving Tool" it is an advanced power manager for Linux comes with a default setting already optimized for battery life.

This tool works via command line with automated background tasks. It comes with a default configuration that we find in (/ etc / default / tlp).

However, TLP is highly customizable to meet specific requirements.

Within the configurations that TLP has, we find the following, we must also take into account that they are depending on the power source.

  • Kernel laptop mode and dirty buffer timeouts
  • Processor frequency scaling including "turbo boost" / "turbo core"
  • Power-aware process scheduler for multi-core / hyper-threading
  • Advanced hard drive power management level and spin timeout (per disk)
  • SATA Aggressive Link Power Management (ALPM)
  • PCI Express Active State Power Management (PCIe ASPM)
  • Runtime Power Management for PCI (e) Bus Devices
  • Radeon Graphics Power Management (KMS and DPM)
  • Wifi power saving mode
  • Power off the optical drive in the drive bay
  • Audio power saving mode

As well Among the additional functions we find a battery re-calibrator which is great for taking care of her, on the other hand we have an I / O Planner (per disk), the ability to disable built-in wifi, bluetooth or wwan devices when starting and shutting down the system.

How to install TLP in Ubuntu and derivatives?

In order to install this tool in our system we must access a terminal and add its repository, first we write:

sudo add-apt-repository ppa:linrunner/tlp

We proceed to update our list of repositories:

sudo apt-get update

And to install the TLP we have the following packages:

Package Installation

  • tlp - Energy Saving
  • tlp-rdw - optional, Radio Device Wizard
  • tp-smapi-dkms - Optional ThinkPad only, tp-smapi is required for battery charge thresholds, recalibration, and tlp-stat specific status output
  • acpi-call-dkms: Only with optional ThinkPad, acpi-call is required for battery charge thresholds and recalibration on Sandy Bridge and newer models (X220 / T420, X230 / T430 and others).

The above packages they can be installed through package management tools.

sudo apt-get install tlp tlp-rdw

ThinkPads requires an additional:

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

Ubuntu TLP

Configuration

All TLP settings are stored in the / etc / default / tlp configuration file. As the default settings already provide optimized battery savings, in many cases there is no immediate need to change the battery. The full reference can be read in the TLP Settings.

Configure TLP

TLP will start automatically. To avoid having to reboot the system, the first time you can start it manually, use the following command:

sudo tlp start

Use the terminal command tlp-stat to check if TLP is working properly

sudo tlp-stat -s

It will turn out something like this

+++ Estado del sistema

Estado = habilitado

Última ejecución = <Hora del inicio del sistema o último cambio de la fuente de alimentación

All the commands described in this section shown must be used with sudo.

sudo tlp-stat

Show battery information

sudo tlp-stat -b

sudo tlp-stat --battery

Show settings

tlp-stat -c

tlp-stat --config

Show disk data

tlp-stat -d

tlp-stat --disk

Show PCI device data (e)

tlp-stat -e

tlp-stat --pci

Show graphics card data

tlp-stat -g

tlp-stat --graphics

Show processor data

tlp-stat -p

tlp-stat --processor

Show radio device status

tlp-stat -r

tlp-stat --rfkill

Show system data

tlp-stat -s

tlp-stat --system

Shows temperatures and fan speed

tlp-stat -t

tlp-stat --temp

Show USB device data

tlp-stat -u

tlp-stat - usb

Show more data

tlp-stat -v

tlp-stat --verbose

Show warnings

tlp-stat -w

tlp-stat --warn

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.