Projektvorstellung: TLP – Linux Stromsparen

Unter Fedora 23 sind die Stromsparoptionen des iwlwifi-Treibers standardmäßig deaktiviert, d.h. power_save steht auf N. Das wäre ein Hinweis
in /etc/default/tlp angebracht, dass "WiFi power saving mode" mit iwlwifi nur dann funktioniert, wenn power_save aktiviert wurde und dass der Benutzer
dies ggf. selbst nachtragen muss.
 
@Myon: Danke für den Hinweis. Ich hab ja echt Lust dieses Moduloptionen-Zeug wieder in der Doku zu haben :facepalm:.

EDITH widerspricht: trotz Moduloption power_save=N läßt sich bei mir Powersave per TLP bzw. iw aktivieren. Der Parameter gibt imho nur den initialen Zustand beim Laden des Moduls wieder. So gesehen ist der Parameter schon immer bei allen Distris auf N.

Kannst Du das nochmal testen?
 
Zuletzt bearbeitet:
Wenn das hier gemeint ist:
Code:
wls3(iwlwifi)       : connected, power management = on
Bei Fedora 24 im Akkubetrieb auf on, mit AC auf off. Ohne irgendwelche Moduloptionen gesetzt zu haben.
Ach ja, Intel 6200.
 
Erstmalige Erwähnung von TLP bei heise.de anläßlich des Release von Apricity OS:

Dank integrierter TLP-Tools kann Apricity OS Stromsparmechanismen zur Verlängerung der Akkulaufzeit nutzen, was insbesondere auf Notebooks praktisch ist.

:)
 
:thumbup: und ein dickes Dankeschön: Auch bei mir ist TLP mittlerweile bei jeder Installation dabei.

Gruß, der tomatenfisch
 
TLP 0.9 Release

Hi all,

Version 0.9 ist fertig.

Vielen Dank an die Betatester, an alle die Fehler gemeldet haben und an die Paketierer! :)

Pakete für Ubuntu (PPA) und Debian (TLP-Repo) stehen bereit. Die anderen Distris dauern noch etwas, da die Paketierung dafür nun erst beginnt.

EDITH: Stand 28.08.2016

  • Arch: Paket verfügbar im Repo
  • Fedora: Pakete im testing Repo für F23..26 sowie EPEL7
  • Gentoo Portage Overlay verfügbar
  • openSUSE: Pakete verfügbar im Repo von Tumbleweed und 42.2, andere als Download

Have fun!
 
Zuletzt bearbeitet:
Muss ich in Mint 18 eine ppa hinzufügen um ein Update auf die 0.9 zu machen oder kommt das noch später automatisch? In Mint 18 ist die 0.8.1 installiert.
 
Unter Ubuntu ist tlp in Universe, ein automatisches Update hängt also von der Community ab ;)
 
+++ ThinkPad Extended Battery Functions
tp-smapi = inactive (kernel module 'tp_smapi' load error)
tpacpi-bat = active

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer = SANYO
/sys/class/power_supply/BAT0/model_name = 45N1775
/sys/class/power_supply/BAT0/cycle_count = (not supported)
/sys/class/power_supply/BAT0/energy_full_design = 23200 [mWh]
/sys/class/power_supply/BAT0/energy_full = 22150 [mWh]
/sys/class/power_supply/BAT0/energy_now = 17610 [mWh]
/sys/class/power_supply/BAT0/power_now = 0 [mW]
/sys/class/power_supply/BAT0/status = Unknown (threshold effective)

Weiß jemand, warum smapi nicht geladen werden kann? Habs auch nochmal installiert, keine Änderung. Bin der Anleitung auf der TLP-Homepage gefolgt.

PS:
Lubuntu 16.04.1 x64 , T460p,
 
Hallo, kommt irgendwann eine GUI ? Dürfte die Popularität zum explodieren bringen.

ich denke spätestens sobald die erste Beta für Windows erscheint, wird es auch ein GUI geben [emoji6]

Nach Bash für Windows und PowerShell für Linux, .NET in OpenSource und einem in JavaScript geschriebenen Visual Studio (Code) würde mich bald gar nichts mehr wundern :D

Ähm... öhm... *ichsagnixmehr* :Ich sag nix::thumbsup: Projektvorstellung: TLPUI - Gui für TLP
 
Wenn man bei der CPU die Frequenz skalieren möchte, mittels dem Abschnitt "CPU_SCALING_MIN/MAX_FREQ_ON" ist es so gewollt, dass das nur funktioniert, wenn man die Werte sowohl für "BAT" als auch für "AC" eingibt?

Wenn man nur Werte für "BAT" anpasst, aber das Notebook in "AC" betreibt, ändern sich die Werte für die CPU nicht, sondern werden von "BAT" übernommen.

legt man für "AC" auch noch Werte fest, funktioniert wieder alles so wie es soll.

Auszug tlp stat:
Code:
--- TLP 0.9 --------------------------------------------

+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
CPU_SCALING_MIN_FREQ_ON_AC=0
CPU_SCALING_MAX_FREQ_ON_AC=0
CPU_SCALING_MIN_FREQ_ON_BAT=800000
CPU_SCALING_MAX_FREQ_ON_BAT=1200000
CPU_MIN_PERF_ON_AC=0
CPU_MAX_PERF_ON_AC=100
CPU_MIN_PERF_ON_BAT=0
CPU_MAX_PERF_ON_BAT=100
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=powersave
DISK_DEVICES="sda sdb"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
DISK_SPINDOWN_TIMEOUT_ON_AC="120 120"
DISK_SPINDOWN_TIMEOUT_ON_BAT="5 60"
SATA_LINKPWR_ON_AC=max_performance
SATA_LINKPWR_ON_BAT=min_power
PCIE_ASPM_ON_AC=performance
PCIE_ASPM_ON_BAT=powersave
RADEON_POWER_PROFILE_ON_AC=high
RADEON_POWER_PROFILE_ON_BAT=low
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=1
WIFI_PWR_ON_BAT=5
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
RUNTIME_PM_ALL=1
RUNTIME_PM_DRIVER_BLACKLIST="radeon nouveau"
USB_AUTOSUSPEND=1
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=0
START_CHARGE_THRESH_BAT0=70
STOP_CHARGE_THRESH_BAT0=80
START_CHARGE_THRESH_BAT1=70
STOP_CHARGE_THRESH_BAT1=80


+++ System Info
System         = LENOVO ThinkPad X220 4291W3B
BIOS           = 8DET51WW (1.21 )
Release        = LMDE 2 Betsy
Kernel         = 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=badececb-e77f-4671-a815-c121fa21cf2c ro quiet splash
Init system    = sysvinit
Boot mode      = BIOS (CSM, Legacy)


+++ TLP Status
State          = enabled
Last run       = 03:10:20,     46 sec(s) ago
Mode           = AC
Power source   = AC


+++ Processor
CPU model      = Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz


/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  =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  1200000 [kHz]


/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  =   800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  1200000 [kHz]


/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  =   800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  1200000 [kHz]


/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  =   800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  1200000 [kHz]


/sys/devices/system/cpu/intel_pstate/min_perf_pct      = 25
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 37
/sys/devices/system/cpu/intel_pstate/no_turbo          = 0
/sys/devices/system/cpu/intel_pstate/turbo_pct         = (not available)
/sys/devices/system/cpu/intel_pstate/num_pstates       = (not available)


x86_energy_perf_policy: program not installed.


/proc/sys/kernel/nmi_watchdog                          = 0


+++ Undervolting
PHC kernel not available.


+++ Temperatures
CPU temp               =    66 [°C]
/proc/acpi/ibm/fan     =  2958 [/min]


+++ File System
/proc/sys/vm/laptop_mode               =     0
/proc/sys/vm/dirty_writeback_centisecs =  1500
/proc/sys/vm/dirty_expire_centisecs    =  1500
/proc/sys/vm/dirty_ratio               =    20
/proc/sys/vm/dirty_background_ratio    =    10
/proc/sys/fs/xfs/age_buffer_centisecs  = (not available)
/proc/sys/fs/xfs/xfssyncd_centisecs    = (not available)
/proc/sys/fs/xfs/xfsbufd_centisecs     = (not available)


+++ Storage Devices
/dev/sda:
  Model     = ***               
  Firmware  = ***
  APM Level = ***
  Status    = active/idle
  TRIM      = supported
  Scheduler = cfq


  Runtime PM: control = on, autosuspend_delay =   -1




+++ SATA Aggressive Link Power Management
/sys/class/scsi_host/host0/link_power_management_policy  = max_performance
/sys/class/scsi_host/host1/link_power_management_policy  = max_performance
/sys/class/scsi_host/host2/link_power_management_policy  = max_performance
/sys/class/scsi_host/host3/link_power_management_policy  = max_performance
/sys/class/scsi_host/host4/link_power_management_policy  = max_performance
/sys/class/scsi_host/host5/link_power_management_policy  = max_performance


+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:00:1f.2/ata1/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata2/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata3/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata4/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata5/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata6/power/control = on


+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)


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


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


wlan0(iwlwifi)                : wifi, connected, power management = off


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


+++ Docks and Device Bays
/sys/devices/platform/dock.0: battery_bay   = no battery 
/sys/devices/platform/dock.1: ata_bay       = no drive (or powered off)
/sys/devices/platform/dock.2: dock_station  = undocked


+++ Runtime Power Management
Device classes   = all
Device blacklist = (not configured)
Driver blacklist = radeon nouveau


/sys/bus/pci/devices/0000:00:00.0/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:02.0/power/control = on   (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:16.0/power/control = on   (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:19.0/power/control = on   (0x020000, Ethernet controller, e1000e)
/sys/bus/pci/devices/0000:00:1a.0/power/control = on   (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1b.0/power/control = on   (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.1/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.3/power/control = on   (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   (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on   (0x060100, ISA bridge, lpc_ich)
/sys/bus/pci/devices/0000:00:1f.2/power/control = on   (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on   (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:03:00.0/power/control = on   (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:0d:00.0/power/control = on   (0x088001, System peripheral, sdhci-pci)


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


Bus 002 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms =     0 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)
Bus 001 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms =     0 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)


+++ ThinkPad Extended Battery Functions
tp-smapi   = active
tpacpi-bat = active


+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/devices/platform/smapi/BAT0/manufacturer               = SANYO
/sys/devices/platform/smapi/BAT0/model                      = 42T4940
/sys/devices/platform/smapi/BAT0/manufacture_date           = 2011-10-23
/sys/devices/platform/smapi/BAT0/first_use_date             = 2012-11-27
/sys/devices/platform/smapi/BAT0/cycle_count                =    181
/sys/devices/platform/smapi/BAT0/design_capacity            =  93240 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity         =  66640 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity         =  47650 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent          =     72 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time    =     84 [min]
/sys/devices/platform/smapi/BAT0/power_now                  =  27138 [mW]
/sys/devices/platform/smapi/BAT0/power_avg                  =  35606 [mW]
/sys/devices/platform/smapi/BAT0/state                      = charging


tpacpi-bat.BAT0.startThreshold                              =     70 [%]
tpacpi-bat.BAT0.stopThreshold                               =     80 [%]
tpacpi-bat.BAT0.forceDischarge                              =      0


Charge                                                      =   71.5 [%]
Capacity                                                    =   71.5 [%]


Wenn ich die Zeilen für "AC" mit "#" außen vor lasse, hat man das gleiche Verhalten
 
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben