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.
Table of Contents
- 1 How to install TLP in Ubuntu and derivatives?
- 2 Configuration
- 2.1 Configure TLP
- 2.2 Show battery information
- 2.3 Show settings
- 2.4 Show disk data
- 2.5 Show PCI device data (e)
- 2.6 Show graphics card data
- 2.7 Show processor data
- 2.8 Show radio device status
- 2.9 Show system data
- 2.10 Shows temperatures and fan speed
- 2.11 Show USB device data
- 2.12 Show more data
- 2.13 Show warnings
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:
Installing the package
- 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
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.
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.
Show battery information
sudo tlp-stat -b sudo tlp-stat --battery
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
tlp-stat -w tlp-stat --warn
Be the first to comment