tlp man page

tlp ā€” apply laptop power saving settings

Synopsis

tlp command [parameter] ...

Description

Apply power saving settings manually and control ThinkPad battery features.

Commands

start

Initialize tlp and apply power saving settings according to the actual power source.

bat

Apply power saving settings for battery power source.

true

Same as bat (this command is called when power source changes to battery).

ac

Apply power saving settings for AC power source.

false

Same as ac (this command is called when power source changes to ac).

usb

Enable autosuspend for all USB devices, except blacklisted ones.

bayoff

Turn off optical drive in UltraBay/MediaBay. The drive may be re-enabled by pulling the eject lever or pushing the media eject button on newer models.

setcharge [START_CHARGE STOP_CHARGE] [BAT0|BAT1] (ThinkPads only)

Set charge thresholds of main (BAT0) or auxiliary (BAT1) battery temporarily. Values must be between 1 and 100, STOP_CHARGE > START_CHARGE + 3. Configured thresholds are restored upon next system boot-up. When called without arguments, configured thresholds are set.

fullcharge [BAT0|BAT1] (ThinkPads only)

Set charge thresholds of main (BAT0) or auxiliary (BAT1) battery to factory presets (96/100) temporarily (causing a full charge). Configured thresholds are restored upon next system boot-up.

chargeonce [BAT0|BAT1] (ThinkPads only)

Charge main (BAT0) or auxiliary (BAT1) battery to the stop charge threshold once (bypassing start threshold). Configured thresholds are restored upon next system boot-up.

discharge [BAT0|BAT1] (ThinkPads only)

Force complete discharge of main (BAT0) or auxiliary (BAT1) battery.

recalibrate [BAT0|BAT1] (ThinkPads only)

Battery recalibration: completely discharge main (BAT0) or auxiliary (BAT1) battery and recharge to 100%.

stat

Same as tlp-stat.

diskid

Show disk ids for configuration.

Notes

For ThinkPads with more than one battery the selection works as follows:

BAT0 - Main or internal battery

BAT1 - Ultrabay, Slice or replaceable battery

Examples

Apply thresholds of 70 / 90% to the main battery:

tlp setcharge 70 90 BAT0

Charge the auxiliary battery to full capacity:

tlp fullcharge BAT1

Recalibrate the main battery:

tlp recalibrate BAT0

Files

/etc/default/tlp

System-wide configuration file containing all power saving settings.

Exit Status

On success, 0 is returned, a non-zero failure code otherwise.

See Also

tlp-stat(8), bluetooth(1), wifi(1), wwan(1).

Project homepage:

Author

(c) 2017 Thomas Koch <linrunner at gmx.net>

Referenced By

bluetooth(1), run-on-ac(1), run-on-bat(1), tlp_selinux(8), tlp.service(8), tlp-stat(8), wifi(1), wwan(1).

2017-01-29 TLP 1.0 Power Management