Difference between revisions of "TLP"

From ArchWiki
Jump to: navigation, search
(Start)
(Installation)
(11 intermediate revisions by 3 users not shown)
Line 13: Line 13:
 
* [https://aur.archlinux.org/packages/tlp-rdw/ tlp-rdw] (AUR) – optional, Radio Device Wizard
 
* [https://aur.archlinux.org/packages/tlp-rdw/ tlp-rdw] (AUR) – optional, Radio Device Wizard
 
* [[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/dkms-acpi_call-git/ dkms-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.)
 +
 
 +
After package installation it is mandatory to enable both contained services via:
 +
# systemctl enable tlp
 +
# systemctl enable tlp-sleep.service
  
 
== Start ==
 
== Start ==
After successful installation, you can start TLP by typing ''as root/with sudo'':
 
tlp start
 
  
To run TLP automatically upon system startup, enable the service via:
+
After successful installation, TLP starts automatically on every boot.
  systemctl enable tlp.service
+
  
 
== Configuration ==
 
== Configuration ==
Line 28: Line 29:
  
 
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 [https://aur.archlinux.org/packages/dkms-acpi_call-git/ acpi_call] (see [[TLP#Installation|Installation]]).  
 
== Kernel 2.6.39 ==
 
According to this [https://bbs.archlinux.org/viewtopic.php?pid=946633 thread], the kernel 2.6.39 does not allow user-settings to
 
/sys/module/pcie_aspm/parameters/policy
 
You can use PCIe ASPM settings by starting the kernel with
 
pcie_aspm=force
 
  
 
== External Links ==
 
== External Links ==
 
* [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 22:43, 18 August 2013

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.

TLP is available in the AUR: tlpAUR, tlp-rdwAUR.

Features

Read the the full documentation at the project homepage.

Installation

Install the following packages plus dependencies:

  • tlp (AUR) – Power saving
  • tlp-rdw (AUR) – optional, Radio Device Wizard
  • 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

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