Difference between revisions of "TLP"

From ArchWiki
Jump to: navigation, search
(Wiki link to the service)
m (tlp and tlp-rdw moved from AUR to extra-repo)
Line 2: Line 2:
 
'''TLP''' is an advanced power management tool for Linux. It is a pure command line tool with
 
'''TLP''' is an advanced power management tool for Linux. It is a pure command line tool with
 
automated background tasks and does not contain a GUI.  
 
automated background tasks and does not contain a GUI.  
 
TLP is available in the AUR: {{aur|tlp}}, {{aur|tlp-rdw}}.
 
  
 
== Features ==
 
== Features ==
Line 9: Line 7:
  
 
== Installation ==
 
== Installation ==
Install the following packages plus dependencies:
+
{{Pkg|tlp}} and {{Pkg|tlp-rdw arw available in the [[official repositories]].
* [https://aur.archlinux.org/packages/tlp/ tlp] (AUR) – Power saving
+
 
* [https://aur.archlinux.org/packages/tlp-rdw/ tlp-rdw] (AUR) – optional, Radio Device Wizard
+
Optional dependencies are
 
* [[Tp_smapi|tp_smapi]] (Community) – optional ''ThinkPad only'', tp-smapi is needed for battery charge thresholds and ThinkPad specific status output of tlp-stat
 
* [[Tp_smapi|tp_smapi]] (Community) – optional ''ThinkPad only'', tp-smapi is needed for battery charge thresholds and ThinkPad specific status output of tlp-stat
 
* [https://aur.archlinux.org/packages/acpi_call-git/ acpi_call-git] (AUR) – optional ''ThinkPad only'', acpi_call is needed for battery charge thresholds on Sandy Bridge and newer models (X220/T420, X230/T430 et al.)
 
* [https://aur.archlinux.org/packages/acpi_call-git/ acpi_call-git] (AUR) – optional ''ThinkPad only'', acpi_call is needed for battery charge thresholds on Sandy Bridge and newer models (X220/T420, X230/T430 et al.)

Revision as of 14:00, 27 January 2014

TLP is an advanced power management tool for Linux. It is a pure command line tool with automated background tasks and does not contain a GUI.

Features

Read the the full documentation at the project homepage.

Installation

tlp and {{Pkg|tlp-rdw arw available in the official repositories.

Optional dependencies are

  • tp_smapi (Community) – optional ThinkPad only, tp-smapi is needed for battery charge thresholds and ThinkPad specific status output of tlp-stat
  • acpi_call-git (AUR) – optional ThinkPad only, acpi_call is needed for battery charge thresholds on Sandy Bridge and newer models (X220/T420, X230/T430 et al.)

After package installation it is mandatory to enable both contained services via:

# systemctl enable tlp
# systemctl enable tlp-sleep.service

Important: if you want to use tlp-rdw – which in turn requires NetworkManager – it is mandatory to enable the corresponding service:

# systemctl enable NetworkManager-dispatcher.service

Start

After successful installation, TLP starts automatically on every boot.

Configuration

The config file is located at /etc/default/tlp.

The default configuration provides optimized power saving out of the box. For a full list of options see: TLP Configuration.

To make use of the ThinkPad-specific battery options, install and configure tp_smapi and/or acpi_call (see Installation).

External Links