[TLP 1.4 Alpha] Ladeschwellen für Nicht-ThinkPads - Tester gesucht

linrunner

Ubuntuversteher
Themenstarter
Registriert
22 Juni 2007
Beiträge
13.277
Hi,

ich habe für 1.4 den Code so umstrukturiert, dass Ladeschwellen auch bei anderen Laptop-Fabrikaten unterstützt werden können. Voraussetzung ist allerdings ein funktionierender Treiber im Mainline-Kernel, den Zoo aus externen Kernel-Modulen und Tools wie bei ThinkPads werde ich mir nicht nochmal antun.

Konkret kann die 1.4 Alpha derzeit folgendes ansprechen:
  • ASUS Laptops
  • Huawei MateBooks
  • Lenovo Ideapads (sowie möglicherweise andere Lenovo-Serien)
  • Samsung Laptops
Wer Zugriff auf Laptops der genannte Fabrikate hat, darf sehr gerne beim Testen helfen. Es stehen Pakete für Debian/Ubuntu und Arch zur Verfügung.

Testanleitungen findet ihr bei GitHub. Eure Ergebnisse zu den Nicht-ThinkPads berichtet ihr bitte auch dort.

ThinkPads
Nun ist mir natürlich bewusst, das mein Ansinnen nicht perfekt zum Thema des Forum passt. Allerdings musste für die neue Struktur auch der Code für die ThinkPads stark umgearbeitet werden und das birgt die Gefahr von Regressionen.

Ihr dürft euch also genauso gerne mit der Alpha-Version (Download) auf euren Lieblingsgeräten austoben und hier im Thread berichten, ob alles noch wie gewohnt funktioniert.

Dazu gibt es auch ein Goodie für ThinkPads ab 2012 (X220/T420 ff.): man kann nämlich jetzt die Start Schwelle auf 0 setzen und sie damit deaktivieren. Die Treiber konnten das schon immer, nur TLP wusste nichts davon ... :rolleyes:. Übrigens meckert tlp start jetzt auch, wenn nicht beide Schwellen konfiguriert sind.

Wie gewohnt geht es nicht ohne Ausgaben. Diesmal möchte ich
Code:
tlp-stat -s -c -b
von euch sehen.

Weitere Neuigkeiten?
Neuigkeiten könnt ihr dem Changelog entnehmen. Ihr dürft/sollt sie natürlich gerne testen und hier berichten.

Außerdem gibt es eine Liste der noch zu testenden Features im Issue Tracker. Hier bitte ich ebenfalls um eure Mitarbeit.

Have fun! :)

ps. die Alpha ist mein "Daily Driver" und bereits gut getestet.

- - - Beitrag zusammengeführt - - -

So sieht das Ganze jetzt übrigens aus:
Code:
--- TLP 1.4.0-alpha.1 --------------------------------------------

+++ Battery Wear Control
Plugin: thinkpad
Supported features: charge thresholds, recalibration
Driver usage:
* natacpi (thinkpad_acpi) = active (charge thresholds)
* tpacpi-bat (acpi_call)  = active (recalibration)
Parameter value ranges:
* START_CHARGE_THRESH_BAT0/1:  0(off)..96(default)..99
* STOP_CHARGE_THRESH_BAT0/1:   1..100(default)

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = 01AV431
/sys/class/power_supply/BAT0/cycle_count                    =     84
/sys/class/power_supply/BAT0/energy_full_design             =  57020 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  49170 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  49170 [mWh]
/sys/class/power_supply/BAT0/power_now                      =      0 [mW]
/sys/class/power_supply/BAT0/status                         = Full

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

Charge                                                      =  100.0 [%]
Capacity                                                    =   86.2 [%]

Und bei Modellen vor 2012 so:
Code:
--- TLP 1.4.0-alpha.1 --------------------------------------------

+++ Battery Wear Control
Plugin: thinkpad-legacy
Supported features: charge thresholds, recalibration
Driver usage:
* tp-smapi (tp_smapi) = active (status, charge thresholds, recalibration)
Parameter value ranges:
* START_CHARGE_THRESH_BAT0/1:  2..96(default)
* STOP_CHARGE_THRESH_BAT0/1:   6..100(default)

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/devices/platform/smapi/BAT0/manufacturer               = SANYO
/sys/devices/platform/smapi/BAT0/model                      = 42T4694
/sys/devices/platform/smapi/BAT0/manufacture_date           = 2011-07-29
/sys/devices/platform/smapi/BAT0/first_use_date             = 2011-10-20
/sys/devices/platform/smapi/BAT0/cycle_count                =    225
/sys/devices/platform/smapi/BAT0/temperature                =     22 [°C]
/sys/devices/platform/smapi/BAT0/design_capacity            =  93240 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity         =  37000 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity         =  36020 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent          =     98 [%]
/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        =     67 [%]
/sys/devices/platform/smapi/BAT0/stop_charge_thresh         =    100 [%]
/sys/devices/platform/smapi/BAT0/force_discharge            =      0

Charge                                                      =   97.4 [%]
Capacity                                                    =   39.7 [%]
 
Zuletzt bearbeitet:
Danke. Das bestätigt meinen Verdacht, dass es hier ein kleines Rennen gibt:
Apr 27 19:21:32 mb tlp[3399]: get_sys_power_supply(AC).ac_offline_remembered
Apr 27 19:21:32 mb tlp[3399]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 27 19:21:32 mb tlp[3399]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 27 19:21:32 mb tlp[3399]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Die 2. Zeile zeigt, dass der Akku noch nicht "Discharging" signalisiert und in der 4. ist der USB-C Ladeanschluss noch als ladend ausgewiesen.

Ich habe mal probehalber 0.2 Sek. Verzögerung eingebaut --> Neue Pakete auf der Downloadseite.
 
Danke - keine Änderung am blöden T490s:

Code:
root@mb:/home/marc/Downloads# tlp-stat -T
--- TLP 1.4.0-alpha.1 --------------------------------------------

-- Journal begins at Thu 2021-03-11 09:46:19 CET, ends at Tue 2021-04-27 20:18:26 CEST. --
Apr 27 17:22:16 mb tlp[537]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 17:22:16 mb tlp[546]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 17:22:16 mb tlp[722]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 17:22:16 mb tlp[772]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 17:22:16 mb tlp[781]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 17:22:16 mb tlp[773]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 17:22:16 mb tlp[902]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 17:22:16 mb tlp[902]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 17:22:16 mb tlp[902]: power_source=ac
Apr 27 17:22:16 mb tlp[902]: manual_mode=none
Apr 27 17:22:16 mb tlp[902]: power_mode=ac
Apr 27 17:22:16 mb tlp[902]: compare_and_save_power_state(0).different: old=
Apr 27 19:20:00 mb tlp[1208]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 19:20:00 mb tlp[1208]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 19:20:00 mb tlp[1208]: power_source=ac
Apr 27 19:20:00 mb tlp[1208]: manual_mode=none
Apr 27 19:20:00 mb tlp[1208]: power_mode=ac
Apr 27 19:20:00 mb tlp[902]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpqmf5WL -> /run/tlp/run.conf
Apr 27 19:20:00 mb tlp[1442]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 19:20:00 mb tlp[1442]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 19:20:00 mb tlp[1442]: power_source=ac
Apr 27 19:20:00 mb tlp[1442]: manual_mode=none
Apr 27 19:20:00 mb tlp[1442]: power_mode=ac
Apr 27 19:20:00 mb tlp[1442]: compare_and_save_power_state(0).equal
Apr 27 19:20:01 mb tlp[1610]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 19:20:01 mb tlp[1610]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 19:20:01 mb tlp[1610]: power_source=ac
Apr 27 19:20:01 mb tlp[1610]: manual_mode=none
Apr 27 19:20:01 mb tlp[1610]: power_mode=ac
Apr 27 19:20:01 mb tlp[1610]: compare_and_save_power_state(0).equal
Apr 27 19:20:06 mb tlp[2250]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 19:20:06 mb tlp[2250]: +++ init start (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 19:20:06 mb tlp[2250]: power_source=ac
Apr 27 19:20:06 mb tlp[2250]: manual_mode=none
Apr 27 19:20:06 mb tlp[2250]: power_mode=ac
Apr 27 19:20:06 mb tlp[2250]: compare_and_save_power_state(0).equal
Apr 27 19:20:06 mb tlp[2250]: Applying power save settings...done.
Apr 27 19:20:06 mb tlp[2250]: Setting battery charge thresholds...done.
Apr 27 19:20:09 mb tlp[2250]: Disabling radios: bluetooth.
Apr 27 19:20:09 mb tlp[2250]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpOiUCIs -> /run/tlp/run.conf
Apr 27 19:21:08 mb tlp[3073]: get_sys_power_supply(AC).ac_offline_remembered
Apr 27 19:21:08 mb tlp[3073]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 27 19:21:08 mb tlp[3073]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 27 19:21:08 mb tlp[3073]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 27 19:21:08 mb tlp[3073]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 19:21:08 mb tlp[3073]: power_source=ac
Apr 27 19:21:08 mb tlp[3073]: manual_mode=none
Apr 27 19:21:08 mb tlp[3073]: power_mode=ac
Apr 27 19:21:08 mb tlp[3073]: compare_and_save_power_state(0).equal
Apr 27 19:21:09 mb tlp[3119]: get_sys_power_supply(AC).ac_offline_remembered
Apr 27 19:21:09 mb tlp[3119]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 27 19:21:09 mb tlp[3119]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 27 19:21:09 mb tlp[3119]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 27 19:21:09 mb tlp[3119]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 19:21:09 mb tlp[3119]: power_source=ac
Apr 27 19:21:09 mb tlp[3119]: manual_mode=none
Apr 27 19:21:09 mb tlp[3119]: power_mode=ac
Apr 27 19:21:09 mb tlp[3119]: compare_and_save_power_state(0).equal
Apr 27 19:21:17 mb tlp[3185]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 19:21:17 mb tlp[3185]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 19:21:17 mb tlp[3185]: power_source=ac
Apr 27 19:21:17 mb tlp[3185]: manual_mode=none
Apr 27 19:21:17 mb tlp[3185]: power_mode=ac
Apr 27 19:21:17 mb tlp[3185]: compare_and_save_power_state(0).equal
Apr 27 19:21:17 mb tlp[3209]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 19:21:17 mb tlp[3209]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 19:21:17 mb tlp[3209]: power_source=ac
Apr 27 19:21:17 mb tlp[3209]: manual_mode=none
Apr 27 19:21:17 mb tlp[3209]: power_mode=ac
Apr 27 19:21:17 mb tlp[3209]: compare_and_save_power_state(0).equal
Apr 27 19:21:32 mb tlp[3399]: get_sys_power_supply(AC).ac_offline_remembered
Apr 27 19:21:32 mb tlp[3399]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 27 19:21:32 mb tlp[3399]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 27 19:21:32 mb tlp[3399]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 27 19:21:32 mb tlp[3399]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 19:21:32 mb tlp[3399]: power_source=ac
Apr 27 19:21:32 mb tlp[3399]: manual_mode=none
Apr 27 19:21:32 mb tlp[3399]: power_mode=ac
Apr 27 19:21:32 mb tlp[3399]: compare_and_save_power_state(0).equal
Apr 27 19:21:32 mb tlp[3444]: get_sys_power_supply(AC).ac_offline_remembered
Apr 27 19:21:32 mb tlp[3444]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 27 19:21:32 mb tlp[3444]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 27 19:21:32 mb tlp[3444]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 27 19:21:32 mb tlp[3444]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 19:21:32 mb tlp[3444]: power_source=ac
Apr 27 19:21:32 mb tlp[3444]: manual_mode=none
Apr 27 19:21:32 mb tlp[3444]: power_mode=ac
Apr 27 19:21:32 mb tlp[3444]: compare_and_save_power_state(0).equal
Apr 27 19:21:40 mb tlp[3851]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 19:21:40 mb tlp[3851]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 19:21:40 mb tlp[3851]: power_source=ac
Apr 27 19:21:40 mb tlp[3851]: manual_mode=none
Apr 27 19:21:40 mb tlp[3851]: power_mode=ac
Apr 27 19:21:40 mb tlp[3851]: compare_and_save_power_state(0).equal
Apr 27 19:21:40 mb tlp[3906]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 19:21:40 mb tlp[3906]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 19:21:40 mb tlp[3906]: power_source=ac
Apr 27 19:21:40 mb tlp[3906]: manual_mode=none
Apr 27 19:21:40 mb tlp[3906]: power_mode=ac
Apr 27 19:21:40 mb tlp[3906]: compare_and_save_power_state(0).equal
Apr 27 20:13:22 mb tlp[11224]: Enabling radios: wifi.
Apr 27 20:13:23 mb tlp[11256]: Applying power save settings...done.
Apr 27 20:13:23 mb tlp[11256]: Setting battery charge thresholds...done.
Apr 27 20:13:23 mb tlp[11256]: Disabling radios: bluetooth.
Apr 27 20:17:36 mb tlp[13142]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 20:17:37 mb tlp[13142]: get_sys_power_supply(AC).ac_offline_remembered
Apr 27 20:17:37 mb tlp[13142]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 27 20:17:37 mb tlp[13142]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 27 20:17:37 mb tlp[13142]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 27 20:17:37 mb tlp[13142]: power_source=ac
Apr 27 20:17:37 mb tlp[13142]: manual_mode=none
Apr 27 20:17:37 mb tlp[13142]: power_mode=ac
Apr 27 20:17:37 mb tlp[13142]: compare_and_save_power_state(0).equal
Apr 27 20:17:37 mb tlp[13187]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 20:17:37 mb tlp[13187]: get_sys_power_supply(AC).ac_offline_remembered
Apr 27 20:17:37 mb tlp[13187]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 27 20:17:37 mb tlp[13187]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 27 20:17:37 mb tlp[13187]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 27 20:17:37 mb tlp[13187]: power_source=ac
Apr 27 20:17:37 mb tlp[13187]: manual_mode=none
Apr 27 20:17:37 mb tlp[13187]: power_mode=ac
Apr 27 20:17:37 mb tlp[13187]: compare_and_save_power_state(0).equal
Apr 27 20:17:44 mb tlp[13251]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 20:17:44 mb tlp[13251]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 20:17:44 mb tlp[13251]: power_source=ac
Apr 27 20:17:44 mb tlp[13251]: manual_mode=none
Apr 27 20:17:44 mb tlp[13251]: power_mode=ac
Apr 27 20:17:44 mb tlp[13251]: compare_and_save_power_state(0).equal
Apr 27 20:17:44 mb tlp[13275]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 20:17:45 mb tlp[13275]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 20:17:45 mb tlp[13275]: power_source=ac
Apr 27 20:17:45 mb tlp[13275]: manual_mode=none
Apr 27 20:17:45 mb tlp[13275]: power_mode=ac
Apr 27 20:17:45 mb tlp[13275]: compare_and_save_power_state(0).equal
Apr 27 20:17:53 mb tlp[13317]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 20:17:53 mb tlp[13317]: get_sys_power_supply(AC).ac_offline_remembered
Apr 27 20:17:53 mb tlp[13317]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 27 20:17:53 mb tlp[13317]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 27 20:17:53 mb tlp[13317]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 27 20:17:53 mb tlp[13317]: power_source=ac
Apr 27 20:17:53 mb tlp[13317]: manual_mode=none
Apr 27 20:17:53 mb tlp[13317]: power_mode=ac
Apr 27 20:17:53 mb tlp[13317]: compare_and_save_power_state(0).equal
Apr 27 20:17:53 mb tlp[13363]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 20:17:54 mb tlp[13363]: get_sys_power_supply(AC).ac_offline_remembered
Apr 27 20:17:54 mb tlp[13363]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 27 20:17:54 mb tlp[13363]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 27 20:17:54 mb tlp[13363]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 27 20:17:54 mb tlp[13363]: power_source=ac
Apr 27 20:17:54 mb tlp[13363]: manual_mode=none
Apr 27 20:17:54 mb tlp[13363]: power_mode=ac
Apr 27 20:17:54 mb tlp[13363]: compare_and_save_power_state(0).equal
Apr 27 20:18:13 mb tlp[13534]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 20:18:13 mb tlp[13534]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 20:18:13 mb tlp[13534]: power_source=ac
Apr 27 20:18:13 mb tlp[13534]: manual_mode=none
Apr 27 20:18:13 mb tlp[13534]: power_mode=ac
Apr 27 20:18:13 mb tlp[13534]: compare_and_save_power_state(0).equal
Apr 27 20:18:14 mb tlp[13558]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 27 20:18:14 mb tlp[13558]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 27 20:18:14 mb tlp[13558]: power_source=ac
Apr 27 20:18:14 mb tlp[13558]: manual_mode=none
Apr 27 20:18:14 mb tlp[13558]: power_mode=ac
Apr 27 20:18:14 mb tlp[13558]: compare_and_save_power_state(0).equal
root@mb:/home/marc/Downloads#

Code:
root@mb:/home/marc/Downloads# apt policy tlp tlp-rdw
tlp:
  Installed: 1.4.0~alpha.1+20210427-1
  Candidate: 1.4.0~alpha.1+20210427-1
  Version table:
 *** 1.4.0~alpha.1+20210427-1 100
        100 /var/lib/dpkg/status
     1.3.1-2 990
        990 http://deb.debian.org/debian bullseye/main amd64 Packages
        990 http://deb.debian.org/debian bullseye/main i386 Packages
        300 http://deb.debian.org/debian unstable/main amd64 Packages
        300 http://deb.debian.org/debian unstable/main i386 Packages
tlp-rdw:
  Installed: 1.4.0~alpha.1+20210427-1
  Candidate: 1.4.0~alpha.1+20210427-1
  Version table:
 *** 1.4.0~alpha.1+20210427-1 100
        100 /var/lib/dpkg/status
     1.3.1-2 990
        990 http://deb.debian.org/debian bullseye/main amd64 Packages
        990 http://deb.debian.org/debian bullseye/main i386 Packages
        300 http://deb.debian.org/debian unstable/main amd64 Packages
        300 http://deb.debian.org/debian unstable/main i386 Packages
root@mb:/home/marc/Downloads#

- - - Beitrag zusammengeführt - - -

Ich kann nochmal am T14 probieren (nur nicht mehr heute).
 
Lass uns jetzt auf das T490s fokussieren, nur dort sind die Symptome.

Neue Pakete sind auf der Downloadseite. Bitte zuerst sicherstellen, dass das Problem auftritt. EDITH: Erst danach neue Pakete drauf und wieder die Traces AC -> BAT und BAT -> AC.
 
Zuletzt bearbeitet:
OK ne Zeit lang ging es wieder mit der 28er

jetzt schaltet er gerade nicht hier der trace:
Code:
Apr 28 14:24:16 mb tlp[34541]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:24:17 mb tlp[34541]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:24:17 mb tlp[34541]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 28 14:24:17 mb tlp[34541]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 28 14:24:17 mb tlp[34541]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 28 14:24:17 mb tlp[34541]: power_source=ac
Apr 28 14:24:17 mb tlp[34541]: manual_mode=none
Apr 28 14:24:17 mb tlp[34541]: power_mode=ac
Apr 28 14:24:17 mb tlp[34541]: compare_and_save_power_state(0).equal
Apr 28 14:27:03 mb tlp[35161]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:27:04 mb tlp[35161]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:27:04 mb tlp[35161]: power_source=ac
Apr 28 14:27:04 mb tlp[35161]: manual_mode=none
Apr 28 14:27:04 mb tlp[35161]: power_mode=ac
Apr 28 14:27:04 mb tlp[35161]: compare_and_save_power_state(0).equal
Apr 28 14:27:04 mb tlp[35168]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:27:04 mb tlp[35168]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:27:04 mb tlp[35168]: power_source=ac
Apr 28 14:27:04 mb tlp[35168]: manual_mode=none
Apr 28 14:27:04 mb tlp[35168]: power_mode=ac
Apr 28 14:27:04 mb tlp[35168]: compare_and_save_power_state(0).equal
Apr 28 14:27:15 mb tlp[35228]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:27:15 mb tlp[35228]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:27:15 mb tlp[35228]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 28 14:27:15 mb tlp[35235]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:27:15 mb tlp[35228]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 28 14:27:15 mb tlp[35228]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 28 14:27:15 mb tlp[35228]: power_source=ac
Apr 28 14:27:15 mb tlp[35228]: manual_mode=none
Apr 28 14:27:15 mb tlp[35228]: power_mode=ac
Apr 28 14:27:15 mb tlp[35228]: compare_and_save_power_state(0).equal
Apr 28 14:27:16 mb tlp[35235]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:27:16 mb tlp[35235]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 28 14:27:16 mb tlp[35235]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 28 14:27:16 mb tlp[35235]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 28 14:27:16 mb tlp[35235]: power_source=ac
Apr 28 14:27:16 mb tlp[35235]: manual_mode=none
Apr 28 14:27:16 mb tlp[35235]: power_mode=ac
Apr 28 14:27:16 mb tlp[35235]: compare_and_save_power_state(0).equal
Apr 28 14:27:23 mb tlp[35338]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:27:24 mb tlp[35338]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:27:24 mb tlp[35338]: power_source=ac
Apr 28 14:27:24 mb tlp[35338]: manual_mode=none
Apr 28 14:27:24 mb tlp[35338]: power_mode=ac
Apr 28 14:27:24 mb tlp[35338]: compare_and_save_power_state(0).equal
Apr 28 14:27:24 mb tlp[35345]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:27:24 mb tlp[35345]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:27:24 mb tlp[35345]: power_source=ac
Apr 28 14:27:24 mb tlp[35345]: manual_mode=none
Apr 28 14:27:24 mb tlp[35345]: power_mode=ac
Apr 28 14:27:24 mb tlp[35345]: compare_and_save_power_state(0).equal
root@mb:/etc/tlp.d#

:confused: so 4 Minuten später ging es jetzt wieder ??? der komplette Log:
Code:
root@mb:/etc/tlp.d# tlp-stat -T
--- TLP 1.4.0-alpha.1 --------------------------------------------

-- Journal begins at Thu 2021-03-11 09:46:19 CET, ends at Wed 2021-04-28 14:33:05 CEST. --
Apr 28 10:46:04 mb tlp[2228]: Applying power save settings...done.
Apr 28 10:46:04 mb tlp[2228]: Setting battery charge thresholds...done.
Apr 28 10:46:07 mb tlp[2228]: Disabling radios: bluetooth.
Apr 28 10:52:33 mb tlp[4816]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 10:52:33 mb tlp[4816]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 10:52:33 mb tlp[4816]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 10:52:33 mb tlp[4816]: power_source=bat
Apr 28 10:52:33 mb tlp[4816]: manual_mode=none
Apr 28 10:52:33 mb tlp[4816]: power_mode=bat
Apr 28 10:52:33 mb tlp[4816]: compare_and_save_power_state(1).different: old=0
Apr 28 10:52:34 mb tlp[4816]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpUBW0mu -> /run/tlp/run.conf
Apr 28 10:53:10 mb tlp[5157]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 10:53:11 mb tlp[5165]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 10:53:11 mb tlp[5157]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 10:53:11 mb tlp[5157]: power_source=ac
Apr 28 10:53:11 mb tlp[5157]: manual_mode=none
Apr 28 10:53:11 mb tlp[5157]: power_mode=ac
Apr 28 10:53:11 mb tlp[5157]: compare_and_save_power_state(0).different: old=1
Apr 28 10:53:11 mb tlp[5165]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 10:53:11 mb tlp[5165]: power_source=ac
Apr 28 10:53:11 mb tlp[5165]: manual_mode=none
Apr 28 10:53:11 mb tlp[5165]: power_mode=ac
Apr 28 10:53:14 mb tlp[5157]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpZ7EyvW -> /run/tlp/run.conf
Apr 28 11:50:18 mb tlp[14546]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 11:50:18 mb tlp[14553]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 11:50:18 mb tlp[14546]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 11:50:18 mb tlp[14546]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 28 11:50:18 mb tlp[14546]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 28 11:50:18 mb tlp[14546]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 28 11:50:18 mb tlp[14546]: power_source=ac
Apr 28 11:50:18 mb tlp[14546]: manual_mode=none
Apr 28 11:50:18 mb tlp[14546]: power_mode=ac
Apr 28 11:50:18 mb tlp[14546]: compare_and_save_power_state(0).equal
Apr 28 11:50:19 mb tlp[14553]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 11:50:19 mb tlp[14553]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 11:50:19 mb tlp[14553]: power_source=bat
Apr 28 11:50:19 mb tlp[14553]: manual_mode=none
Apr 28 11:50:19 mb tlp[14553]: power_mode=bat
Apr 28 11:50:19 mb tlp[14553]: compare_and_save_power_state(1).different: old=0
Apr 28 11:50:19 mb tlp[14553]: save_runconf.ok: /run/tlp/tlp-run.conf_tmppciDNm -> /run/tlp/run.conf
Apr 28 11:50:30 mb tlp[14917]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 11:50:31 mb tlp[14924]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 11:50:31 mb tlp[14917]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 11:50:31 mb tlp[14917]: power_source=ac
Apr 28 11:50:31 mb tlp[14917]: manual_mode=none
Apr 28 11:50:31 mb tlp[14917]: power_mode=ac
Apr 28 11:50:31 mb tlp[14917]: compare_and_save_power_state(0).different: old=1
Apr 28 11:50:31 mb tlp[14924]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 11:50:31 mb tlp[14924]: power_source=ac
Apr 28 11:50:31 mb tlp[14924]: manual_mode=none
Apr 28 11:50:31 mb tlp[14924]: power_mode=ac
Apr 28 11:50:34 mb tlp[14917]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpDt6DcE -> /run/tlp/run.conf
Apr 28 14:23:52 mb tlp[34122]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:23:52 mb tlp[34129]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:23:52 mb tlp[34122]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:23:52 mb tlp[34122]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 28 14:23:52 mb tlp[34122]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 28 14:23:52 mb tlp[34122]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 28 14:23:52 mb tlp[34122]: power_source=ac
Apr 28 14:23:52 mb tlp[34122]: manual_mode=none
Apr 28 14:23:52 mb tlp[34122]: power_mode=ac
Apr 28 14:23:52 mb tlp[34122]: compare_and_save_power_state(0).equal
Apr 28 14:23:53 mb tlp[34129]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:23:53 mb tlp[34129]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 28 14:23:53 mb tlp[34129]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 28 14:23:53 mb tlp[34129]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 28 14:23:53 mb tlp[34129]: power_source=ac
Apr 28 14:23:53 mb tlp[34129]: manual_mode=none
Apr 28 14:23:53 mb tlp[34129]: power_mode=ac
Apr 28 14:23:53 mb tlp[34129]: compare_and_save_power_state(0).equal
Apr 28 14:24:04 mb tlp[34366]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:24:05 mb tlp[34373]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:24:05 mb tlp[34366]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:24:05 mb tlp[34366]: power_source=ac
Apr 28 14:24:05 mb tlp[34366]: manual_mode=none
Apr 28 14:24:05 mb tlp[34366]: power_mode=ac
Apr 28 14:24:05 mb tlp[34366]: compare_and_save_power_state(0).equal
Apr 28 14:24:05 mb tlp[34373]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:24:05 mb tlp[34373]: power_source=ac
Apr 28 14:24:05 mb tlp[34373]: manual_mode=none
Apr 28 14:24:05 mb tlp[34373]: power_mode=ac
Apr 28 14:24:05 mb tlp[34373]: compare_and_save_power_state(0).equal
Apr 28 14:24:15 mb tlp[34534]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:24:16 mb tlp[34534]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:24:16 mb tlp[34534]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 28 14:24:16 mb tlp[34534]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 28 14:24:16 mb tlp[34534]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 28 14:24:16 mb tlp[34534]: power_source=ac
Apr 28 14:24:16 mb tlp[34534]: manual_mode=none
Apr 28 14:24:16 mb tlp[34534]: power_mode=ac
Apr 28 14:24:16 mb tlp[34534]: compare_and_save_power_state(0).equal
Apr 28 14:24:16 mb tlp[34541]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:24:17 mb tlp[34541]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:24:17 mb tlp[34541]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 28 14:24:17 mb tlp[34541]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 28 14:24:17 mb tlp[34541]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 28 14:24:17 mb tlp[34541]: power_source=ac
Apr 28 14:24:17 mb tlp[34541]: manual_mode=none
Apr 28 14:24:17 mb tlp[34541]: power_mode=ac
Apr 28 14:24:17 mb tlp[34541]: compare_and_save_power_state(0).equal
Apr 28 14:27:03 mb tlp[35161]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:27:04 mb tlp[35161]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:27:04 mb tlp[35161]: power_source=ac
Apr 28 14:27:04 mb tlp[35161]: manual_mode=none
Apr 28 14:27:04 mb tlp[35161]: power_mode=ac
Apr 28 14:27:04 mb tlp[35161]: compare_and_save_power_state(0).equal
Apr 28 14:27:04 mb tlp[35168]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:27:04 mb tlp[35168]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:27:04 mb tlp[35168]: power_source=ac
Apr 28 14:27:04 mb tlp[35168]: manual_mode=none
Apr 28 14:27:04 mb tlp[35168]: power_mode=ac
Apr 28 14:27:04 mb tlp[35168]: compare_and_save_power_state(0).equal
Apr 28 14:27:15 mb tlp[35228]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:27:15 mb tlp[35228]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:27:15 mb tlp[35228]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 28 14:27:15 mb tlp[35235]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:27:15 mb tlp[35228]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 28 14:27:15 mb tlp[35228]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 28 14:27:15 mb tlp[35228]: power_source=ac
Apr 28 14:27:15 mb tlp[35228]: manual_mode=none
Apr 28 14:27:15 mb tlp[35228]: power_mode=ac
Apr 28 14:27:15 mb tlp[35228]: compare_and_save_power_state(0).equal
Apr 28 14:27:16 mb tlp[35235]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:27:16 mb tlp[35235]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 28 14:27:16 mb tlp[35235]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 28 14:27:16 mb tlp[35235]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 28 14:27:16 mb tlp[35235]: power_source=ac
Apr 28 14:27:16 mb tlp[35235]: manual_mode=none
Apr 28 14:27:16 mb tlp[35235]: power_mode=ac
Apr 28 14:27:16 mb tlp[35235]: compare_and_save_power_state(0).equal
Apr 28 14:27:23 mb tlp[35338]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:27:24 mb tlp[35338]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:27:24 mb tlp[35338]: power_source=ac
Apr 28 14:27:24 mb tlp[35338]: manual_mode=none
Apr 28 14:27:24 mb tlp[35338]: power_mode=ac
Apr 28 14:27:24 mb tlp[35338]: compare_and_save_power_state(0).equal
Apr 28 14:27:24 mb tlp[35345]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:27:24 mb tlp[35345]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:27:24 mb tlp[35345]: power_source=ac
Apr 28 14:27:24 mb tlp[35345]: manual_mode=none
Apr 28 14:27:24 mb tlp[35345]: power_mode=ac
Apr 28 14:27:24 mb tlp[35345]: compare_and_save_power_state(0).equal
Apr 28 14:29:42 mb tlp[35730]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:29:42 mb tlp[35737]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:29:42 mb tlp[35730]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:29:42 mb tlp[35730]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 28 14:29:42 mb tlp[35730]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 28 14:29:42 mb tlp[35730]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 28 14:29:42 mb tlp[35730]: power_source=ac
Apr 28 14:29:42 mb tlp[35730]: manual_mode=none
Apr 28 14:29:42 mb tlp[35730]: power_mode=ac
Apr 28 14:29:42 mb tlp[35730]: compare_and_save_power_state(0).equal
Apr 28 14:29:43 mb tlp[35737]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:29:43 mb tlp[35737]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 14:29:43 mb tlp[35737]: power_source=bat
Apr 28 14:29:43 mb tlp[35737]: manual_mode=none
Apr 28 14:29:43 mb tlp[35737]: power_mode=bat
Apr 28 14:29:43 mb tlp[35737]: compare_and_save_power_state(1).different: old=0
Apr 28 14:29:44 mb tlp[35737]: save_runconf.ok: /run/tlp/tlp-run.conf_tmp0YQXbd -> /run/tlp/run.conf
Apr 28 14:29:47 mb tlp[35992]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:29:48 mb tlp[36001]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:29:48 mb tlp[35992]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:29:48 mb tlp[35992]: power_source=ac
Apr 28 14:29:48 mb tlp[35992]: manual_mode=none
Apr 28 14:29:48 mb tlp[35992]: power_mode=ac
Apr 28 14:29:48 mb tlp[36007]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:29:48 mb tlp[35992]: compare_and_save_power_state(0).different: old=1
Apr 28 14:29:48 mb tlp[36020]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:29:48 mb tlp[36001]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:29:48 mb tlp[36001]: power_source=ac
Apr 28 14:29:48 mb tlp[36001]: manual_mode=none
Apr 28 14:29:48 mb tlp[36001]: power_mode=ac
Apr 28 14:29:48 mb tlp[36007]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:29:48 mb tlp[36007]: power_source=ac
Apr 28 14:29:48 mb tlp[36007]: manual_mode=none
Apr 28 14:29:48 mb tlp[36007]: power_mode=ac
Apr 28 14:29:48 mb tlp[36020]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:29:48 mb tlp[36020]: power_source=ac
Apr 28 14:29:48 mb tlp[36020]: manual_mode=none
Apr 28 14:29:48 mb tlp[36020]: power_mode=ac
Apr 28 14:29:50 mb tlp[35992]: save_runconf.ok: /run/tlp/tlp-run.conf_tmp3Xv37S -> /run/tlp/run.conf
Apr 28 14:29:58 mb tlp[36296]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:29:58 mb tlp[36304]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:29:59 mb tlp[36296]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:29:59 mb tlp[36296]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 14:29:59 mb tlp[36311]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:29:59 mb tlp[36296]: power_source=bat
Apr 28 14:29:59 mb tlp[36296]: manual_mode=none
Apr 28 14:29:59 mb tlp[36296]: power_mode=bat
Apr 28 14:29:59 mb tlp[36296]: compare_and_save_power_state(1).different: old=0
Apr 28 14:29:59 mb tlp[36304]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:29:59 mb tlp[36304]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 14:29:59 mb tlp[36304]: power_source=bat
Apr 28 14:29:59 mb tlp[36304]: manual_mode=none
Apr 28 14:29:59 mb tlp[36304]: power_mode=bat
Apr 28 14:29:59 mb tlp[36311]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:29:59 mb tlp[36311]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 14:29:59 mb tlp[36311]: power_source=bat
Apr 28 14:29:59 mb tlp[36311]: manual_mode=none
Apr 28 14:29:59 mb tlp[36311]: power_mode=bat
Apr 28 14:30:00 mb tlp[36296]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpMN0YpP -> /run/tlp/run.conf
Apr 28 14:30:08 mb tlp[36670]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:08 mb tlp[36679]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:09 mb tlp[36686]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:09 mb tlp[36670]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:30:09 mb tlp[36670]: power_source=ac
Apr 28 14:30:09 mb tlp[36670]: manual_mode=none
Apr 28 14:30:09 mb tlp[36670]: power_mode=ac
Apr 28 14:30:09 mb tlp[36670]: compare_and_save_power_state(0).different: old=1
Apr 28 14:30:09 mb tlp[36679]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:30:09 mb tlp[36679]: power_source=ac
Apr 28 14:30:09 mb tlp[36679]: manual_mode=none
Apr 28 14:30:09 mb tlp[36679]: power_mode=ac
Apr 28 14:30:09 mb tlp[36670]: save_runconf.ok: /run/tlp/tlp-run.conf_tmp35f53B -> /run/tlp/run.conf
Apr 28 14:30:09 mb tlp[36686]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:30:09 mb tlp[36686]: power_source=ac
Apr 28 14:30:09 mb tlp[36686]: manual_mode=none
Apr 28 14:30:09 mb tlp[36686]: power_mode=ac
Apr 28 14:30:09 mb tlp[36686]: compare_and_save_power_state(0).equal
Apr 28 14:30:15 mb tlp[36938]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:15 mb tlp[36946]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:15 mb tlp[36952]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:15 mb tlp[36938]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:30:15 mb tlp[36938]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 14:30:15 mb tlp[36938]: power_source=bat
Apr 28 14:30:15 mb tlp[36938]: manual_mode=none
Apr 28 14:30:15 mb tlp[36938]: power_mode=bat
Apr 28 14:30:15 mb tlp[36938]: compare_and_save_power_state(1).different: old=0
Apr 28 14:30:15 mb tlp[36946]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:30:15 mb tlp[36946]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 14:30:15 mb tlp[36946]: power_source=bat
Apr 28 14:30:15 mb tlp[36946]: manual_mode=none
Apr 28 14:30:15 mb tlp[36946]: power_mode=bat
Apr 28 14:30:16 mb tlp[36952]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:30:16 mb tlp[36952]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 14:30:16 mb tlp[36952]: power_source=bat
Apr 28 14:30:16 mb tlp[36952]: manual_mode=none
Apr 28 14:30:16 mb tlp[36952]: power_mode=bat
Apr 28 14:30:16 mb tlp[36938]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpeF3CJr -> /run/tlp/run.conf
Apr 28 14:30:25 mb tlp[37310]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:25 mb tlp[37319]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:26 mb tlp[37325]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:26 mb tlp[37310]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:30:26 mb tlp[37310]: power_source=ac
Apr 28 14:30:26 mb tlp[37310]: manual_mode=none
Apr 28 14:30:26 mb tlp[37310]: power_mode=ac
Apr 28 14:30:26 mb tlp[37310]: compare_and_save_power_state(0).different: old=1
Apr 28 14:30:26 mb tlp[37319]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:30:26 mb tlp[37319]: power_source=ac
Apr 28 14:30:26 mb tlp[37319]: manual_mode=none
Apr 28 14:30:26 mb tlp[37319]: power_mode=ac
Apr 28 14:30:26 mb tlp[37310]: save_runconf.ok: /run/tlp/tlp-run.conf_tmp7dqM0O -> /run/tlp/run.conf
Apr 28 14:30:26 mb tlp[37325]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:30:26 mb tlp[37325]: power_source=ac
Apr 28 14:30:26 mb tlp[37325]: manual_mode=none
Apr 28 14:30:26 mb tlp[37325]: power_mode=ac
Apr 28 14:30:26 mb tlp[37325]: compare_and_save_power_state(0).equal
Apr 28 14:30:34 mb tlp[37597]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:34 mb tlp[37605]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:34 mb tlp[37611]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:34 mb tlp[37597]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:30:34 mb tlp[37597]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 14:30:34 mb tlp[37597]: power_source=bat
Apr 28 14:30:34 mb tlp[37597]: manual_mode=none
Apr 28 14:30:34 mb tlp[37597]: power_mode=bat
Apr 28 14:30:34 mb tlp[37597]: compare_and_save_power_state(1).different: old=0
Apr 28 14:30:34 mb tlp[37605]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:30:34 mb tlp[37605]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 14:30:34 mb tlp[37605]: power_source=bat
Apr 28 14:30:34 mb tlp[37605]: manual_mode=none
Apr 28 14:30:34 mb tlp[37605]: power_mode=bat
Apr 28 14:30:34 mb tlp[37611]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 14:30:35 mb tlp[37611]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 14:30:35 mb tlp[37611]: power_source=bat
Apr 28 14:30:35 mb tlp[37611]: manual_mode=none
Apr 28 14:30:35 mb tlp[37611]: power_mode=bat
Apr 28 14:30:35 mb tlp[37597]: save_runconf.ok: /run/tlp/tlp-run.conf_tmprye6EH -> /run/tlp/run.conf
Apr 28 14:30:39 mb tlp[37950]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:39 mb tlp[37956]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:39 mb tlp[37962]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 14:30:39 mb tlp[37950]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:30:39 mb tlp[37950]: power_source=ac
Apr 28 14:30:39 mb tlp[37950]: manual_mode=none
Apr 28 14:30:39 mb tlp[37950]: power_mode=ac
Apr 28 14:30:39 mb tlp[37950]: compare_and_save_power_state(0).different: old=1
Apr 28 14:30:40 mb tlp[37956]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:30:40 mb tlp[37956]: power_source=ac
Apr 28 14:30:40 mb tlp[37956]: manual_mode=none
Apr 28 14:30:40 mb tlp[37956]: power_mode=ac
Apr 28 14:30:40 mb tlp[37962]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:30:40 mb tlp[37962]: power_source=ac
Apr 28 14:30:40 mb tlp[37962]: manual_mode=none
Apr 28 14:30:40 mb tlp[37962]: power_mode=ac
Apr 28 14:30:42 mb tlp[37950]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpsW52ZG -> /run/tlp/run.conf
root@mb:/etc/tlp.d#

Zum probieren:

tlp bat -> schaltet
tlp auto -> schaltet nicht
tlp ac -> schaltet

und das ein paar Minuten später

- - - Beitrag zusammengeführt - - -

OK ich habe mal acpi_call runtergeschmissen -

Code:
root@mb:~# tlp-stat -T
--- TLP 1.4.0-alpha.1 --------------------------------------------

-- Journal begins at Fri 2021-03-12 14:32:51 CET, ends at Wed 2021-04-28 16:34:47 CEST. --
Apr 28 14:34:29 mb tlp[548]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:34:29 mb tlp[608]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:34:30 mb tlp[733]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:34:30 mb tlp[727]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:34:30 mb tlp[734]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:34:30 mb tlp[760]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 14:34:30 mb tlp[924]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 16:32:13 mb tlp[997]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 16:32:13 mb tlp[924]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 16:32:13 mb tlp[924]: power_source=ac
Apr 28 16:32:13 mb tlp[924]: manual_mode=none
Apr 28 16:32:13 mb tlp[924]: power_mode=ac
Apr 28 16:32:13 mb tlp[924]: compare_and_save_power_state(0).different: old=
Apr 28 16:32:13 mb tlp[997]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 16:32:13 mb tlp[997]: power_source=ac
Apr 28 16:32:13 mb tlp[997]: manual_mode=none
Apr 28 16:32:13 mb tlp[997]: power_mode=ac
Apr 28 16:32:13 mb tlp[1361]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 16:32:14 mb tlp[924]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpOcRohi -> /run/tlp/run.conf
Apr 28 16:32:14 mb tlp[1361]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 16:32:14 mb tlp[1361]: power_source=ac
Apr 28 16:32:14 mb tlp[1361]: manual_mode=none
Apr 28 16:32:14 mb tlp[1361]: power_mode=ac
Apr 28 16:32:14 mb tlp[1361]: compare_and_save_power_state(0).equal
Apr 28 16:32:14 mb tlp[1598]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 16:32:14 mb tlp[1598]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 16:32:14 mb tlp[1598]: power_source=ac
Apr 28 16:32:14 mb tlp[1598]: manual_mode=none
Apr 28 16:32:14 mb tlp[1598]: power_mode=ac
Apr 28 16:32:14 mb tlp[1598]: compare_and_save_power_state(0).equal
Apr 28 16:32:19 mb tlp[2258]: +++ init start (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 16:32:19 mb tlp[2258]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 16:32:19 mb tlp[2258]: power_source=ac
Apr 28 16:32:19 mb tlp[2258]: manual_mode=none
Apr 28 16:32:19 mb tlp[2258]: power_mode=ac
Apr 28 16:32:19 mb tlp[2258]: compare_and_save_power_state(0).equal
Apr 28 16:32:19 mb tlp[2258]: Applying power save settings...done.
Apr 28 16:32:19 mb tlp[2258]: Setting battery charge thresholds...done.
Apr 28 16:32:22 mb tlp[2258]: Disabling radios: bluetooth.
Apr 28 16:32:22 mb tlp[2258]: save_runconf.ok: /run/tlp/tlp-run.conf_tmp7fcDMN -> /run/tlp/run.conf
Apr 28 16:34:14 mb tlp[4278]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 16:34:15 mb tlp[4286]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 16:34:15 mb tlp[4278]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 16:34:15 mb tlp[4278]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 28 16:34:15 mb tlp[4278]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 28 16:34:15 mb tlp[4278]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 28 16:34:15 mb tlp[4278]: power_source=ac
Apr 28 16:34:15 mb tlp[4278]: manual_mode=none
Apr 28 16:34:15 mb tlp[4278]: power_mode=ac
Apr 28 16:34:15 mb tlp[4278]: compare_and_save_power_state(0).equal
Apr 28 16:34:15 mb tlp[4286]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 16:34:15 mb tlp[4286]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 16:34:15 mb tlp[4286]: power_source=bat
Apr 28 16:34:15 mb tlp[4286]: manual_mode=none
Apr 28 16:34:15 mb tlp[4286]: power_mode=bat
Apr 28 16:34:15 mb tlp[4286]: compare_and_save_power_state(1).different: old=0
Apr 28 16:34:16 mb tlp[4286]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpXCMBBX -> /run/tlp/run.conf
Apr 28 16:34:26 mb tlp[4783]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 16:34:26 mb tlp[4783]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 16:34:26 mb tlp[4783]: power_source=ac
Apr 28 16:34:26 mb tlp[4783]: manual_mode=none
Apr 28 16:34:26 mb tlp[4790]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 16:34:26 mb tlp[4783]: power_mode=ac
Apr 28 16:34:26 mb tlp[4783]: compare_and_save_power_state(0).different: old=1
Apr 28 16:34:27 mb tlp[4790]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 16:34:27 mb tlp[4790]: power_source=ac
Apr 28 16:34:27 mb tlp[4790]: manual_mode=none
Apr 28 16:34:27 mb tlp[4790]: power_mode=ac
Apr 28 16:34:29 mb tlp[4783]: save_runconf.ok: /run/tlp/tlp-run.conf_tmp2x28CM -> /run/tlp/run.conf
root@mb:~#
 
Zuletzt bearbeitet:
Zum probieren:
tlp bat -> schaltet
tlp auto -> schaltet nicht
tlp ac -> schaltet
und das ein paar Minuten später
Das gehört so: tlp bat (und auch tlp ac) schalten in den "Manual Mode" (steht in deren Ausgabe). Dieser verhindert, dass tlp auto schaltet. Ein tlp start hebt ihn auf. Deine eigenen Testfälle sind gut gemeint, passen aber nicht zum Problem :). In den Traces ist auch kein Manual Mode zu sehen.

https://linrunner.de/tlp/usage/tlp.html#battery-mode

Also zurück zum Problem: ich hatte in den aktuellen Paketen wieder eine Wartezeit von 0.5 Sek. eingebaut. Die gab es in 1.3.1 schon mal. Die Frage ist, warum es trotzdem nicht tut.

Ändere die Wartezeit bitte mal von Hand auf 1 Sek. in der Datei /usr/sbin/tlp in Zeile 200:
Code:
# auto: wait a moment for power state to settle
[ "$_cmd" = "auto" ] && [B]sleep 1.0[/B]
Dann wieder tracen bitte.
 
Zuletzt bearbeitet:
Code:
Apr 28 17:06:37 mb tlp[10106]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 17:06:37 mb tlp[10106]: power_source=ac
Apr 28 17:06:37 mb tlp[10106]: manual_mode=none
Apr 28 17:06:37 mb tlp[10106]: power_mode=ac
Apr 28 17:06:37 mb tlp[10106]: compare_and_save_power_state(0).equal
Apr 28 17:06:37 mb tlp[10114]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 17:06:37 mb tlp[10114]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 17:06:37 mb tlp[10114]: power_source=ac
Apr 28 17:06:37 mb tlp[10114]: manual_mode=none
Apr 28 17:06:37 mb tlp[10114]: power_mode=ac
Apr 28 17:06:37 mb tlp[10114]: compare_and_save_power_state(0).equal
Apr 28 17:10:27 mb tlp[10437]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 17:10:27 mb tlp[10445]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 17:10:28 mb tlp[10437]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 17:10:28 mb tlp[10437]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 17:10:28 mb tlp[10437]: power_source=bat
Apr 28 17:10:28 mb tlp[10437]: manual_mode=none
Apr 28 17:10:28 mb tlp[10437]: power_mode=bat
Apr 28 17:10:28 mb tlp[10437]: compare_and_save_power_state(1).different: old=0
Apr 28 17:10:28 mb tlp[10437]: save_runconf.ok: /run/tlp/tlp-run.conf_tmp9mkSOT -> /run/tlp/run.conf
Apr 28 17:10:28 mb tlp[10445]: get_sys_power_supply(AC).ac_offline_remembered
Apr 28 17:10:28 mb tlp[10445]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 28 17:10:28 mb tlp[10445]: power_source=bat
Apr 28 17:10:28 mb tlp[10445]: manual_mode=none
Apr 28 17:10:28 mb tlp[10445]: power_mode=bat
Apr 28 17:10:28 mb tlp[10445]: compare_and_save_power_state(1).equal
Apr 28 17:10:33 mb tlp[10664]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 17:10:34 mb tlp[10671]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 28 17:10:34 mb tlp[10664]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 17:10:34 mb tlp[10664]: power_source=ac
Apr 28 17:10:34 mb tlp[10664]: manual_mode=none
Apr 28 17:10:34 mb tlp[10664]: power_mode=ac
Apr 28 17:10:34 mb tlp[10664]: compare_and_save_power_state(0).different: old=1
Apr 28 17:10:35 mb tlp[10671]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 28 17:10:35 mb tlp[10671]: power_source=ac
Apr 28 17:10:35 mb tlp[10671]: manual_mode=none
Apr 28 17:10:35 mb tlp[10671]: power_mode=ac
Apr 28 17:10:37 mb tlp[10664]: save_runconf.ok: /run/tlp/tlp-run.conf_tmp1DUYuu -> /run/tlp/run.conf
root@mb:~#

Ich habe die Datei um 17.10 geändert / direkt davor hat er nicht geschaltet.

Code:
# auto: wait a moment for power state to settle
# Test auf 1.0 sec
[ "$_cmd" = "auto" ] && sleep 1.0
 
Zuletzt bearbeitet:
Danke für die Rückmeldung :).

Ich habe nochmal umgebaut, so dass die Wartezeit nur zum Tragen kommt, wenn der Akku beim Abziehen des Netzteils nicht gleich "Discharging" meldet (0.8s wie bei 1.3.1) und sie außerdem nur die Hintergrundjobs (sprich: tlp auto) betrifft, nicht aber die normalen Terminal Kommandos. Neue Pakete auf der Downloadseite.

Schau bitte nochmal, ob das Problem jetzt weg ist und zeige Traces.
 
Zuletzt bearbeitet:
OK hier mit dem 1.0 sec Setting per Hand (er schaltet nicht)28er Version -

Ich probiere dann die neue Version soll ich die tlp Datei wieder zurückändern ?!? /usr/sbin/t...

- - - Beitrag zusammengeführt - - -

29er

- er schaltet nach reboot

Code:
root@mb:~# tlp-stat -T
--- TLP 1.4.0-alpha.1 --------------------------------------------

-- Journal begins at Fri 2021-03-12 17:14:28 CET, ends at Thu 2021-04-29 11:07:04 CEST. --
Apr 29 09:06:18 mb tlp[541]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 09:06:18 mb tlp[541]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 09:06:18 mb tlp[557]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 09:06:18 mb tlp[557]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 09:06:18 mb tlp[736]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 09:06:18 mb tlp[745]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 09:06:18 mb tlp[736]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 09:06:18 mb tlp[745]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 09:06:18 mb tlp[743]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 09:06:18 mb tlp[750]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 09:06:18 mb tlp[743]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 09:06:18 mb tlp[750]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 09:06:18 mb tlp[944]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 09:06:18 mb tlp[944]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 09:06:18 mb tlp[944]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 09:06:18 mb tlp[944]: power_source=bat
Apr 29 09:06:18 mb tlp[944]: manual_mode=none
Apr 29 09:06:18 mb tlp[944]: power_mode=bat
Apr 29 09:06:18 mb tlp[944]: compare_and_save_power_state(1).different: old=
Apr 29 11:03:56 mb tlp[1204]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 11:03:56 mb tlp[1204]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 11:03:56 mb tlp[1204]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 11:03:56 mb tlp[1204]: power_source=bat
Apr 29 11:03:56 mb tlp[1204]: manual_mode=none
Apr 29 11:03:56 mb tlp[1204]: power_mode=bat
Apr 29 11:03:56 mb tlp[944]: save_runconf.ok: /run/tlp/tlp-run.conf_tmppMWutU -> /run/tlp/run.conf
Apr 29 11:03:57 mb tlp[1566]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 11:03:57 mb tlp[1566]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 11:03:57 mb tlp[1566]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 11:03:57 mb tlp[1566]: power_source=bat
Apr 29 11:03:57 mb tlp[1566]: manual_mode=none
Apr 29 11:03:57 mb tlp[1566]: power_mode=bat
Apr 29 11:03:57 mb tlp[1566]: compare_and_save_power_state(1).equal
Apr 29 11:04:03 mb tlp[2359]: +++ init start (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 11:04:03 mb tlp[2359]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 11:04:03 mb tlp[2359]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 11:04:03 mb tlp[2359]: power_source=bat
Apr 29 11:04:03 mb tlp[2359]: manual_mode=none
Apr 29 11:04:03 mb tlp[2359]: power_mode=bat
Apr 29 11:04:03 mb tlp[2359]: compare_and_save_power_state(1).equal
Apr 29 11:04:03 mb tlp[2359]: Applying power save settings...done.
Apr 29 11:04:03 mb tlp[2359]: Setting battery charge thresholds...done.
Apr 29 11:04:06 mb tlp[2359]: Disabling radios: bluetooth.
Apr 29 11:04:06 mb tlp[2359]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpOAx8QJ -> /run/tlp/run.conf
Apr 29 11:06:09 mb tlp[4710]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 11:06:09 mb tlp[4710]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 11:06:09 mb tlp[4710]: power_source=ac
Apr 29 11:06:09 mb tlp[4710]: manual_mode=none
Apr 29 11:06:09 mb tlp[4710]: power_mode=ac
Apr 29 11:06:09 mb tlp[4710]: compare_and_save_power_state(0).different: old=1
Apr 29 11:06:09 mb tlp[4743]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 11:06:09 mb tlp[4743]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 11:06:09 mb tlp[4743]: power_source=ac
Apr 29 11:06:09 mb tlp[4743]: manual_mode=none
Apr 29 11:06:09 mb tlp[4743]: power_mode=ac
Apr 29 11:06:09 mb tlp[4812]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 11:06:09 mb tlp[4812]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 11:06:09 mb tlp[4812]: power_source=ac
Apr 29 11:06:09 mb tlp[4812]: manual_mode=none
Apr 29 11:06:09 mb tlp[4812]: power_mode=ac
Apr 29 11:06:12 mb tlp[4710]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpJ266mr -> /run/tlp/run.conf
Apr 29 11:06:42 mb tlp[6070]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 11:06:42 mb tlp[6070]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 11:06:42 mb tlp[6070]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 11:06:42 mb tlp[6070]: power_source=bat
Apr 29 11:06:42 mb tlp[6070]: manual_mode=none
Apr 29 11:06:42 mb tlp[6070]: power_mode=bat
Apr 29 11:06:42 mb tlp[6070]: compare_and_save_power_state(1).different: old=0
Apr 29 11:06:42 mb tlp[6113]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 11:06:42 mb tlp[6113]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 11:06:42 mb tlp[6113]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 11:06:42 mb tlp[6113]: power_source=bat
Apr 29 11:06:42 mb tlp[6113]: manual_mode=none
Apr 29 11:06:42 mb tlp[6113]: power_mode=bat
Apr 29 11:06:43 mb tlp[6221]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 11:06:43 mb tlp[6221]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 11:06:43 mb tlp[6221]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 11:06:43 mb tlp[6221]: power_source=bat
Apr 29 11:06:43 mb tlp[6221]: manual_mode=none
Apr 29 11:06:43 mb tlp[6221]: power_mode=bat
Apr 29 11:06:43 mb tlp[6070]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpfGYAzK -> /run/tlp/run.conf
Apr 29 11:06:59 mb tlp[6816]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 11:06:59 mb tlp[6816]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 11:06:59 mb tlp[6816]: power_source=ac
Apr 29 11:06:59 mb tlp[6816]: manual_mode=none
Apr 29 11:06:59 mb tlp[6816]: power_mode=ac
Apr 29 11:06:59 mb tlp[6816]: compare_and_save_power_state(0).different: old=1
Apr 29 11:06:59 mb tlp[6846]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 11:06:59 mb tlp[6846]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 11:06:59 mb tlp[6846]: power_source=ac
Apr 29 11:06:59 mb tlp[6846]: manual_mode=none
Apr 29 11:06:59 mb tlp[6846]: power_mode=ac
Apr 29 11:06:59 mb tlp[6899]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 11:06:59 mb tlp[6899]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 11:06:59 mb tlp[6899]: power_source=ac
Apr 29 11:06:59 mb tlp[6899]: manual_mode=none
Apr 29 11:06:59 mb tlp[6899]: power_mode=ac
Apr 29 11:07:02 mb tlp[6816]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpSvW2oU -> /run/tlp/run.conf
root@mb:~#

vor dem Reboot ging es nicht
 
Vor dem Reboot zog aber schon die geänderte Routine aus dem Paket tlp_1.4.0~alpha.1+20210429-1_all.deb. Das würde bedeuten, dass das Problem noch da wäre.

In deinen Traces ist aber der Akku von Beginn an sofort auf "Discharging" d.h. Akkumodus wird erkannt (syspwr=1):
Code:
Apr 29 09:06:18 mb tlp[541]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 09:06:18 mb tlp[541]: get_sys_power_supply(BAT0)[B][COLOR="#00FF00"].bat_discharging: syspwr=1[/COLOR][/B]

Wenn der Akku nicht sofort reagiert, wäre im Trace noch ein .bat_not_discharging_wait zwischen .ac_offline_remembered und .bat_discharging.
 
Zuletzt bearbeitet:
Ja OK - das habe ich jetzt kapiert

gerade mal das Kabel abgezogen ->

Code:
Apr 29 18:29:28 mb tlp[44830]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 18:29:28 mb tlp[44830]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 18:29:28 mb tlp[44830]: get_sys_power_supply(BAT0).bat_not_discharging_wait: bs=Not charging; syspwr=
Apr 29 18:29:29 mb tlp[44851]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 18:29:29 mb tlp[44851]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 18:29:29 mb tlp[44851]: get_sys_power_supply(BAT0).bat_not_discharging_wait: bs=Not charging; syspwr=
Apr 29 18:29:29 mb tlp[44830]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 29 18:29:29 mb tlp[44830]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 29 18:29:29 mb tlp[44830]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 29 18:29:29 mb tlp[44830]: power_source=ac
Apr 29 18:29:29 mb tlp[44830]: manual_mode=none
Apr 29 18:29:29 mb tlp[44830]: power_mode=ac
Apr 29 18:29:29 mb tlp[44830]: compare_and_save_power_state(0).equal
Apr 29 18:29:30 mb tlp[44851]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 29 18:29:30 mb tlp[44851]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 29 18:29:30 mb tlp[44851]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 29 18:29:30 mb tlp[44851]: power_source=ac
Apr 29 18:29:30 mb tlp[44851]: manual_mode=none
Apr 29 18:29:30 mb tlp[44851]: power_mode=ac
Apr 29 18:29:30 mb tlp[44851]: compare_and_save_power_state(0).equal
root@mb:~#

und im 2ten Fenster ->

Code:
root@mb:~# tlp-stat -s -p --cdiff -b
--- TLP 1.4.0-alpha.1 --------------------------------------------

+++ Configured Settings (only differences to defaults):
/etc/tlp.d/01-mb-.conf L0007: SOUND_POWER_SAVE_ON_BAT="0"
/etc/tlp.d/01-mb-.conf L0014: RESTORE_THRESHOLDS_ON_BAT="1"
/etc/tlp.d/01-mb-.conf L0003: CPU_HWP_DYN_BOOST_ON_AC="0"
/etc/tlp.d/01-mb-.conf L0004: CPU_HWP_DYN_BOOST_ON_BAT="1"
/etc/tlp.d/01-mb-.conf L0008: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
/etc/tlp.d/01-mb-.conf L0010: START_CHARGE_THRESH_BAT0="45"
/etc/tlp.d/01-mb-.conf L0011: STOP_CHARGE_THRESH_BAT0="100"
/etc/tlp.d/01-mb-.conf L0012: START_CHARGE_THRESH_BAT1="55"
/etc/tlp.d/01-mb-.conf L0013: STOP_CHARGE_THRESH_BAT1="100"
/etc/tlp.d/01-mb-.conf L0015: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
/etc/tlp.d/01-mb-.conf L0016: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
/etc/tlp.d/01-trace.conf L0001: TLP_DEBUG="ps run"

+++ System Info
System         = LENOVO ThinkPad T490s 20NXCTO1WW
BIOS           = N2JET94W (1.72 )
OS Release     = Debian GNU/Linux bullseye/sid
Kernel         = 5.10.0-6-amd64 #1 SMP Debian 5.10.28-1 (2021-04-09) x86_64
/proc/cmdline  = BOOT_IMAGE=/vmlinuz-5.10.0-6-amd64 root=/dev/mapper/VG-root ro quiet
Init system    = systemd v247 (247.3-3)
Boot mode      = UEFI

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 06:29:30 PM,    609 sec(s) ago
Mode           = AC
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 = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu1..cpu7: omitted for clarity, use -v to show all

/sys/devices/system/cpu/intel_pstate/status            = active
/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/hwp_dynamic_boost =   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

+++ Battery Wear Control
Plugin: thinkpad
Supported features: charge thresholds, recalibration
Driver usage:
* natacpi (thinkpad_acpi) = active (charge thresholds)
* tpacpi-bat (acpi_call)  = active (recalibration)
Parameter value ranges:
* START_CHARGE_THRESH_BAT0/1:  0(off)..96(default)..99
* STOP_CHARGE_THRESH_BAT0/1:   1..100(default)

+++ 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                    =     18
/sys/class/power_supply/BAT0/energy_full_design             =  57020 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  55570 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  28520 [mWh]
/sys/class/power_supply/BAT0/power_now                      =   6176 [mW]
/sys/class/power_supply/BAT0/status                         = Discharging

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

Charge                                                      =   51.3 [%]
Capacity                                                    =   97.5 [%]

root@mb:~#

:confused: ich brauche ein anderes Thinkpad :huh:

Tut mir leid das ich nicht fundierter helfen kann:

- Manuel schalten geht
- Automatisch ging vorhin - jetzt aber nicht mehr

Code:
  apt policy tlp tlp-rdw acpi-call-dkms 
tlp:
  Installed: 1.4.0~alpha.1+20210429-1
  Candidate: 1.4.0~alpha.1+20210429-1
  Version table:
 *** 1.4.0~alpha.1+20210429-1 100
        100 /var/lib/dpkg/status
     1.3.1-2 990
        990 http://deb.debian.org/debian bullseye/main amd64 Packages
        990 http://deb.debian.org/debian bullseye/main i386 Packages
        300 http://deb.debian.org/debian unstable/main amd64 Packages
        300 http://deb.debian.org/debian unstable/main i386 Packages
tlp-rdw:
  Installed: 1.4.0~alpha.1+20210429-1
  Candidate: 1.4.0~alpha.1+20210429-1
  Version table:
 *** 1.4.0~alpha.1+20210429-1 100
        100 /var/lib/dpkg/status
     1.3.1-2 990
        990 http://deb.debian.org/debian bullseye/main amd64 Packages
        990 http://deb.debian.org/debian bullseye/main i386 Packages
        300 http://deb.debian.org/debian unstable/main amd64 Packages
        300 http://deb.debian.org/debian unstable/main i386 Packages
acpi-call-dkms:
  Installed: 1.1.0-6
  Candidate: 1.1.0-6
  Version table:
 *** 1.1.0-6 990
        990 http://deb.debian.org/debian bullseye/main amd64 Packages
        990 http://deb.debian.org/debian bullseye/main i386 Packages
        300 http://deb.debian.org/debian unstable/main amd64 Packages
        300 http://deb.debian.org/debian unstable/main i386 Packages
        100 /var/lib/dpkg/status
root@mb:~#

Code:
   marc@mb:~$ uname -a;mokutil --sb-state
Linux mb 5.10.0-6-amd64 #1 SMP Debian 5.10.28-1 (2021-04-09) x86_64 GNU/Linux
SecureBoot enabled
marc@mb:~$

Code:
Apr 29 18:29:30 mb tlp[44851]: compare_and_save_power_state(0).equal
Apr 29 18:43:38 mb tlp[47624]: +++ bat (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 18:43:38 mb tlp[47624]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 18:43:38 mb tlp[47624]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 18:43:38 mb tlp[47624]: power_source=bat
Apr 29 18:43:38 mb tlp[47624]: manual_mode=bat
Apr 29 18:43:38 mb tlp[47624]: power_mode=bat
Apr 29 18:43:38 mb tlp[47624]: compare_and_save_power_state(1).different: old=0
Apr 29 18:43:39 mb tlp[47624]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpRFC909 -> /run/tlp/run.conf
Apr 29 18:48:44 mb tlp[48685]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 18:48:44 mb tlp[48685]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 18:48:44 mb tlp[48685]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 18:48:44 mb tlp[48685]: power_source=bat
Apr 29 18:48:44 mb tlp[48685]: manual_mode=bat
Apr 29 18:48:44 mb tlp[48685]: power_mode=bat
Apr 29 18:48:44 mb tlp[48685]: compare_and_save_power_state(1).equal
Apr 29 18:51:06 mb tlp[49152]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 18:51:06 mb tlp[49152]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 18:51:06 mb tlp[49152]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 18:51:06 mb tlp[49152]: power_source=bat
Apr 29 18:51:06 mb tlp[49152]: manual_mode=bat
Apr 29 18:51:06 mb tlp[49152]: power_mode=bat
Apr 29 18:51:06 mb tlp[49152]: compare_and_save_power_state(1).equal
Apr 29 18:51:12 mb tlp[49199]: +++ start (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 18:51:12 mb tlp[49199]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 18:51:12 mb tlp[49199]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 18:51:12 mb tlp[49199]: power_source=bat
Apr 29 18:51:12 mb tlp[49199]: manual_mode=none
Apr 29 18:51:12 mb tlp[49199]: power_mode=bat
Apr 29 18:51:12 mb tlp[49199]: compare_and_save_power_state(1).equal
Apr 29 18:51:12 mb tlp[49199]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpEMBYCf -> /run/tlp/run.conf
Apr 29 18:52:18 mb tlp[49784]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 18:52:18 mb tlp[49784]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 18:52:18 mb tlp[49784]: power_source=ac
Apr 29 18:52:18 mb tlp[49784]: manual_mode=none
Apr 29 18:52:18 mb tlp[49784]: power_mode=ac
Apr 29 18:52:18 mb tlp[49784]: compare_and_save_power_state(0).different: old=1
Apr 29 18:52:18 mb tlp[49848]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 18:52:18 mb tlp[49848]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 18:52:18 mb tlp[49848]: power_source=ac
Apr 29 18:52:18 mb tlp[49848]: manual_mode=none
Apr 29 18:52:18 mb tlp[49848]: power_mode=ac
Apr 29 18:52:21 mb tlp[49784]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpnoqzWw -> /run/tlp/run.conf
root@mb:~#
 
Zuletzt bearbeitet:
ich brauche ein anderes Thinkpad
Oweh, bitte nicht bevor TLP damit klar kommt :facepalm:.

Hier hat er gewartet, aber der Akku war danach leider noch auf "Not charging":
Code:
Apr 29 18:29:29 mb tlp[44851]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 18:29:29 mb tlp[44851]: get_sys_power_supply(BAT0).[B]bat_not_discharging_wait[/B]: bs=Not charging; syspwr=
Apr 29 18:29:30 mb tlp[44851]: get_sys_power_supply(BAT0).bat_not_discharging: [B]bs=Not charging[/B]; syspwr=0
Apr 29 18:29:30 mb tlp[44851]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 29 18:29:30 mb tlp[44851]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Wir setzen einfach mal die Wartezeit wieder höher, das geht nun höchst elegant :) mittels Konfiguration:
Code:
X_PS_WAIT="1.0"
Dann wieder tracen.

ps. Du hilfst sehr. Mehr geht auf deiner Seite garnicht. Hab noch etwas Geduld.
 
"Not charging" - ja da bleibt der Akku durch die Schwelle.

"X_PS_WAIT="1.0"" :thumbup:

Ohne Änderungen -> im Moment scheint das Thinkpad den Modus überhaupt nicht mehr zu melden

Code:
Apr 29 19:00:09 mb tlp[50987]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:00:09 mb tlp[50987]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 19:00:09 mb tlp[50987]: get_sys_power_supply(BAT0).bat_not_discharging_wait: bs=Not charging; syspwr=
Apr 29 19:00:10 mb tlp[50966]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 29 19:00:10 mb tlp[50966]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 29 19:00:10 mb tlp[50966]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 29 19:00:10 mb tlp[50966]: power_source=ac
Apr 29 19:00:10 mb tlp[50966]: manual_mode=none
Apr 29 19:00:10 mb tlp[50966]: power_mode=ac
Apr 29 19:00:10 mb tlp[50966]: compare_and_save_power_state(0).equal
Apr 29 19:00:10 mb tlp[50987]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 29 19:00:10 mb tlp[50987]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 29 19:00:10 mb tlp[50987]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 29 19:00:10 mb tlp[50987]: power_source=ac
Apr 29 19:00:10 mb tlp[50987]: manual_mode=none
Apr 29 19:00:10 mb tlp[50987]: power_mode=ac
Apr 29 19:00:10 mb tlp[50987]: compare_and_save_power_state(0).equal
Apr 29 19:00:24 mb tlp[51476]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:00:24 mb tlp[51476]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 19:00:24 mb tlp[51476]: power_source=ac
Apr 29 19:00:24 mb tlp[51476]: manual_mode=none
Apr 29 19:00:24 mb tlp[51476]: power_mode=ac
Apr 29 19:00:24 mb tlp[51476]: compare_and_save_power_state(0).equal
Apr 29 19:00:24 mb tlp[51499]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:00:24 mb tlp[51499]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 19:00:24 mb tlp[51499]: power_source=ac
Apr 29 19:00:24 mb tlp[51499]: manual_mode=none
Apr 29 19:00:24 mb tlp[51499]: power_mode=ac
Apr 29 19:00:24 mb tlp[51499]: compare_and_save_power_state(0).equal

OK mit Änderung nach tlp start
Code:
Apr 29 19:19:43 mb tlp[55112]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:19:43 mb tlp[55112]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 19:19:43 mb tlp[55112]: get_sys_power_supply(BAT0).bat_not_discharging_wait: bs=Not charging; syspwr=
Apr 29 19:19:43 mb tlp[55133]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:19:43 mb tlp[55133]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 19:19:43 mb tlp[55133]: get_sys_power_supply(BAT0).bat_not_discharging_wait: bs=Not charging; syspwr=
Apr 29 19:19:44 mb tlp[55112]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 29 19:19:44 mb tlp[55112]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 29 19:19:44 mb tlp[55112]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 29 19:19:44 mb tlp[55112]: power_source=ac
Apr 29 19:19:44 mb tlp[55112]: manual_mode=none
Apr 29 19:19:44 mb tlp[55112]: power_mode=ac
Apr 29 19:19:44 mb tlp[55112]: compare_and_save_power_state(0).equal
Apr 29 19:19:44 mb tlp[55133]: get_sys_power_supply(BAT0).bat_not_discharging: bs=Not charging; syspwr=0
Apr 29 19:19:45 mb tlp[55133]: get_sys_power_supply(ucsi-source-psy-USBC000:001).ac_offline_remembered
Apr 29 19:19:45 mb tlp[55133]: get_sys_power_supply(ucsi-source-psy-USBC000:002).ac_online: syspwr=0
Apr 29 19:19:45 mb tlp[55133]: power_source=ac
Apr 29 19:19:45 mb tlp[55133]: manual_mode=none
Apr 29 19:19:45 mb tlp[55133]: power_mode=ac
Apr 29 19:19:45 mb tlp[55133]: compare_and_save_power_state(0).equal
Apr 29 19:19:57 mb tlp[55346]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:19:57 mb tlp[55346]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 19:19:57 mb tlp[55346]: power_source=ac
Apr 29 19:19:57 mb tlp[55346]: manual_mode=none
Apr 29 19:19:57 mb tlp[55346]: power_mode=ac
Apr 29 19:19:57 mb tlp[55346]: compare_and_save_power_state(0).equal
Apr 29 19:19:58 mb tlp[55369]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:19:58 mb tlp[55369]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 19:19:58 mb tlp[55369]: power_source=ac
Apr 29 19:19:58 mb tlp[55369]: manual_mode=none
Apr 29 19:19:58 mb tlp[55369]: power_mode=ac
Apr 29 19:19:58 mb tlp[55369]: compare_and_save_power_state(0).equal
root@mb:~#
 
Zuletzt bearbeitet:
Mysteriös :confused:. Was sagt denn dann mit abgestecktem Netzteil
Code:
tlp-stat -s -b
 
Mysteriös :confused:. Was sagt denn dann mit abgestecktem Netzteil
Code:
tlp-stat -s -b
^^ ich habe oben nochmal mit 1 sec eine log drangehängt

-s -b -> alles "gut"

Code:
tlp-stat -s -b
--- TLP 1.4.0-alpha.1 --------------------------------------------

+++ System Info
System         = LENOVO ThinkPad T490s 20NXCTO1WW
BIOS           = N2JET94W (1.72 )
OS Release     = Debian GNU/Linux bullseye/sid
Kernel         = 5.10.0-6-amd64 #1 SMP Debian 5.10.28-1 (2021-04-09) x86_64
/proc/cmdline  = BOOT_IMAGE=/vmlinuz-5.10.0-6-amd64 root=/dev/mapper/VG-root ro quiet
Init system    = systemd v247 (247.3-3)
Boot mode      = UEFI

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 07:24:18 PM,     17 sec(s) ago
Mode           = battery
Power source   = battery

+++ Battery Wear Control
Plugin: thinkpad
Supported features: charge thresholds, recalibration
Driver usage:
* natacpi (thinkpad_acpi) = active (charge thresholds)
* tpacpi-bat (acpi_call)  = active (recalibration)
Parameter value ranges:
* START_CHARGE_THRESH_BAT0/1:  0(off)..96(default)..99
* STOP_CHARGE_THRESH_BAT0/1:   1..100(default)

+++ 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                    =     18
/sys/class/power_supply/BAT0/energy_full_design             =  57020 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  55570 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  27190 [mWh]
/sys/class/power_supply/BAT0/power_now                      =   3216 [mW]
/sys/class/power_supply/BAT0/status                         = Discharging

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

Charge                                                      =   48.9 [%]
Capacity                                                    =   97.5 [%]

root@mb:~#

- - - Beitrag zusammengeführt - - -

:cool: jetzt hat er auch mal wieder geschaltet - hat aber deutlich länger gedauert ?!?
 
tlp start ist nicht nötig, um X_PS_WAIT zu aktivieren. Einfach nur die Config ändern, speichern, zieht sofort.

Eine Sekunde ist schon heftig. Probier dennoch mal höhere Werte: 2.0 3.0 4.0 ...
 
Edit jetzt geht es !

Code:
 root@mb:~# tlp-stat --cdiff
--- TLP 1.4.0-alpha.1 --------------------------------------------

+++ Configured Settings (only differences to defaults):
/etc/tlp.d/01-mb-.conf L0007: SOUND_POWER_SAVE_ON_BAT="0"
/etc/tlp.d/01-mb-.conf L0014: RESTORE_THRESHOLDS_ON_BAT="1"
/etc/tlp.d/01-mb-.conf L0003: CPU_HWP_DYN_BOOST_ON_AC="0"
/etc/tlp.d/01-mb-.conf L0004: CPU_HWP_DYN_BOOST_ON_BAT="1"
/etc/tlp.d/01-mb-.conf L0008: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
/etc/tlp.d/01-mb-.conf L0010: START_CHARGE_THRESH_BAT0="45"
/etc/tlp.d/01-mb-.conf L0011: STOP_CHARGE_THRESH_BAT0="100"
/etc/tlp.d/01-mb-.conf L0012: START_CHARGE_THRESH_BAT1="55"
/etc/tlp.d/01-mb-.conf L0013: STOP_CHARGE_THRESH_BAT1="100"
/etc/tlp.d/01-mb-.conf L0015: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
/etc/tlp.d/01-mb-.conf L0016: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
/etc/tlp.d/01-trace.conf L0001: TLP_DEBUG="ps run"
/etc/tlp.d/01-trace.conf L0002: X_PS_WAIT="1.0"

root@mb:~#

Code:
Apr 29 19:42:11 mb tlp[60031]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:42:11 mb tlp[60031]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 19:42:11 mb tlp[60031]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 19:42:11 mb tlp[60031]: power_source=bat
Apr 29 19:42:11 mb tlp[60031]: manual_mode=none
Apr 29 19:42:11 mb tlp[60031]: power_mode=bat
Apr 29 19:42:11 mb tlp[60031]: compare_and_save_power_state(1).different: old=0
Apr 29 19:42:12 mb tlp[60066]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:42:12 mb tlp[60066]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 19:42:12 mb tlp[60066]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 19:42:12 mb tlp[60066]: power_source=bat
Apr 29 19:42:12 mb tlp[60066]: manual_mode=none
Apr 29 19:42:12 mb tlp[60066]: power_mode=bat
Apr 29 19:42:12 mb tlp[60199]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:42:12 mb tlp[60199]: get_sys_power_supply(AC).ac_offline_remembered
Apr 29 19:42:12 mb tlp[60199]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
Apr 29 19:42:12 mb tlp[60199]: power_source=bat
Apr 29 19:42:12 mb tlp[60199]: manual_mode=none
Apr 29 19:42:12 mb tlp[60199]: power_mode=bat
Apr 29 19:42:12 mb tlp[60031]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpDUxzFJ -> /run/tlp/run.conf
Apr 29 19:42:24 mb tlp[60423]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:42:24 mb tlp[60423]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 19:42:24 mb tlp[60423]: power_source=ac
Apr 29 19:42:24 mb tlp[60423]: manual_mode=none
Apr 29 19:42:24 mb tlp[60423]: power_mode=ac
Apr 29 19:42:24 mb tlp[60423]: compare_and_save_power_state(0).different: old=1
Apr 29 19:42:24 mb tlp[60450]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:42:24 mb tlp[60450]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 19:42:24 mb tlp[60450]: power_source=ac
Apr 29 19:42:24 mb tlp[60450]: manual_mode=none
Apr 29 19:42:24 mb tlp[60450]: power_mode=ac
Apr 29 19:42:24 mb tlp[60491]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
Apr 29 19:42:24 mb tlp[60491]: get_sys_power_supply(AC).ac_online: syspwr=0
Apr 29 19:42:24 mb tlp[60491]: power_source=ac
Apr 29 19:42:24 mb tlp[60491]: manual_mode=none
Apr 29 19:42:24 mb tlp[60491]: power_mode=ac
Apr 29 19:42:27 mb tlp[60423]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpqrkpMs -> /run/tlp/run.conf
root@mb:~#
 
Zuletzt bearbeitet:
Du siehst in den Traces, dass die typische Verzögerung gerade nicht kommt. Die sieht so aus:
tlp[44851]: get_sys_power_supply(BAT0).bat_not_discharging_wait: bs=Not charging; syspwr=

Das Problem wird wiederkommen. Teste in Ruhe weiter, wir haben keine Eile. Wenn es wieder auftritt, nimm höhere Werte.

Ich bin für heute offline.
 
Ah ok -

also liegt es an der Firmware ?!? Höherer Wert wäre kein Problem - z.B. 10 sec :confused: nur dann entsteht "Salat" wenn man zu schnell wieder einstöpselt bzw. der Controller noch länger trödelt ???

Sollte ich vielleicht bei Lenovo mal reklamieren :thumbup:

Code:
root@mb:/home/marc# tlp-stat --cdiff
--- TLP 1.4.0-alpha.1 --------------------------------------------

+++ Configured Settings (only differences to defaults):
/etc/tlp.d/01-mb-.conf L0007: SOUND_POWER_SAVE_ON_BAT="0"
/etc/tlp.d/01-mb-.conf L0014: RESTORE_THRESHOLDS_ON_BAT="1"
/etc/tlp.d/01-mb-.conf L0003: CPU_HWP_DYN_BOOST_ON_AC="0"
/etc/tlp.d/01-mb-.conf L0004: CPU_HWP_DYN_BOOST_ON_BAT="1"
/etc/tlp.d/01-mb-.conf L0008: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
/etc/tlp.d/01-mb-.conf L0010: START_CHARGE_THRESH_BAT0="45"
/etc/tlp.d/01-mb-.conf L0011: STOP_CHARGE_THRESH_BAT0="100"
/etc/tlp.d/01-mb-.conf L0012: START_CHARGE_THRESH_BAT1="55"
/etc/tlp.d/01-mb-.conf L0013: STOP_CHARGE_THRESH_BAT1="100"
/etc/tlp.d/01-mb-.conf L0015: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
/etc/tlp.d/01-mb-.conf L0016: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
/etc/tlp.d/01-trace.conf L0001: TLP_DEBUG="ps run"
/etc/tlp.d/01-trace.conf L0002: X_PS_WAIT="3.0"

root@mb:/home/marc#

3 sec sollten ja reichen :cool:
 
Zuletzt bearbeitet:
Wenn möglich würde ich schon gerne den Minimalwert wissen.
 
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben