-
-
Save technikamateur/2c3f448fcb312cc1423d8eb50a819cef to your computer and use it in GitHub Desktop.
tlp config file, optimized for ThinkPads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------------------------------------------ | |
# tlp - Parameters for power save | |
# Hint: some features are disabled by default, remove the leading # to enable | |
# them. | |
# Set to 0 to disable, 1 to enable TLP. | |
TLP_ENABLE=1 | |
# Dirty page values (timeouts in secs). | |
MAX_LOST_WORK_SECS_ON_BAT=15 | |
# Battery charge thresholds (ThinkPad only, tp-smapi or acpi-call kernel module | |
# required). Charging starts when the remaining capacity falls below the | |
# START_CHARGE_TRESH value and stops when exceeding the STOP_CHARGE_TRESH value. | |
# Main / Internal battery (values in %) | |
START_CHARGE_THRESH_BAT0=75 | |
STOP_CHARGE_THRESH_BAT0=90 | |
# Ultrabay / Slice / Replaceable battery (values in %) | |
START_CHARGE_THRESH_BAT1=65 | |
STOP_CHARGE_THRESH_BAT1=80 | |
# my setting intel pstate only for intel 5th gen + | |
CPU_HWP_ON_AC=balance_performance | |
CPU_HWP_ON_BAT=balance_power | |
CPU_MIN_PERF_ON_AC=0 | |
CPU_MAX_PERF_ON_AC=100 | |
CPU_MIN_PERF_ON_BAT=0 | |
CPU_MAX_PERF_ON_BAT=50 | |
CPU_BOOST_ON_AC=1 | |
CPU_BOOST_ON_BAT=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is only for Debian based Ditributions and only for Intel Ivy Bridge or higher! | |
sudo apt install tlp | |
sudo systemctl enable tlp.service && systemctl enable tlp-sleep.service | |
create/edit /etc/default/tlp | |
sudo apt install install acpi-call-dkms linux-tools-generic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment