Projektvorstellung: TLP – Linux Stromsparen

Ich sehe (grade) den Wald vor lauter Bäumen nicht, aber schaue mal hier:

https://thinkpad-forum.de/threads/222556-TLP-1-3-Beta-Test

Unter Übernahme der alten Konfiguration.

Code:
[B]......................Neuanfang mit /etc/tlp.conf[/B]

[LIST]
[*]Die neue [B]/etc/tlp.conf[/B] (bzw. [B]/etc/tlp.conf.dpkg-new[/B], siehe 1.) wegsichern. 
[*]Nur die eigenen Konfigurationsparameter manuell in [B]/etc/tlp.conf[/B] eintragen. Dabei das Kommentarzeichem (#) vor dem Parameter entfernen um ihn zu aktivieren. 
[/LIST]

[B]3. Neuanfang mit einer Datei unterhalb /etc/tlp.d/[/B]

[LIST]
[*]Eine leere Datei [B]/etc/tlp.d/01-mytlp.conf[/B] anlegen, dort die eigenen Konfigurationsparameter eintragen. 
[*]Der exakte Dateiname ist egal, solange er auf [B].conf[/B] endet. 
[/LIST]

- - - Beitrag zusammengeführt - - -

Ich verstehe das so das du in /etc/tlp.conf auskommentierst. Oder dir Alternativ eine "mytlp...." anlegen kannst.

PS: Sofern du eine 1.3 er Version benutzt.
 
Zuletzt bearbeitet:
Zuletzt bearbeitet:
Danke für die neue Version. Mal sehen, wann sie in den Debian Backports auftaucht.
 
Toll, das es für Linux tlp gibt !

Ja! :thumbup:

- - - Beitrag zusammengeführt - - -

@linnrunner:

Ich hänge unter Debian ja noch auf der beta 4 von TLP 1.3 fest.

- im Batteriebetrieb taktet die CPU nicht über 800Mz

Code:
4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux

Code:
# Set energy performance hints (HWP) for Intel P-state governor:
#   performance, balance_performance, default, balance_power, power
# Values are given in order of increasing power saving.
# Note: Intel Skylake or newer CPU and Kernel >= 4.10 required.
# Default: <none>
CPU_HWP_ON_AC=balance_performance
CPU_HWP_ON_BAT=balance_power

(/etc/tlp.conf) leider verstehe ich die faq nicht 100%:

Aber "CPU_HWP_ON_BAT=default" würde die CPU wieder hochakten lassen? https://linrunner.de/en/tlp/docs/tlp-configuration.html#scaling

Danke
 
Zuletzt bearbeitet:
Ich hänge unter Debian ja noch auf der beta 4 von TLP 1.3 fest.
Schau doch mal in die Commit History, was sich tatsächlich zwischen Beta 4 und 1.3.0 geändert hat.

- im Batteriebetrieb taktet die CPU nicht über 800Mz

CPU_HWP_ON_BAT=balance_power
Du hast deine alte Konfiguration übernommen. Also betrifft dich das hier schon mal nicht:
https://github.com/linrunner/TLP/commit/c09e26be8ece49d7230f4e94422b2fc50e164c13

Obwohl ich zwei Parameter zusammengefasst und umbenannt habe
CPU_ENERGY_PERF_POLICY_ON_AC/BAT: backward compatible merge of
settings for Intel energy vs. performance policies
EPB (ENERGY_PERF_POLICY_ON_AC/BAT) and HWP.EPP (CPU_HWP_ON_AC/BAT);
zieht deine Einstellung balance_power nach wie vor, weil TLP weiterhin die alten Parameter einliest. In deinem Fall also keine Änderung gegenüber 1.2.2.

Aber "CPU_HWP_ON_BAT=default" würde die CPU wieder hochakten lassen?
Wie soll ICH diese Frage für DEINE Hardware beantworten? Du hilfst dem Projekt am meisten, indem Du es probierst und berichtest.
 
Zuletzt bearbeitet:
OK: Ich habe das jetzt ausprobiert.

TLP 1.3 (beta 4) zieht die Einstellung aus defaults.conf
Code:
marc@MB:~$ sudo tlp-stat -c
--- TLP 1.3.0-beta.4 --------------------------------------------

+++ Configured Settings:
/etc/tlp.conf L0015: TLP_ENABLE="1"
/etc/tlp.conf L0025: TLP_PERSISTENT_DEFAULT="0"
/etc/tlp.conf L0030: DISK_IDLE_SECS_ON_AC="0"
/etc/tlp.conf L0031: DISK_IDLE_SECS_ON_BAT="2"
/etc/tlp.conf L0035: MAX_LOST_WORK_SECS_ON_AC="15"
/etc/tlp.conf L0036: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_BAT="power"
/etc/tlp.conf L0097: SCHED_POWERSAVE_ON_AC="0"

Da kann ich in /etc/tlp.conf zwar ändern aber es bewirkt nichts.

tlp start ausgeführt.

Code:
marc@MB:~$ sudo tlp-stat 
--- TLP 1.3.0-beta.4 --------------------------------------------

+++ Configured Settings:
/etc/tlp.conf L0015: TLP_ENABLE="1"
/etc/tlp.conf L0025: TLP_PERSISTENT_DEFAULT="0"
/etc/tlp.conf L0030: DISK_IDLE_SECS_ON_AC="0"
/etc/tlp.conf L0031: DISK_IDLE_SECS_ON_BAT="2"
/etc/tlp.conf L0035: MAX_LOST_WORK_SECS_ON_AC="15"
/etc/tlp.conf L0036: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_BAT="power"
/etc/tlp.conf L0097: SCHED_POWERSAVE_ON_AC="0"
/etc/tlp.conf L0098: SCHED_POWERSAVE_ON_BAT="1"
/etc/tlp.conf L0103: NMI_WATCHDOG="0"
/etc/tlp.conf L0124: DISK_DEVICES="nvme0n1 sda"
/etc/tlp.conf L0131: DISK_APM_LEVEL_ON_AC="254 254"
/etc/tlp.conf L0132: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0018: DISK_IOSCHED="keep keep"
/etc/tlp.conf L0166: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
/etc/tlp.conf L0167: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
/etc/tlp.conf L0184: AHCI_RUNTIME_PM_TIMEOUT="15"
defaults.conf L0022: PCIE_ASPM_ON_AC="default"
defaults.conf L0023: PCIE_ASPM_ON_BAT="default"
/etc/tlp.conf L0207: RADEON_POWER_PROFILE_ON_AC="default"
/etc/tlp.conf L0208: RADEON_POWER_PROFILE_ON_BAT="default"
/etc/tlp.conf L0218: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
/etc/tlp.conf L0219: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
/etc/tlp.conf L0223: WIFI_PWR_ON_AC="off"
/etc/tlp.conf L0224: WIFI_PWR_ON_BAT="on"
/etc/tlp.conf L0228: WOL_DISABLE="Y"
/etc/tlp.conf L0233: SOUND_POWER_SAVE_ON_AC="0"
/etc/tlp.conf L0234: SOUND_POWER_SAVE_ON_BAT="0"
/etc/tlp.conf L0239: SOUND_POWER_SAVE_CONTROLLER="Y"
/etc/tlp.conf L0246: BAY_POWEROFF_ON_AC="0"
/etc/tlp.conf L0247: BAY_POWEROFF_ON_BAT="0"
/etc/tlp.conf L0250: BAY_DEVICE="sr0"
/etc/tlp.conf L0254: RUNTIME_PM_ON_AC="on"
/etc/tlp.conf L0255: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0039: RUNTIME_PM_DRIVER_BLACKLIST="amdgpu mei_me nouveau nvidia pcieport radeon"
/etc/tlp.conf L0272: USB_AUTOSUSPEND="1"
/etc/tlp.conf L0283: USB_BLACKLIST_BTUSB="0"
/etc/tlp.conf L0288: USB_BLACKLIST_PHONE="0"
/etc/tlp.conf L0293: USB_BLACKLIST_PRINTER="1"
/etc/tlp.conf L0298: USB_BLACKLIST_WWAN="0"
defaults.conf L0045: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
/etc/tlp.conf L0315: RESTORE_DEVICE_STATE_ON_STARTUP="0"
/etc/tlp.conf L0364: RESTORE_THRESHOLDS_ON_BAT="1"
/etc/tlp.conf L0368: NATACPI_ENABLE="1"
/etc/tlp.conf L0369: TPACPI_ENABLE="1"
/etc/tlp.conf L0370: TPSMAPI_ENABLE="1"
/etc/tlp.conf L0020: TLP_DEFAULT_MODE="AC"
/etc/tlp.conf L0072: CPU_HWP_ON_AC="balance_performance"
/etc/tlp.conf L0073: CPU_HWP_ON_BAT="balance_power"
/etc/tlp.conf L0117: ENERGY_PERF_POLICY_ON_AC="performance"
/etc/tlp.conf L0118: ENERGY_PERF_POLICY_ON_BAT="power"
/etc/tlp.conf L0212: RADEON_DPM_STATE_ON_AC="performance"
/etc/tlp.conf L0213: RADEON_DPM_STATE_ON_BAT="battery"
/etc/tlp.conf L0320: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
/etc/tlp.conf L0355: START_CHARGE_THRESH_BAT0="45"
/etc/tlp.conf L0356: STOP_CHARGE_THRESH_BAT0="100"
/etc/tlp.conf L0383: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
/etc/tlp.conf L0388: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
/etc/tlp.conf L0394: DEVICES_TO_DISABLE_ON_DOCK="wifi"

+++ System Info
System         = LENOVO ThinkPad T490s 20NXCTO1WW
BIOS           = N2JET84W (1.62 )
Release        = Debian GNU/Linux 10 (buster)
Kernel         = 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64
/proc/cmdline  = BOOT_IMAGE=/vmlinuz-4.19.0-6-amd64 root=/dev/mapper/vg-root ro quiet
Init system    = systemd v241 (241)
Boot mode      = BIOS (CSM, Legacy)

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 07:55:32 PM,     15 sec(s) ago
Mode           = battery
Power source   = battery

+++ Processor
CPU model      = Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3900000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = power [HWP.EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  3900000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = power [HWP.EPP]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  3900000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = power [HWP.EPP]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  3900000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = power [HWP.EPP]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq  =  3900000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_preference = power [HWP.EPP]
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq  =  3900000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_preference = power [HWP.EPP]
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq  =  3900000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_preference = power [HWP.EPP]
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq  =  3900000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_preference = power [HWP.EPP]
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  10 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         =  65 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  36

/sys/module/workqueue/parameters/power_efficient       = N
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Temperatures
CPU temp               =    41 [°C]
/proc/acpi/ibm/fan     =     0 [/min]

+++ File System
/proc/sys/vm/laptop_mode               =     2
/proc/sys/vm/dirty_writeback_centisecs =  6000
/proc/sys/vm/dirty_expire_centisecs    =  6000
/proc/sys/vm/dirty_ratio               =    20
/proc/sys/vm/dirty_background_ratio    =    10

+++ Storage Devices
Devices = nvme0n1 sda

/dev/nvme0n1:
  Type      = NVMe
  Model     = WDC PC SN730 SDBQNTY-512G-1001          
  Firmware  = 11130101
  Scheduler = [none] mq-deadline (multi queue)

  Runtime PM: control = auto, autosuspend_delay_ms = (not available)

  SMART info:

/dev/sda: not present.

+++ AHCI Link Power Management (ALPM)
No AHCI-enabled host controller detected.

+++ Intel Graphics
/sys/module/i915/parameters/enable_dc        = -1 (use per-chip default)
/sys/module/i915/parameters/enable_fbc       =  1 (enabled)
/sys/module/i915/parameters/enable_psr       =  0 (disabled)
/sys/module/i915/parameters/modeset          = -1 (use per-chip default)

/sys/class/drm/card0/gt_min_freq_mhz         =   300 [MHz]
/sys/class/drm/card0/gt_max_freq_mhz         =  1100 [MHz]
/sys/class/drm/card0/gt_boost_freq_mhz       =  1100 [MHz]
/sys/kernel/debug/dri/0/i915_ring_freq_table: 300 350 400 450 500 550 600 650 700 750 800 850 900 950 1000 1050 1100 [MHz] 

+++ Wireless
bluetooth = off (software)
wifi      = on
wwan      = none (no device)

wlp0s20f3(iwlwifi)            : wifi, connected, power management = on

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save            = 0
/sys/module/snd_hda_intel/parameters/power_save_controller = N

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = [default] performance powersave powersupersave (using BIOS preferences)

+++ Runtime Power Management
Device blacklist = (not configured)
Driver blacklist = amdgpu mei_me nouveau nvidia pcieport radeon

/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:04.0/power/control = auto (0x118000, Signal processing controller, proc_thermal)
/sys/bus/pci/devices/0000:00:08.0/power/control = auto (0x088000, System peripheral, no driver)
/sys/bus/pci/devices/0000:00:12.0/power/control = auto (0x118000, Signal processing controller, intel_pch_thermal)
/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:14.2/power/control = auto (0x050000, RAM memory, no driver)
/sys/bus/pci/devices/0000:00:14.3/power/control = auto (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:1c.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.4/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.4/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x040380, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1f.4/power/control = auto (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:00:1f.5/power/control = auto (0x0c8000, Serial bus controller [0c80], no driver)
/sys/bus/pci/devices/0000:00:1f.6/power/control = auto (0x020000, Ethernet controller, e1000e)
/sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x080501, SD Host controller, sdhci-pci)
/sys/bus/pci/devices/0000:02:00.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:03:00.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:03:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:03:02.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:04:00.0/power/control = auto (0x088000, System peripheral, thunderbolt)
/sys/bus/pci/devices/0000:3a:00.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:3d:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme)

+++ USB
Autosuspend         = enabled
Device whitelist    = (not configured)
Device blacklist    = (not configured)
Bluetooth blacklist = disabled
Phone blacklist     = disabled
WWAN blacklist      = disabled

Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 002 ID 13d3:56ba control = auto, autosuspend_delay_ms = 2000 -- IMC Networks  (uvcvideo)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)

+++ Battery Features: Charge Thresholds and Recalibrate
natacpi    = active (data, thresholds)
tpacpi-bat = active (recalibrate)
tp-smapi   = inactive (ThinkPad not supported)

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = 02DL014
/sys/class/power_supply/BAT0/cycle_count                    =      7
/sys/class/power_supply/BAT0/energy_full_design             =  57020 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  57570 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  39030 [mWh]
/sys/class/power_supply/BAT0/power_now                      =   2444 [mW]
/sys/class/power_supply/BAT0/status                         = Discharging

/sys/class/power_supply/BAT0/charge_start_threshold         =     45 [%]
/sys/class/power_supply/BAT0/charge_stop_threshold          =    100 [%]
tpacpi-bat.BAT0.forceDischarge                              =      0

Charge                                                      =   67.8 [%]
Capacity                                                    =  101.0 [%]

marc@MB:~$
 
Das ist in der Tat so, dieser gemischte Fall ist nicht lösbar. Dann setz mal deine tlp.conf auf Basis des Originals von 1.3.0 ganz neu auf oder schreibe gleich deine Einstellungen die vom Default abweichen nach /etc/tlp.d/01-mcb.conf.
 
Das ist in der Tat so, dieser gemischte Fall ist nicht lösbar. Dann setz mal deine tlp.conf auf Basis des Originals von 1.3.0 ganz neu auf oder schreibe gleich deine Einstellungen die vom Default abweichen nach /etc/tlp.d/01-mcb.conf.

Ich habe das jetzt versucht, TLP liest bei mir keine Einstellungen aus einer neuen 01-m....conf ?

Edit:

Irgendwas ist immer noch komisch aber ich bin schon weiter:

Code:
marc@MB:~$ sudo tlp-stat -c
--- TLP 1.3.0-beta.4 --------------------------------------------

+++ Configured Settings:
/etc/tlp.d/01-mb.conf L0015: TLP_ENABLE="1"
/etc/tlp.d/01-mb.conf L0025: TLP_PERSISTENT_DEFAULT="0"
/etc/tlp.d/01-mb.conf L0030: DISK_IDLE_SECS_ON_AC="0"
/etc/tlp.d/01-mb.conf L0031: DISK_IDLE_SECS_ON_BAT="2"
/etc/tlp.d/01-mb.conf L0035: MAX_LOST_WORK_SECS_ON_AC="15"
/etc/tlp.d/01-mb.conf L0036: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_BAT="power"
/etc/tlp.d/01-mb.conf L0097: SCHED_POWERSAVE_ON_AC="0"
/etc/tlp.d/01-mb.conf L0098: SCHED_POWERSAVE_ON_BAT="1"
/etc/tlp.d/01-mb.conf L0103: NMI_WATCHDOG="0"
/etc/tlp.d/01-mb.conf L0124: DISK_DEVICES="nvme0n1 sda"
/etc/tlp.d/01-mb.conf L0131: DISK_APM_LEVEL_ON_AC="254 254"
/etc/tlp.d/01-mb.conf L0132: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0018: DISK_IOSCHED="keep keep"
/etc/tlp.d/01-mb.conf L0166: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
/etc/tlp.d/01-mb.conf L0167: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
/etc/tlp.d/01-mb.conf L0184: AHCI_RUNTIME_PM_TIMEOUT="15"
defaults.conf L0022: PCIE_ASPM_ON_AC="default"
defaults.conf L0023: PCIE_ASPM_ON_BAT="default"
/etc/tlp.d/01-mb.conf L0207: RADEON_POWER_PROFILE_ON_AC="default"
/etc/tlp.d/01-mb.conf L0208: RADEON_POWER_PROFILE_ON_BAT="default"
/etc/tlp.d/01-mb.conf L0218: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
/etc/tlp.d/01-mb.conf L0219: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
/etc/tlp.d/01-mb.conf L0223: WIFI_PWR_ON_AC="off"
/etc/tlp.d/01-mb.conf L0224: WIFI_PWR_ON_BAT="on"
/etc/tlp.d/01-mb.conf L0228: WOL_DISABLE="Y"
/etc/tlp.d/01-mb.conf L0233: SOUND_POWER_SAVE_ON_AC="0"
/etc/tlp.d/01-mb.conf L0234: SOUND_POWER_SAVE_ON_BAT="0"
/etc/tlp.d/01-mb.conf L0239: SOUND_POWER_SAVE_CONTROLLER="Y"
/etc/tlp.d/01-mb.conf L0246: BAY_POWEROFF_ON_AC="0"
/etc/tlp.d/01-mb.conf L0247: BAY_POWEROFF_ON_BAT="0"
/etc/tlp.d/01-mb.conf L0250: BAY_DEVICE="sr0"
/etc/tlp.d/01-mb.conf L0254: RUNTIME_PM_ON_AC="on"
/etc/tlp.d/01-mb.conf L0255: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0039: RUNTIME_PM_DRIVER_BLACKLIST="amdgpu mei_me nouveau nvidia pcieport radeon"
/etc/tlp.d/01-mb.conf L0272: USB_AUTOSUSPEND="1"
/etc/tlp.d/01-mb.conf L0283: USB_BLACKLIST_BTUSB="0"
/etc/tlp.d/01-mb.conf L0288: USB_BLACKLIST_PHONE="0"
/etc/tlp.d/01-mb.conf L0293: USB_BLACKLIST_PRINTER="1"
/etc/tlp.d/01-mb.conf L0298: USB_BLACKLIST_WWAN="0"
defaults.conf L0045: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
/etc/tlp.d/01-mb.conf L0315: RESTORE_DEVICE_STATE_ON_STARTUP="0"
/etc/tlp.d/01-mb.conf L0364: RESTORE_THRESHOLDS_ON_BAT="1"
/etc/tlp.d/01-mb.conf L0368: NATACPI_ENABLE="1"
/etc/tlp.d/01-mb.conf L0369: TPACPI_ENABLE="1"
/etc/tlp.d/01-mb.conf L0370: TPSMAPI_ENABLE="1"
/etc/tlp.d/01-mb.conf L0020: TLP_DEFAULT_MODE="AC"
/etc/tlp.d/01-mb.conf L0072: CPU_HWP_ON_AC="balance_performance"
/etc/tlp.d/01-mb.conf L0073: CPU_HWP_ON_BAT="default"
/etc/tlp.d/01-mb.conf L0117: ENERGY_PERF_POLICY_ON_AC="performance"
/etc/tlp.d/01-mb.conf L0118: ENERGY_PERF_POLICY_ON_BAT="power"
/etc/tlp.d/01-mb.conf L0212: RADEON_DPM_STATE_ON_AC="performance"
/etc/tlp.d/01-mb.conf L0213: RADEON_DPM_STATE_ON_BAT="battery"
/etc/tlp.d/01-mb.conf L0320: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
/etc/tlp.d/01-mb.conf L0355: START_CHARGE_THRESH_BAT0="45"
/etc/tlp.d/01-mb.conf L0356: STOP_CHARGE_THRESH_BAT0="100"
/etc/tlp.d/01-mb.conf L0383: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
/etc/tlp.d/01-mb.conf L0388: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
/etc/tlp.d/01-mb.conf L0394: DEVICES_TO_DISABLE_ON_DOCK="wifi"

marc@MB:~$

:confused: Na ja habe ich wohl einen Fehler in meiner neuen Datei.

- - - Beitrag zusammengeführt - - -

Hurray!

Code:
/etc/tlp.d/01-mb.conf L0077: CPU_ENERGY_PERF_POLICY_ON_BAT="balance_power"

:) Wer lesen kann ist klar im Vorteil. :facepalm:

- - - Beitrag zusammengeführt - - -

@linrunner die etc/tlp.conf wird als letztes gelesen und hat dann Vorrang ?
 
Zuletzt bearbeitet:
Was ist jetzt mit dem CPU-Takt im Akkubetrieb?



@linrunner die etc/tlp.conf wird als letztes gelesen und hat dann Vorrang ?
Die Antwort hast Du dir selbst gegeben :D:
Wer lesen kann ist klar im Vorteil.

Ich würde die 01-mb.conf noch herunterstrippen, sodass nur noch deine geänderten Parameter enthalten sind. Parameter deren Wert einem Default entspricht, können auch weg; Kommentare ebenso. Ergebnis mit tlp-stat -c kontrollieren.
 
Gut ich habe jetzt mal gestripped:

Code:
marc@MB:~$ sudo tlp-stat -c
--- TLP 1.3.0-beta.4 --------------------------------------------

+++ Configured Settings:
defaults.conf L0004: TLP_ENABLE="1"
defaults.conf L0005: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0006: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0007: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0008: MAX_LOST_WORK_SECS_ON_AC="15"
defaults.conf L0009: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
/etc/tlp.d/01-mb-.conf L0002: CPU_ENERGY_PERF_POLICY_ON_BAT="balance_power"
defaults.conf L0012: SCHED_POWERSAVE_ON_AC="0"
defaults.conf L0013: SCHED_POWERSAVE_ON_BAT="1"
defaults.conf L0014: NMI_WATCHDOG="0"
defaults.conf L0015: DISK_DEVICES="nvme0n1 sda"
defaults.conf L0016: DISK_APM_LEVEL_ON_AC="254 254"
defaults.conf L0017: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0018: DISK_IOSCHED="keep keep"
defaults.conf L0019: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
defaults.conf L0020: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
defaults.conf L0021: AHCI_RUNTIME_PM_TIMEOUT="15"
defaults.conf L0022: PCIE_ASPM_ON_AC="default"
defaults.conf L0023: PCIE_ASPM_ON_BAT="default"
defaults.conf L0024: RADEON_POWER_PROFILE_ON_AC="default"
defaults.conf L0025: RADEON_POWER_PROFILE_ON_BAT="default"
defaults.conf L0026: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
defaults.conf L0027: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
defaults.conf L0028: WIFI_PWR_ON_AC="off"
defaults.conf L0029: WIFI_PWR_ON_BAT="on"
/etc/tlp.d/01-mb-.conf L0003: WOL_DISABLE="Y"
defaults.conf L0031: SOUND_POWER_SAVE_ON_AC="0"
/etc/tlp.d/01-mb-.conf L0004: SOUND_POWER_SAVE_ON_BAT="0"
defaults.conf L0033: SOUND_POWER_SAVE_CONTROLLER="Y"
defaults.conf L0034: BAY_POWEROFF_ON_AC="0"
defaults.conf L0035: BAY_POWEROFF_ON_BAT="0"
defaults.conf L0036: BAY_DEVICE="sr0"
defaults.conf L0037: RUNTIME_PM_ON_AC="on"
defaults.conf L0038: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0039: RUNTIME_PM_DRIVER_BLACKLIST="amdgpu mei_me nouveau nvidia pcieport radeon"
defaults.conf L0040: USB_AUTOSUSPEND="1"
defaults.conf L0041: USB_BLACKLIST_BTUSB="0"
defaults.conf L0042: USB_BLACKLIST_PHONE="0"
defaults.conf L0043: USB_BLACKLIST_PRINTER="1"
defaults.conf L0044: USB_BLACKLIST_WWAN="0"
defaults.conf L0045: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
defaults.conf L0046: RESTORE_DEVICE_STATE_ON_STARTUP="0"
/etc/tlp.d/01-mb-.conf L0009: RESTORE_THRESHOLDS_ON_BAT="1"
defaults.conf L0048: NATACPI_ENABLE="1"
defaults.conf L0049: TPACPI_ENABLE="1"
defaults.conf L0050: TPSMAPI_ENABLE="1"
/etc/tlp.d/01-mb-.conf L0005: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
/etc/tlp.d/01-mb-.conf L0007: START_CHARGE_THRESH_BAT0="45"
/etc/tlp.d/01-mb-.conf L0008: STOP_CHARGE_THRESH_BAT0="100"
/etc/tlp.d/01-mb-.conf L0010: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
/etc/tlp.d/01-mb-.conf L0011: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
/etc/tlp.d/01-mb-.conf L0012: DEVICES_TO_DISABLE_ON_DOCK="wifi"

marc@MB:~$

Und die CPU taktet laut i7z jetzt bis ~ 1899 MHz im Batteriebetrieb hoch.

@all bei Debian kommt die 1.3.1 demnächst in Testing/Unstable.

:thumbup:

- - - Beitrag zusammengeführt - - -

Edit ist schon da:

https://packages.debian.org/sid/tlp
 
Ich würde gern Bluetooth ... .
Was ist mit der `00-template.conf` und Drop-in-Anpassungen gemeint?

Man freut sich ja schon mal über Kleinigkeiten!
Falls, außer mir, noch jemand mit einem Anfängerkurs geholfen werden kann :
Man kann tlp u.a. anweisen, sich den letzten Zustand (zB. Bluetooth, Wlan oder Wwan - an oder aus ) für den nächsten Start einfach zu merken.
Im Ordner tlp.d (zu finden unter Dateisystem /etc/tlp.d) sieht (Cinnamon 19.3. und tlp 1.3.0-1 ) die dazu nötige Datei nun so aus:
Code:
# 00-template.conf - Template for TLP drop-in customizations
# See full explanation: https://linrunner.de/en/tlp/docs/tlp-configuration.html
#
# PARAM="value"
[COLOR=#ff0000]RESTORE_DEVICE_STATE_ON_STARTUP=1[/COLOR]

Die letzte Zeile der Beispieldatei mit einem Editor (nano) hinzufügen und noch den Parameter am Ende von 0 auf 1 ändern und diese neu geschaffene Datei unter irgendeinem sinnvollen anderen Namen.conf neben der mitgelieferten Beispieldatei "00-template.conf" speichern.

Diese rote Zeile ist im Dateisystem unter /etc in der Datei tlp.conf zu finden (enthält mögliche Befehlszeilen) und diese können zur Verwendung kopiert werden um sie im conf.d-Ordner in einer .conf-Datei zu verwenden.

"Drop in Customizing" ... "Reinkopieranpassung"
 
Zuletzt bearbeitet:
Wiki

Sodele, die deutsche Dokumentation in unserem Wiki ist jetzt auch auf dem Stand für 1.3.

@harpo: Danke. Korrigiert.
 
Auch von mir mal Danke für tlp, cooles tool! :thumbup:

Mir ist gerade nach dem Update folgende Kleinigkeit aufgefallen:
weder tlp noch tlp-stat scheinen den Parameter --version zu verstehen. Das wäre aber super praktisch um mal schnell zu prüfen ob man denn schon die neueste Version benutzt :)
 
@bob7: die erste Zeile in jeder Ausgabe von tlp-stat gibt die Version an.
 
Unter Debian 10 gibt es jetzt auch 1.3 Final:

Code:
 sudo apt update && sudo apt -t buster-backports install tlp tlp-rdw

:thumbup:
 
  • ok1.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen
Zurück
Oben