TLP 1.3 Beta-Test

linrunner

Ubuntuversteher
Registriert
22 Juni 2007
Beiträge
13.052
Was ist neu?

Die aus Benutzersicht einschneidenste Änderung ist, dass die Konfigurationsdatei wandert und durch weitere Dateien ergänzt werden kann:

/etc/default/tlp wird durch /etc/tlp.conf ersetzt

Die Konfiguration wird in der folgenden Reihenfolge ermittelt:
  1. Eingebaute Defaults
  2. /etc/tlp.d/*.conf - Drop-In Customizations
  3. /etc/tlp.conf – Benutzer-Konfiguration – Hier ist jetzt alles auskommentiert, vor Verwendung also das '#' vor dem Parameter entfernen
Kommt ein Parameter mehrfach vor, hat das letzte Vorkommen Vorrang.
Die Konfigurationsdateien werden nicht mehr von der Shell gesourced (.) sondern geparsed – eine Shell Expansion findet nicht mehr statt, war auch nie offizielles Feature.

Die weiteren Neuerungen und Bugfixes findet Ihr im Changelog.
Im Grunde ist 1.3 ein umfangreiches Wartungsrelease.

Was und wie soll ich testen?

Es gibt zwei Testziele:

  1. Prüfung alter Funktionalität (Regressionstest): TLP installieren, dabei vorhandene Konfiguration beibehalten oder in die neue Datei einarbeiten und einige Tage schauen ob weiterhin alles funktioniert
  2. Prüfung neuer Funktionalität: TLP installieren, neues Feature / neue Konfiguration per Drop-In File konfigurieren und ausprobieren

Ich bitte Euch hier vorrangig um einen Regressionstest (Ziel 1).

Hinweis: auch Nicht-ThinkPads sind als Testgegenstand ausdrücklich erwünscht.

Wo finde ich Pakete?

Ubuntu: in meinem nagelneuen Beta-PPA.

Arch Linux, Debian, Fedora: siehe Beta-Seite.


Beta-Pakete für nicht genannte Distris kann ich selbst leider nicht anbieten. Unterstützer, die entsprechende Pakete bereitstellen sind jedoch willkommen!

Wie melde ich ein Problem mit der Beta-Version?

Bevor Ihr etwas meldet, prüft bitte ob das Problem auch dann auftritt, wenn:

  • die Vorversion 1.2.2 installiert ist; bzw.
  • TLP deinstalliert ist

Welche Ausgaben soll ich zeigen?

Stets die komplette Ausgabe von
Code:
Code:
sudo tlp-stat

  1. Im Akkubetrieb
  2. und am Netzteil

Bitte per https://gist.github.com/ (oder Paste-Service eurer Wahl, der ohne Anmeldung gelesen werden kann).
Die Ausgaben bitte zu Beginn Eures Tests posten.

Hinweis: weitere Angaben zu Eurem System benötige ich nicht; alles was ich darüber wissen möchte zeigt tlp-stat.

Vielen Dank im voraus fürs Testen! :D

Anhang: wie übernehme ich meine Konfiguration?

Zuerst kopiert man die alte Konfigurationsdatei /etc/default/tlp an einen sicheren Ort und installiert dann das 1.3-Paket. Anschließend hat man im wesentlichen drei Möglichkeiten;

1. 1:1-Übernahme
  • Die neue /etc/tlp.conf wegsichern und /etc/default/tlp nach /etc/tlp.conf kopieren.
  • Wichtig: die Debian- und Ubuntu-Pakete verschieben bei der 1. Installation die Datei selbstständig, die neue Konfigurationsdatei landet in diesem Fall in /etc/tlp.conf.dpkg-new
2. Neuanfang mit /etc/tlp.conf
  • Die neue /etc/tlp.conf (bzw. /etc/tlp.conf.dpkg-new, siehe 1.) wegsichern.
  • Nur die eigenen Konfigurationsparameter manuell in /etc/tlp.conf eintragen. Dabei das Kommentarzeichem (#) vor dem Parameter entfernen um ihn zu aktivieren.
3. Neuanfang mit einer Datei unterhalb /etc/tlp.d/
  • Eine leere Datei /etc/tlp.d/01-mytlp.conf anlegen, dort die eigenen Konfigurationsparameter eintragen.
  • Der exakte Dateiname ist egal, solange er auf .conf endet.
 
Zuletzt bearbeitet:
T490s

Strom:
https://pastebin.com/pD1p9X1Q

Batterie:
https://pastebin.com/Rfn5CdQg

Noch nichts weiter probiert.

- - - Beitrag zusammengeführt - - -

Edit: "Mist" die Startladeschwelle lässt sich ncht mehr ändern.

Ich wollte sie auf 55% runtersetzen.

tlp.conf angepasst

tlp neugestartet

steht leider immer noch auf 60% Die Ausgaben sinf weiter unten.

:confused:

Warten auf die nächste Beta ?
 
Zuletzt bearbeitet:
Code:
# ------------------------------------------------------------------------------
# tlp - Parameters for power saving
# See full explanation: https://linrunner.de/en/tlp/docs/tlp-configuration.html

# Notes:
# - Some parameters are disabled, remove the leading '#' to enable # them;
#   shown values are suggestions not defaults
# - Default *: intrinsic default that is effective when the parameter is missing
#   or disabled by a leading '#'; use PARAM="" to disable intrinsic defaults for
#   parameters with text string values
# - Default <none>: do nothing or use kernel/hardware defaults

# Set to 0 to disable, 1 to enable TLP.
# Default: 0
TLP_ENABLE=1

# Operation mode when no power supply can be detected: AC, BAT.
# Concerns some desktop and embedded hardware only.
# Default: <none>
TLP_DEFAULT_MODE=AC

# Operation mode select: 0=depend on power source, 1=always use TLP_DEFAULT_MODE
# Hint: use in conjunction with TLP_DEFAULT_MODE=BAT for BAT settings on AC.
# Default: 0
TLP_PERSISTENT_DEFAULT=0

# Seconds laptop mode has to wait after the disk goes idle before doing a sync.
# Non-zero value enables, zero disables laptop mode.
# Default: 0 (AC), 2 (BAT)
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2

# Dirty page values (timeouts in secs).
# Default: 15 (AC + BAT)
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60

# Note: CPU parameters below are disabled by default, remove the leading #
# to enable them, otherwise kernel defaults will be used.

# Select a CPU frequency scaling governor.
# Intel Core i processor with intel_pstate driver:
#   powersave(*), performance.
# Older hardware with acpi-cpufreq driver:
#   ondemand(*), powersave, performance, conservative, schedutil.
# (*) is recommended.
# Use tlp-stat -p to show the active driver and available governors.
# Important:
#   powersave for intel_pstate and ondemand for acpi-cpufreq are power
#   efficient for *almost all* workloads and therefore kernel and most
#   distributions have chosen them as defaults. If you still want to change,
#   you should know what you're doing! You *must* disable your distribution's
#   governor settings or conflicts will occur.
# Default: <none>
#CPU_SCALING_GOVERNOR_ON_AC=powersave
#CPU_SCALING_GOVERNOR_ON_BAT=powersave

# Set the min/max frequency available for the scaling governor.
# Possible values depend on your CPU. For available frequencies see
# the output of tlp-stat -p.
# Default: <none>
#CPU_SCALING_MIN_FREQ_ON_AC=0
#CPU_SCALING_MAX_FREQ_ON_AC=0
#CPU_SCALING_MIN_FREQ_ON_BAT=0
#CPU_SCALING_MAX_FREQ_ON_BAT=0

# 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

# Set Intel P-state performance: 0..100 (%).
# Limit the max/min P-state to control the power dissipation of the CPU.
# Values are stated as a percentage of the available performance.
# Requires an Intel Core i processor with intel_pstate driver.
# Default: <none>
#CPU_MIN_PERF_ON_AC=0
#CPU_MAX_PERF_ON_AC=100
#CPU_MIN_PERF_ON_BAT=0
#CPU_MAX_PERF_ON_BAT=30

# Set the CPU "turbo boost" feature: 0=disable, 1=allow
# Requires an Intel Core i processor.
# Important:
# - This may conflict with your distribution's governor settings
# - A value of 1 does *not* activate boosting, it just allows it
# Default: <none>
#CPU_BOOST_ON_AC=1
#CPU_BOOST_ON_BAT=0

# Minimize number of used CPU cores/hyper-threads under light load conditions:
#   0=disable, 1=enable.
# Default: <none>
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1

# Kernel NMI Watchdog:
#   0=disable (default, saves power), 1=enable (for kernel debugging only).
# Default: <none>
NMI_WATCHDOG=0

# Change CPU voltages aka "undervolting" - Kernel with PHC patch required.
# Frequency 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!
# Default: <none>.
#PHC_CONTROLS="F:V F:V F:V F:V"

# Set CPU performance versus energy savings policy:
#   performance, balance-performance, default, balance-power, power.
# Values are given in order of increasing power saving.
# Requires kernel module msr and x86_energy_perf_policy from linux-tools.
# Default: <none>
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=power

# Disk devices; separate multiple devices with spaces.
# Devices can be specified by disk ID also (lookup with: tlp diskid).
# Note: DISK parameters below are effective only when this option is configured.
# Default: "nvme0n1 sda"
DISK_DEVICES="nvme0n1 sda"

# Disk advanced power management level: 1..254, 255 (max saving, min, off).
# Levels 1..127 may spin down the disk; 255 allowable on most drives.
# Separate values for multiple disks with spaces. Use the special value 'keep'
# to keep the hardware default for the particular disk.
# Default: <none>
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"

# Hard disk spin down timeout:
#   0:        spin down disabled
#   1..240:   timeouts from 5s to 20min (in units of 5s)
#   241..251: timeouts from 30min to 5.5 hours (in units of 30min)
# See 'man hdparm' for details.
# Separate values for multiple disks with spaces. Use the special value 'keep'
# to keep the hardware default for the particular disk.
# Default: <none>
#DISK_SPINDOWN_TIMEOUT_ON_AC="0 0"
#DISK_SPINDOWN_TIMEOUT_ON_BAT="0 0"

# Select I/O scheduler for the disk devices.
# Multi queue (blk-mq) schedulers:
#   mq-deadline(*), none, kyber, bfq
# Single queue schedulers:
#   deadline(*), cfq, bfq, noop
# (*) recommended.
# Separate values for multiple disks with spaces. Use the special value 'keep'
# to keep the kernel default scheduler for the particular disk.
# Notes:
# - Multi queue (blk-mq) may need kernel boot option 'scsi_mod.use_blk_mq=1'
#   and 'modprobe mq-deadline-iosched|kyber|bfq' on kernels < 5.0
# - Single queue schedulers are legacy now and were removed together with
#   the old block layer in kernel 5.0
# Default: keep
#DISK_IOSCHED="mq-deadline mq-deadline"

# AHCI link power management (ALPM) for disk devices:
#   min_power, med_power_with_dipm(*), medium_power, max_performance.
# (*) Kernel >= 4.15 required, then recommended.
# Multiple values separated with spaces are tried sequentially until success.
# Default: <none>
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"

# Exclude host devices from AHCI link power management.
# Separate multiple hosts with spaces.
# Default: <none>
#SATA_LINKPWR_BLACKLIST="host1"

# Runtime Power Management for AHCI host and disks devices:
#   on=disable, auto=enable.
# EXPERIMENTAL ** WARNING: auto may cause system lockups/data loss.
# Default: <none>
#AHCI_RUNTIME_PM_ON_AC=on
#AHCI_RUNTIME_PM_ON_BAT=on

# Seconds of inactivity before disk is suspended.
# Note: effective only when AHCI_RUNTIME_PM_ON_AC/BAT is activated.
# Default: 15
AHCI_RUNTIME_PM_TIMEOUT=15

# PCI Express Active State Power Management (PCIe ASPM):
#   default(*), performance, powersave.
# (*) keeps BIOS ASPM defaults (recommended)
# Default: <none>
#PCIE_ASPM_ON_AC=default
#PCIE_ASPM_ON_BAT=default

# Set the min/max/turbo frequency for the Intel GPU.
# Possible values depend on your hardware. For available frequencies see
# the output of tlp-stat -g.
# Default: <none>
#INTEL_GPU_MIN_FREQ_ON_AC=0
#INTEL_GPU_MIN_FREQ_ON_BAT=0
#INTEL_GPU_MAX_FREQ_ON_AC=0
#INTEL_GPU_MAX_FREQ_ON_BAT=0
#INTEL_GPU_BOOST_FREQ_ON_AC=0
#INTEL_GPU_BOOST_FREQ_ON_BAT=0

# Radeon graphics clock speed (profile method): low, mid, high, auto, default;
# auto = mid on BAT, high on AC.
# Default: default
RADEON_POWER_PROFILE_ON_AC=default
RADEON_POWER_PROFILE_ON_BAT=default

# Radeon dynamic power management method (DPM): battery, performance.
# Default: <none>
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery

# Radeon DPM performance level: auto, low, high; auto is recommended.
# Note: effective only when RADEON_DPM_STATE_ON_AC/BAT is activated.
# Default: auto
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto

# WiFi power saving mode: on=enable, off=disable; not supported by all adapters.
# Default: <none>
WIFI_PWR_ON_AC=off
WIFI_PWR_ON_BAT=on

# Disable wake on LAN: Y/N.
# Default: N
WOL_DISABLE=Y

# Enable audio power saving for Intel HDA, AC97 devices (timeout in secs).
# A value of 0 disables, >=1 enables power saving (recommended: 1).
# Default: <none>
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=0

# Disable controller too (HDA only): Y/N.
# Note: effective only when SOUND_POWER_SAVE_ON_AC/BAT is activated.
# Default: Y
SOUND_POWER_SAVE_CONTROLLER=Y

# Power off optical drive in UltraBay/MediaBay: 0=disable, 1=enable.
# 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/MediaBay hard disk is never powered off.
# Default: 0
BAY_POWEROFF_ON_AC=0
BAY_POWEROFF_ON_BAT=0
# Optical drive device to power off
# Default: sr0
BAY_DEVICE="sr0"

# Runtime Power Management for PCI(e) bus devices: on=disable, auto=enable.
# Default: <none>
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto

# Exclude PCI(e) device adresses the following list from Runtime PM
# (separate with spaces). Use lspci to get the adresses (1st column).
# Default: <none>
#RUNTIME_PM_BLACKLIST="bb:dd.f 11:22.3 44:55.6"

# Exclude PCI(e) devices assigned to the listed drivers from Runtime PM.
# Default when unconfigured is "amdgpu nouveau nvidia radeon" which
# prevents accidential power-on of dGPU in hybrid graphics setups.
# Separate multiple drivers with spaces.
# Default: "amdgpu mei_me nouveau nvidia pcieport radeon", use "" to disable
# completely.
#RUNTIME_PM_DRIVER_BLACKLIST="amdgpu mei_me nouveau nvidia pcieport radeon"

# Set to 0 to disable, 1 to enable USB autosuspend feature.
# Default: 0
USB_AUTOSUSPEND=1

# Exclude listed devices from USB autosuspend (separate with spaces).
# Use lsusb to get the ids.
# Note: input devices (usbhid) are excluded automatically
# Default: <none>
#USB_BLACKLIST="1111:2222 3333:4444"

# Bluetooth devices are excluded from USB autosuspend:
#   0=do not exclude, 1=exclude.
# Default: 0
USB_BLACKLIST_BTUSB=0

# Phone devices are excluded from USB autosuspend:
#   0=do not exclude, 1=exclude (enable charging).
# Default: 0
USB_BLACKLIST_PHONE=0

# Printers are excluded from USB autosuspend:
#   0=do not exclude, 1=exclude.
# Default: 1
USB_BLACKLIST_PRINTER=1

# WWAN devices are excluded from USB autosuspend:
#   0=do not exclude, 1=exclude.
# Default: 0
USB_BLACKLIST_WWAN=0

# Include listed devices into USB autosuspend even if already excluded
# by the blacklists above (separate with spaces). Use lsusb to get the ids.
# Default: <none>
#USB_WHITELIST="1111:2222 3333:4444"

# Set to 1 to disable autosuspend before shutdown, 0 to do nothing
# (workaround for USB devices that cause shutdown problems).
# Default: 0
#USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN=1

# Restore radio device state (Bluetooth, WiFi, WWAN) from previous shutdown
# on system startup: 0=disable, 1=enable.
# Note: the parameters DEVICES_TO_DISABLE/ENABLE_ON_STARTUP/SHUTDOWN below
#   are ignored when this is enabled.
# Default: 0
RESTORE_DEVICE_STATE_ON_STARTUP=0

# Radio devices to disable on startup: bluetooth, wifi, wwan.
# Separate multiple devices with spaces.
# Default: <none>
#DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wifi wwan"

# Radio devices to enable on startup: bluetooth, wifi, wwan.
# Separate multiple devices with spaces.
# Default: <none>
#DEVICES_TO_ENABLE_ON_STARTUP="wifi"

# Radio devices to disable on shutdown: bluetooth, wifi, wwan.
# (workaround for devices that are blocking shutdown).
# Default: <none>
#DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"

# Radio devices to enable on shutdown: bluetooth, wifi, wwan.
# (to prevent other operating systems from missing radios).
# Default: <none>
#DEVICES_TO_ENABLE_ON_SHUTDOWN="wwan"

# Radio devices to enable on AC: bluetooth, wifi, wwan.
# Default: <none>
#DEVICES_TO_ENABLE_ON_AC="bluetooth wifi wwan"

# Radio devices to disable on battery: bluetooth, wifi, wwan.
# Default: <none>
#DEVICES_TO_DISABLE_ON_BAT="bluetooth wifi wwan"

# Radio devices to disable on battery when not in use (not connected):
#   bluetooth, wifi, wwan.
# Default: <none>
#DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE="bluetooth wifi wwan"

# Battery charge thresholds (ThinkPad only, tp-smapi or acpi-call kernel module
# required). Charging starts when the remaining capacity falls below the
# START_CHARGE_THRESH value and stops when exceeding the STOP_CHARGE_THRESH value.
# Main / Internal battery (values in %)
# Default: <none>
START_CHARGE_THRESH_BAT0=55
#STOP_CHARGE_THRESH_BAT0=80
# Ultrabay / Slice / Replaceable battery (values in %)
# Default: <none>
#START_CHARGE_THRESH_BAT1=75
#STOP_CHARGE_THRESH_BAT1=80

# Restore charge thresholds when AC is unplugged: 0=disable, 1=enable.
# Default: 0
RESTORE_THRESHOLDS_ON_BAT=1

# Battery feature drivers: 0=disable, 1=enable
# Default: 1 (all)
NATACPI_ENABLE=1
TPACPI_ENABLE=1
TPSMAPI_ENABLE=1

# ------------------------------------------------------------------------------
# tlp-rdw - Parameters for the radio device wizard
# Possible devices: bluetooth, wifi, wwan.

# Notes:
# - Parameters are disabled by default, remove the leading # to enable them
# - Separate multiple radio devices with spaces

# Default: <none> (for all parameters below)

# Radio devices to disable on connect.
DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
#DEVICES_TO_DISABLE_ON_WIFI_CONNECT="wwan"
#DEVICES_TO_DISABLE_ON_WWAN_CONNECT="wifi"

# Radio devices to enable on disconnect.
DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
#DEVICES_TO_ENABLE_ON_WIFI_DISCONNECT=""
#DEVICES_TO_ENABLE_ON_WWAN_DISCONNECT=""

# Radio devices to enable/disable when docked.
#DEVICES_TO_ENABLE_ON_DOCK=""
#DEVICES_TO_DISABLE_ON_DOCK=""

# Radio devices to enable/disable when undocked.
#DEVICES_TO_ENABLE_ON_UNDOCK="wifi"
#DEVICES_TO_DISABLE_ON_UNDOCK=""

Code:
sudo tlp start

Code:
sudo tlp-stat -s -b

Code:
sudo tlp-stat -s -b
--- TLP 1.3.0-beta.1 --------------------------------------------

+++ System Info
System         = LENOVO ThinkPad T490s 20NXCTO1WW
BIOS           = N2JET83W (1.61 )
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       = 03:44:08 PM,     60 sec(s) ago
Mode           = AC
Power source   = AC

+++ 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                    =      4
/sys/class/power_supply/BAT0/energy_full_design             =  57020 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  57930 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  36370 [mWh]
/sys/class/power_supply/BAT0/power_now                      =      0 [mW]
/sys/class/power_supply/BAT0/status                         = Unknown (threshold may prevent charging)

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

Charge                                                      =   62.8 [%]
Capacity                                                    =  101.6 [%]

- - - Beitrag zusammengeführt - - -

Es wird überhaupt keine Ladeschwelle gesetzt. Habe unter Win 45% Startladeschwelle eingetragen/gesetzt. Die ist jetzt unter Debian auch aktiv.


 
Beta 2 (1.3.0-beta.2) ist da. Änderungen siehe Startpost.

@mcb: bitte mit 1.2.2 testen mit dem Kommando
Code:
tlp setcharge
Könnte nämlich auch an deiner EC-Firmware iiegen.

@wileE: ist die 2. SSD Device sdb? Falls ja, musst Du die Konfiguration anpassen: DISK_DEVICES="sda sdb". Der Default hat sich nämlich geändert.
 
Zuletzt bearbeitet:
@linrunner: Wie komme ich zurück :confused:

- - - Beitrag zusammengeführt - - -

Code:
sudo apt install tlp tlp-rdw
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  tp-smapi-dkms
The following NEW packages will be installed:
  tlp tlp-rdw
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 70.3 kB of archives.
After this operation, 330 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 tlp all 1.1-2 [66.3 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 tlp-rdw all 1.1-2 [4,048 B]
Fetched 70.3 kB in 0s (354 kB/s)
Selecting previously unselected package tlp.
(Reading database ... 168009 files and directories currently installed.)
Preparing to unpack .../apt/archives/tlp_1.1-2_all.deb ...
Unpacking tlp (1.1-2) ...
dpkg: warning: unable to delete old directory '/etc/tlp.conf.d': Directory not empty
Selecting previously unselected package tlp-rdw.
Preparing to unpack .../archives/tlp-rdw_1.1-2_all.deb ...
Unpacking tlp-rdw (1.1-2) ...
Setting up tlp (1.1-2) ...

Configuration file '/etc/default/tlp'
 ==> Deleted (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** tlp (Y/I/N/O/D/Z) [default=N] ? n
Installing new version of config file /etc/init.d/tlp ...
Setting up tlp-rdw (1.1-2) ...
Installing new version of config file /etc/NetworkManager/dispatcher.d/99tlp-rdw-nm ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-7~deb10u1) ...
marc@MB:~$ sudo tlp start
Error: TLP power save is disabled. Set TLP_ENABLE=1 in /etc/default/tlp.

Mist ...

Wie bekomme ich die Konfigurationsfiles resetet ? Danke !

- - - Beitrag zusammengeführt - - -

:confused: Zurück auf 1.2 klappt leider nicht.

Aus Verzweifelung nochmal wieder hoch auf Beta2 -> das gleiche Problem, es werden keine Schwellen aus den Konfigurationsdateien übernommen.

setcharge funktioniert aber! Also anscheinend nicht der EC.

Code:
sudo tlp setcharge 50 100 bat0
Setting temporary charge thresholds for BAT0:
  start =  50
  stop  = 100 (no change)
marc@MB:~$ sudo tlp-stat -s -b
--- TLP 1.3.0-beta.2 --------------------------------------------

+++ System Info
System         = LENOVO ThinkPad T490s 20NXCTO1WW
BIOS           = N2JET83W (1.61 )
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       = 06:17:12 PM,    189 sec(s) ago
Mode           = AC
Power source   = AC

+++ 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                    =      4
/sys/class/power_supply/BAT0/energy_full_design             =  57020 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  57930 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  35020 [mWh]
/sys/class/power_supply/BAT0/power_now                      =      0 [mW]
/sys/class/power_supply/BAT0/status                         = Unknown (threshold may prevent charging)

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

Charge                                                      =   60.5 [%]
Capacity                                                    =  101.6 [%]

marc@MB:~$

- - - Beitrag zusammengeführt - - -

Ich benötige bitte einen Tip wie ich wieder auf eine lauffähige ver. 1.2 komme. (Konfigurationsdateien löschen? Wenn ja welche). Bevor noch mehr Kudelmulde entsteht bleibe ich auf beta2 oder ?

Danke
 
Zuletzt bearbeitet:
@mcb: Ich habe Zweifel, dass Du wirklich von 1.2.2 kamst. Dein Problem ist nämlich, dass Du nur START_CHARGE_THRESH_BAT0 konfiguriert hast. Seit 1.2.x ist es aber Pflicht, dass immer beide Schwellen konfiguriert sind; in deinem Fall also
Code:
START_CHARGE_THRESH_BAT0=55
STOP_CHARGE_THRESH_BAT0=100

Ab 1.2 kommt bei tlp setcharge eine Meldung, dass die Konfiguration unvollständig ist. Stattdessen hast Du 55 100 ergänzt um ihn zufriedenzustellen und damit das eigentliche Problem maskiert.

Du musst beim Testen präziser und systematischer vorgehen. Alles notieren. Alle Kommandos, alle Ausgaben. Dann gründlich recherchieren. Ich weiß, das macht sehr viel Mühe. Aber wenn Du das nicht konsequent tust, kommst Du nie über das Anfängerstadium hinaus.

In deinen Ausgaben siehst Du, dass Du versuchst die 1.1 zu installieren. Um die 1.2.2 zu bekommen, musst Du sie aus den Backports installieren. Wie das geht steht in der Doku. Genau lesen bitte.

Ich würde erstmal die Konfiguration wegsichern. Die müsste noch in /etc/tlp.conf stehen.

Dann mit
Code:
apt purge tlp tlp-rdw
die Pakete löschen und /etc/tlp.conf, /etc/tlp.conf.d bzw. /etc/tlp.d und auch /etc/default/tlp löschen.

Danach aus den Backports die 1.2.2 installieren und die gesicherte Konfiguration nach /etc/default/tlp kopieren.

Oder Du fängst mit 1.3 neu an und pflegst deine Einstellungen händisch in /etc/tlp.conf ein.
 
So der fehlerhafte Anwender hatte TLP aus den Backports installiert, beim Zurückwechsel aber den falschen Befehl verwendet :facepalm:

- TLP 1.3 beta 2 übernimmt die Ladeschwelle wenn man beide einträgt.
- Zurück auf 1.2... über die Backports ging auch (die TLP.conf bleibt erhalten)
- TLPUI geht mit 1.3 nicht mehr, ich hatte vermutet man könnte /etc/TLP nach wie vor lesend öffnen?

- die Konfiguration blieb erhalten. :thumbup:

Ein Verbesserungsvorschlag: Könnten TLP 1.2 und neuer nach dem ersten Start mit
Code:
sudo tlp start
einen Fehler oder Hinweis ausgeben wenn die obere Schwelle nicht gesetzt ist? Ist mir damals nicht aufgefallen, weil ich unter Win auch eine Schwelle im Autostart setzen muß. (Andernfalls läd der Akku unter Win sofort ...)

- - - Beitrag zusammengeführt - - -

T490 beta2 ac:
https://pastebin.com/yGea3HfF

T490 beta2 bat:
https://pastebin.com/JWwXmFBh

- - - Beitrag zusammengeführt - - -

So Danke für die Hilfe!
 
@mcb:
TLPUI geht mit 1.3 nicht mehr, ich hatte vermutet man könnte /etc/TLP nach wie vor lesend öffnen?
Den Entwickler von TLPUI hab ich im Vorfeld informiert: https://github.com/d4nj1/TLPUI/issues/59
Die notwendigen Anpassungen sind höchstwahrscheinlich nicht trivial – und nur lesen reicht halt nicht.

Kenne ich nicht ... ;)

die Konfiguration blieb erhalten. :thumbup:
Welche, wo? ;)

Ein Verbesserungsvorschlag: Könnten TLP 1.2 und neuer nach dem ersten Start mit
Code:
sudo tlp start
einen Fehler oder Hinweis ausgeben wenn die obere Schwelle nicht gesetzt ist? Ist mir damals nicht aufgefallen
Ich habe lange darüber nachgedacht, ob ich dort Fehlermeldungen ausgebe, mich aber letztlich dagegen entschieden. Ich werde es erneut in meinem Herzen bewegen ...

- - - Beitrag zusammengeführt - - -

@wileE: was sagt auf dem X201
Code:
tlp setcharge
(ohne weitere Parameter!)

EDITH sagt: das dürfte die Ursache auf dem X201 sein
Notice: tlp.service is not enabled -- invoke "systemctl enable tlp.service" to correct this!
Das Aktivieren dieses Service ist Pflicht, ansonsten werden beim Systemstart u.a. keine Schwellen gesetzt.

- - - Beitrag zusammengeführt - - -

@ALL: danke soweit für Eure Ausgaben.
 
Zuletzt bearbeitet:
T410 unter Strom:
Code:
[sudo] Passwort für mich:        
--- TLP 1.2.2 --------------------------------------------

+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
TLP_PERSISTENT_DEFAULT=0
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_HWP_ON_AC=balance_performance
CPU_HWP_ON_BAT=balance_power
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=power
DISK_DEVICES="nvme0n1 sda"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
AHCI_RUNTIME_PM_TIMEOUT=15
RADEON_POWER_PROFILE_ON_AC=default
RADEON_POWER_PROFILE_ON_BAT=default
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=off
WIFI_PWR_ON_BAT=on
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_AC=0
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
USB_AUTOSUSPEND=1
USB_BLACKLIST_BTUSB=0
USB_BLACKLIST_PHONE=0
USB_BLACKLIST_PRINTER=1
USB_BLACKLIST_WWAN=0
RESTORE_DEVICE_STATE_ON_STARTUP=0
NATACPI_ENABLE=1
TPACPI_ENABLE=1
TPSMAPI_ENABLE=1

+++ System Info
System         = LENOVO ThinkPad T410 2537WV3
BIOS           = 6IET85WW (1.45 )
Release        = Linux Mint 19.3 Tricia
Kernel         = 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-4.15.0-74-generic root=UUID=694badac-624c-4012-b6a1-9f6c77d3b58f ro quiet splash vt.handoff=1
Init system    = systemd v237
Boot mode      = BIOS (CSM, Legacy)

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 18:02:33,     54 sec(s) ago
Mode           = AC
Power source   = AC

+++ Processor
CPU model      = Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =  1199000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  2400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =  1199000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  2400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =  1199000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  2400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =  1199000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  2400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz]

/sys/devices/system/cpu/cpufreq/boost                  = 1

x86_energy_perf_policy: program not installed.

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

+++ Undervolting
PHC kernel not available.

+++ Temperatures
/proc/acpi/ibm/thermal = 52 0 0 0 0 0 0 0 [°C]
/proc/acpi/ibm/fan     =  3557 [/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

+++ Storage Devices
Devices = nvme0n1 sda

/dev/nvme0n1: not present.

/dev/sda:
  Type      = ATA
  Model     = Samsung SSD 860 EVO 250GB               
  Firmware  = RVT02B6Q
  APM Level = none/disabled
  Status    = active/idle
  TRIM      = supported
  Scheduler = noop deadline [cfq] (single queue)

  Runtime PM: control = on, autosuspend_delay_ms =   -1

+++ AHCI Link Power Management (ALPM)
/sys/class/scsi_host/host0/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host1/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host2/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host3/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host4/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host5/link_power_management_policy  = med_power_with_dipm

+++ 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

+++ Docks and Device Bays
/sys/devices/platform/dock.0: battery_bay   = no battery 
/sys/devices/platform/dock.1: ata_bay       = drive present

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

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

hci0(btusb)                   : bluetooth, not connected
wlp3s0(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 (using bios preferences)

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

/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:16.3/power/control = on   (0x070002, Serial controller, serial)
/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:1e.0/power/control = on   (0x060401, PCI bridge, no driver)
/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, no driver)
/sys/bus/pci/devices/0000:00:1f.6/power/control = on   (0x118000, Signal processing controller, intel ips)
/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   (0x080500, SD Host controller, sdhci-pci)
/sys/bus/pci/devices/0000:0d:00.1/power/control = on   (0x088000, System peripheral, no driver)
/sys/bus/pci/devices/0000:0d:00.3/power/control = on   (0x0c0010, FireWire (IEEE 1394), firewire_ohci)
/sys/bus/pci/devices/0000:ff:00.0/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:00.1/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.0/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.1/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.2/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.3/power/control = on   (0x060000, Host bridge, no driver)

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

Bus 002 Device 002 ID 8087:0020 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 003 ID 0a5c:217f control = auto, autosuspend_delay_ms = 2000 -- Broadcom Corp. BCM2045B (BDC-2.1) (btusb)
Bus 001 Device 002 ID 8087:0020 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)

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

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/devices/platform/smapi/BAT0/manufacturer               = SONY
/sys/devices/platform/smapi/BAT0/model                      = 42T4795
/sys/devices/platform/smapi/BAT0/manufacture_date           = 2010-03-21
/sys/devices/platform/smapi/BAT0/first_use_date             = 2010-05-19
/sys/devices/platform/smapi/BAT0/cycle_count                =     63
/sys/devices/platform/smapi/BAT0/temperature                =     19 [°C]
/sys/devices/platform/smapi/BAT0/design_capacity            =  50540 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity         =  55600 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity         =  53970 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent          =     97 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time    = not_charging [min]
/sys/devices/platform/smapi/BAT0/power_now                  =      0 [mW]
/sys/devices/platform/smapi/BAT0/power_avg                  =      0 [mW]
/sys/devices/platform/smapi/BAT0/state                      = idle

/sys/devices/platform/smapi/BAT0/start_charge_thresh        =     96 [%]
/sys/devices/platform/smapi/BAT0/stop_charge_thresh         =    100 [%]
/sys/devices/platform/smapi/BAT0/force_discharge            =      0

Charge                                                      =   97.1 [%]
Capacity                                                    =  110.0 [%]

+++ Recommendations
* Install smartmontools for disk drive health info

T410 mit Batterie
Code:
--- TLP 1.2.2 --------------------------------------------

+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
TLP_PERSISTENT_DEFAULT=0
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_HWP_ON_AC=balance_performance
CPU_HWP_ON_BAT=balance_power
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=power
DISK_DEVICES="nvme0n1 sda"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
AHCI_RUNTIME_PM_TIMEOUT=15
RADEON_POWER_PROFILE_ON_AC=default
RADEON_POWER_PROFILE_ON_BAT=default
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=off
WIFI_PWR_ON_BAT=on
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_AC=0
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
USB_AUTOSUSPEND=1
USB_BLACKLIST_BTUSB=0
USB_BLACKLIST_PHONE=0
USB_BLACKLIST_PRINTER=1
USB_BLACKLIST_WWAN=0
RESTORE_DEVICE_STATE_ON_STARTUP=0
NATACPI_ENABLE=1
TPACPI_ENABLE=1
TPSMAPI_ENABLE=1

+++ System Info
System         = LENOVO ThinkPad T410 2537WV3
BIOS           = 6IET85WW (1.45 )
Release        = Linux Mint 19.3 Tricia
Kernel         = 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-4.15.0-74-generic root=UUID=694badac-624c-4012-b6a1-9f6c77d3b58f ro quiet splash vt.handoff=1
Init system    = systemd v237
Boot mode      = BIOS (CSM, Legacy)

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 18:10:05,     20 sec(s) ago
Mode           = battery
Power source   = battery

+++ Processor
CPU model      = Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =  1199000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  2399000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =  1199000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  2399000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =  1199000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  2399000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =  1199000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  2399000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz]

/sys/devices/system/cpu/cpufreq/boost                  = 1

x86_energy_perf_policy: program not installed.

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

+++ Undervolting
PHC kernel not available.

+++ Temperatures
/proc/acpi/ibm/thermal = 45 0 0 0 0 0 0 0 [°C]
/proc/acpi/ibm/fan     =  1962 [/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: not present.

/dev/sda:
  Type      = ATA
  Model     = Samsung SSD 860 EVO 250GB               
  Firmware  = RVT02B6Q
  APM Level = none/disabled
  Status    = active/idle
  TRIM      = supported
  Scheduler = noop deadline [cfq] (single queue)

  Runtime PM: control = on, autosuspend_delay_ms =   -1

+++ AHCI Link Power Management (ALPM)
/sys/class/scsi_host/host0/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host1/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host2/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host3/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host4/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host5/link_power_management_policy  = med_power_with_dipm

+++ 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

+++ Docks and Device Bays
/sys/devices/platform/dock.0: battery_bay   = no battery 
/sys/devices/platform/dock.1: ata_bay       = drive present

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

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

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

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save            = 1
/sys/module/snd_hda_intel/parameters/power_save_controller = Y

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

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

/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:16.0/power/control = on   (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:16.3/power/control = auto (0x070002, Serial controller, serial)
/sys/bus/pci/devices/0000:00:19.0/power/control = auto (0x020000, Ethernet controller, e1000e)
/sys/bus/pci/devices/0000:00:1a.0/power/control = auto (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1b.0/power/control = auto (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 = auto (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1e.0/power/control = auto (0x060401, PCI bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, lpc_ich)
/sys/bus/pci/devices/0000:00:1f.2/power/control = auto (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x0c0500, SMBus, no driver)
/sys/bus/pci/devices/0000:00:1f.6/power/control = auto (0x118000, Signal processing controller, intel ips)
/sys/bus/pci/devices/0000:03:00.0/power/control = auto (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:0d:00.0/power/control = auto (0x080500, SD Host controller, sdhci-pci)
/sys/bus/pci/devices/0000:0d:00.1/power/control = auto (0x088000, System peripheral, no driver)
/sys/bus/pci/devices/0000:0d:00.3/power/control = auto (0x0c0010, FireWire (IEEE 1394), firewire_ohci)
/sys/bus/pci/devices/0000:ff:00.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:00.1/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.1/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.2/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.3/power/control = auto (0x060000, Host bridge, no driver)

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

Bus 002 Device 002 ID 8087:0020 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:0020 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)

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

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/devices/platform/smapi/BAT0/manufacturer               = SONY
/sys/devices/platform/smapi/BAT0/model                      = 42T4795
/sys/devices/platform/smapi/BAT0/manufacture_date           = 2010-03-21
/sys/devices/platform/smapi/BAT0/first_use_date             = 2010-05-19
/sys/devices/platform/smapi/BAT0/cycle_count                =     63
/sys/devices/platform/smapi/BAT0/temperature                =     27 [°C]
/sys/devices/platform/smapi/BAT0/design_capacity            =  50540 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity         =  55600 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity         =  53890 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent          =     97 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now =    283 [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time    = not_charging [min]
/sys/devices/platform/smapi/BAT0/power_now                  =  -8851 [mW]
/sys/devices/platform/smapi/BAT0/power_avg                  = -10861 [mW]
/sys/devices/platform/smapi/BAT0/state                      = discharging

/sys/devices/platform/smapi/BAT0/start_charge_thresh        =     96 [%]
/sys/devices/platform/smapi/BAT0/stop_charge_thresh         =    100 [%]
/sys/devices/platform/smapi/BAT0/force_discharge            =      0

Charge                                                      =   96.9 [%]
Capacity                                                    =  110.0 [%]

+++ Recommendations
* Install smartmontools for disk drive health info
 
Moin

Ab sofort gibt es die TLP 1.3.0 Beta 2 auch für Fedora.
Die Version steht über das separate TLP-Repo zur Verfügung.

Repository: tlp-updates-testing

Code:
dnf upgrade tlp tlp-rdw --enablerepo=tlp-updates-testing


Hinweis:
Die Einstellungen der Version 1.2.2 (/etc/default/tlp) werden nicht automatisch in die neue Version übernommen.
Eigene Einstellungen bitte unter /etc/tlp.d/ neu konfigurieren.


Bekannte Meldungen:
"Failed to try-restart tlp-sleep.service: Unit tlp-sleep.service not found."
Die Meldung stammt von der Aufräumroutine der Version 1.2.2 und kann ignoriert werden.


Wenn ihr zur zu offiziellen Version aus dem Fedora Repo zurückgehen wollt, geht das über folgenden Befehl.
Code:
dnf downgrade tlp tlp-rdw
 
Zuletzt bearbeitet:
Neugierig nachgefragt - kannst du auch mit ner Ausgabe von nem völlig ausgelutschten Akku was anfangen. :facepalm:
Code:
Charge                                                      =  100.0 [%]
Capacity                                                    =   33.1 [%]
System wäre KDE-Neon auf nem alten T420.
 
@Frieder108: der Zustand deines Akkus ist mir (und TLP) völlig latte :p. Mich interessiert die komplette Ausgabe zu Diagnosezwecken :D.

ps. und selbst Ausgaben von Medion, Acer oder sonstigen Joghurtbechern ;) nehme ich dankend ...
 
Zuletzt bearbeitet:
  • ok1.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen
Zurück
Oben