TLP Einstellungen

Aus ThinkPad-Wiki
Version vom 6. März 2010, 17:24 Uhr von Linrunner (Diskussion | Beiträge) (in Arbeit, zwischengespeichert)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Alle Einstellungen von TLP sind zentral in der Konfigurationsdatei /etc/default/tlp zusammengefaßt. Bei Paketupdates wird die vom Benutzer angepaßte Datei von der Paketverwaltung nur nach Rückfrage überschrieben oder aber als /etc/default/tlp.dpkg-dist abgelegt.

Parameter

Originaldatei

Die Datei /etc/default/tlp aus dem Installationspaket als Referenz.

# tlp - Parameters for power save
# Set to "1" to enable power save TLP_ENABLE="1" # Seconds laptop mode has to to wait after the disk goes idle before doing a sync. # Non-zero value enables, zero disables laptop mode. DISK_IDLE_SECS_ON_AC=0 DISK_IDLE_SECS_ON_BAT=2 # Dirty page values (timeouts in secs). MAX_LOST_WORK_SECS_ON_AC=15 MAX_LOST_WORK_SECS_ON_BAT=15 # Change CPU voltages aka "undervolting" - Kernel with PHC patch required # Freq:voltage pairs are written to /sys/devices/system/cpu/cpu0/cpufreq/phc_controls # CAUTION: only use this, if you thoroughly understand what you are doing! #PHC_CONTROLS="F:V F:V F:V F:V"
# Hard disk devices (separate with spaces) DISK_DEVICES="sda" # Hard disk advanced power management level: 1(max saving)..254(off) # Levels 1..127 spin down the disk. DISK_APM_LEVEL_ON_AC=254 DISK_APM_LEVEL_ON_BAT=128
# SATA Link Power: min_power/medium_power/max_performance SATA_LINKPWR_ON_AC="max_performance" SATA_LINKPWR_ON_BAT="min_power"
# Wifi power save mode for Intel 2200, 3945, 4965, 5100, 5300: # 1(min saving)..5(max saving) # (Kernel < 2.6.30 only) WIFI_PWR_ON_AC=1 WIFI_PWR_ON_BAT=5 # Disable wake on lan: Y/N WOL_DISABLE=Y # Enable power save for Intel HDA, AC97 devices (timeout in secs). # A value of 0 disables power save. SOUND_POWER_SAVE=1 # Disable controller too: Y/N (HDA only) SOUND_POWER_SAVE_CONTROLLER=Y # Set to 1 to power off optical drive in UltraBay (ThinkPads only) # when running on battery. # Drive can be powered on again by releasing (and reinserting) the # eject lever or by pressing the disc eject button on newer models. # Note: an UltraBay hard disk is never powered off BAY_POWEROFF_ON_BAT=0 # Set to 1 to enable usb autosuspend for all devices # on system startup. USB_AUTOSUSPEND=0 # Devices from the following list are excluded from usb autosuspend # (separate with spaces). Use lsusb to get the id's. #USB_BLACKLIST="1111:2222 3333:4444"
# Devices to disable on startup: bluetooth/wifi/wwan #DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
# Devices to disable on shutdown: bluetooth/wifi/wwan # (workaround for devices that are blocking shutdown) #DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"
# Battery charge thresholds (ThinkPad only, tp-smapi 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 battery (values in %) #START_CHARGE_THRESH_BAT0=96 #STOP_CHARGE_THRESH_BAT0=100 # Ultrabay battery (values in %) #START_CHARGE_THRESH_BAT1=96 #STOP_CHARGE_THRESH_BAT1=100