Difference between revisions of "TLP"

From ArchWiki
Jump to: navigation, search
(added related articles template)
(Installation: ".service" suffix is not needed, so don't include it; don't mention [community] per style guidelines)
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]].
  
 
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 ==

Revision as of 19:31, 27 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.

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 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