Difference between revisions of "TLP"

From ArchWiki
Jump to: navigation, search
(added related articles template)
(Installation)
(5 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
[http://linrunner.de/tlp TLP] is an advanced power management tool for Linux.  
 
[http://linrunner.de/tlp 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.  
+
It is a pure, command-line tool with automated background tasks and does not contain a GUI.  
  
 
== Features ==
 
== Features ==
Line 11: Line 11:
  
 
== Installation ==
 
== Installation ==
{{Pkg|tlp}} and {{Pkg|tlp-rdw}} are available in the [[official repositories]] (Community).
+
[[pacman|Install]] the {{Pkg|tlp}} and {{Pkg|tlp-rdw}} packages, which are available in the [[official repositories]].
 +
 
 +
{{Note| tlp conflicts with pm-utils (or any other power management tool for that matter). This was worked around before in the AUR .install file by replacing some pm-utils files with symlinks to tlp scripts. However this workaround will not be used in an official package.}}
  
 
Optional dependencies are:
 
Optional dependencies are:
* {{Pkg|tp_smapi}} ''(Community)'' – optional ''ThinkPad only'', tp-smapi is needed for battery charge thresholds and ThinkPad specific status output of tlp-stat
+
* {{Pkg|tp_smapi}} – optional ''ThinkPad only'', tp-smapi is needed for battery charge thresholds and ThinkPad specific status output of tlp-stat
* {{Pkg|acpi_call}} ''(Community)'' – optional ''ThinkPad only'', acpi_call is needed for battery charge thresholds on Sandy Bridge and newer models (X220/T420, X230/T430 et al.)
+
* {{Pkg|acpi_call}} – 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:
+
After package installation, it is mandatory to enable both contained services via:
 
  # systemctl enable tlp
 
  # systemctl enable tlp
  # systemctl enable tlp-sleep.service
+
  # systemctl enable tlp-sleep
  
 
'''Important:''' if you want to use tlp-rdw  – which in turn requires [[NetworkManager]] – it is mandatory to enable the [[NetworkManager#Network_services_with_NetworkManager_dispatcher|corresponding service]]:
 
'''Important:''' if you want to use tlp-rdw  – which in turn requires [[NetworkManager]] – it is mandatory to enable the [[NetworkManager#Network_services_with_NetworkManager_dispatcher|corresponding service]]:
  # systemctl enable NetworkManager-dispatcher.service
+
  # systemctl enable NetworkManager-dispatcher
  
 
== Start ==
 
== Start ==
Line 29: Line 31:
  
 
== Configuration ==
 
== Configuration ==
The config file is located at {{ic|/etc/default/tlp}}.  
+
The configuration file is located at {{ic|/etc/default/tlp}}.  
  
The default configuration provides optimized power saving out of the box. For a full list of options see: [http://linrunner.de/en/tlp/docs/tlp-configuration.html TLP Configuration].  
+
The default configuration provides optimized power saving out of the box. For a full list of options, see: [http://linrunner.de/en/tlp/docs/tlp-configuration.html TLP Configuration].  
  
To make use of the ThinkPad-specific battery options, install and configure [[Tp_smapi|tp_smapi]] and/or [https://aur.archlinux.org/packages/dkms-acpi_call-git/ acpi_call] (see [[TLP#Installation|Installation]]).  
+
To make use of the ThinkPad-specific battery options, install and configure [[Tp_smapi|tp_smapi]] and/or {{Pkg|acpi_call}} (see [[TLP#Installation|Installation]]).
  
== External Links ==
+
== See also ==
 
* [http://linrunner.de/tlp TLP - Linux Advanced Power Management] - Project homepage & documentation
 
* [http://linrunner.de/tlp TLP - Linux Advanced Power Management] - Project homepage & documentation

Revision as of 08:36, 28 January 2014

Related articles

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 full documentation at the project homepage.

Installation

Install the tlp and tlp-rdw packages, which are available in the official repositories.

Note: tlp conflicts with pm-utils (or any other power management tool for that matter). This was worked around before in the AUR .install file by replacing some pm-utils files with symlinks to tlp scripts. However this workaround will not be used in an official package.

Optional dependencies are:

  • tp_smapi – optional ThinkPad only, tp-smapi is needed for battery charge thresholds and ThinkPad specific status output of tlp-stat
  • acpi_call – 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

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

Start

After successful installation, TLP starts automatically on every boot.

Configuration

The configuration 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).

See also