luxnote lapstore servion thinkspot
Seite 1 von 3 123 LetzteLetzte
Ergebnis 1 bis 20 von 54

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

  1. #1
    Ubuntuversteher Avatar von linrunner
    Registriert seit
    22.06.2007
    Beiträge
    12.740
    Danke
    17
    Thanked 358 Times in 283 Posts

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

    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 ... . Ü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 [%]
    Geändert von linrunner (04.05.2021 um 18:09 Uhr) Grund: Liste der noch zu testenden Features
    Gruß, linrunner
    X1C6, T450s, X220 - Ubuntu 20.04 - TLP - Ubuntu Schnelleinstieg
    -- Fehler im Anwender sind schwer zu beheben, da es meist keine Updates gibt


  2. #2

    Registriert seit
    18.03.2009
    Beiträge
    3.631
    Danke
    71
    Thanked 276 Times in 266 Posts
    Sehr schön. Danke !

    - der Downloadlink für des deb von tlp geht hier nicht.

    Edit hier der richtige link: https://download.linrunner.de/packag...0420-1_all.deb
    Der Rest Debian https://download.linrunner.de/packages/
    - Startschwelle 0 -> es gehen jetzt auch Werte kleiner 40 auf Thinkpads ?!? (z.B. 20)

    Habe leider keine nicht Thinkpads.

    - - - Beitrag zusammengeführt - - -

    Code:
    https://download.linrunner.de/packages/tlp_1.4.0~alpha.1+20210420-1_all.deb
    https://download.linrunner.de/packages/tlp_.14.0~alpha.1+20210420-1_all.deb
    Ok ich teste mal:

    Debian Bullseye T490s:
    Code:
    root@mb:/home/marc/Downloads# apt install -y ./tlp_1.4.0~alpha.1+20210420-1_all.deb ./tlp-rdw_1.4.0~alpha.1+20210420-1_all.deb
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Note, selecting 'tlp' instead of './tlp_1.4.0~alpha.1+20210420-1_all.deb'
    Note, selecting 'tlp-rdw' instead of './tlp-rdw_1.4.0~alpha.1+20210420-1_all.deb'
    Suggested packages:
      tp-smapi-dkms smartmontools linux-tools-generic | linux-tools
    The following packages will be upgraded:
      tlp tlp-rdw
    2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/85.5 kB of archives.
    After this operation, 171 kB of additional disk space will be used.
    Get:1 /home/marc/Downloads/tlp-rdw_1.4.0~alpha.1+20210420-1_all.deb tlp-rdw all 1.4.0~alpha.1+20210420-1 [4,960 B]
    Get:2 /home/marc/Downloads/tlp_1.4.0~alpha.1+20210420-1_all.deb tlp all 1.4.0~alpha.1+20210420-1 [80.5 kB]
    Retrieving bug reports... Done
    Parsing Found/Fixed information... Done
    apt-listchanges: Reading changelogs...
    (Reading database ... 259315 files and directories currently installed.)
    Preparing to unpack .../tlp-rdw_1.4.0~alpha.1+20210420-1_all.deb ...
    Unpacking tlp-rdw (1.4.0~alpha.1+20210420-1) over (1.3.1-2) ...
    Preparing to unpack .../tlp_1.4.0~alpha.1+20210420-1_all.deb ...
    Unpacking tlp (1.4.0~alpha.1+20210420-1) over (1.3.1-2) ...
    Setting up tlp (1.4.0~alpha.1+20210420-1) ...
    Installing new version of config file /etc/init.d/tlp ...
    Installing new version of config file /etc/tlp.conf ...
    Installing new version of config file /etc/tlp.d/00-template.conf ...
    Installing new version of config file /etc/tlp.d/README ...
    Setting up tlp-rdw (1.4.0~alpha.1+20210420-1) ...
    Installing new version of config file /etc/NetworkManager/dispatcher.d/99tlp-rdw-nm ...
    Processing triggers for man-db (2.9.4-2) ...
    N: Download is performed unsandboxed as root as file '/home/marc/Downloads/tlp-rdw_1.4.0~alpha.1+20210420-1_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
    Kann ich den Fehler ignorieren ?

    Code:
    Processing triggers for man-db (2.9.4-2) ...
    N: Download is performed unsandboxed as root as file '/home/marc/Downloads/tlp-rdw_1.4.0~alpha.1+20210420-1_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
    Rest folgt.

    Code:
    Currently discharging battery BAT0:
    voltage            =  11767 [mV]
    remaining capacity =  37740 [mWh]
    remaining percent  =     67 [%]
    remaining time     =    501 [min]
    power              =   4518 [mW]
    state              = Discharging
    force discharge    = 1
    Press Ctrl+C to cancel.
    Warning: battery BAT0 was not discharged completely -- AC/charger removed.
    root@mb:/home/marc#
    ^^ das sieht schon mal sehr gut aus

    Code:
    root@mb:/home/marc/Downloads# apt policy tlp tlp-rdw
    tlp:
      Installed: 1.4.0~alpha.1+20210420-1
      Candidate: 1.4.0~alpha.1+20210420-1
      Version table:
     *** 1.4.0~alpha.1+20210420-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+20210420-1
      Candidate: 1.4.0~alpha.1+20210420-1
      Version table:
     *** 1.4.0~alpha.1+20210420-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#
    Code:
    root@mb:/home/marc# tlp-stat -s -c -b
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ Configured Settings:
    defaults.conf L0004: TLP_ENABLE="1"
    defaults.conf L0005: TLP_WARN_LEVEL="3"
    defaults.conf L0006: TLP_PERSISTENT_DEFAULT="0"
    defaults.conf L0007: DISK_IDLE_SECS_ON_AC="0"
    defaults.conf L0008: DISK_IDLE_SECS_ON_BAT="2"
    defaults.conf L0009: MAX_LOST_WORK_SECS_ON_AC="15"
    defaults.conf L0010: MAX_LOST_WORK_SECS_ON_BAT="60"
    defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
    /etc/tlp.d/01-mb-.conf L0002: CPU_ENERGY_PERF_POLICY_ON_BAT="balance_power"
    defaults.conf L0013: SCHED_POWERSAVE_ON_AC="0"
    defaults.conf L0014: SCHED_POWERSAVE_ON_BAT="1"
    defaults.conf L0015: NMI_WATCHDOG="0"
    defaults.conf L0016: DISK_DEVICES="nvme0n1 sda"
    defaults.conf L0017: DISK_APM_LEVEL_ON_AC="254 254"
    defaults.conf L0018: DISK_APM_LEVEL_ON_BAT="128 128"
    defaults.conf L0019: DISK_APM_CLASS_DENYLIST="usb ieee1394"
    defaults.conf L0020: DISK_IOSCHED="keep keep"
    defaults.conf L0021: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
    defaults.conf L0022: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
    defaults.conf L0023: AHCI_RUNTIME_PM_ON_AC="on"
    defaults.conf L0024: AHCI_RUNTIME_PM_ON_BAT="auto"
    defaults.conf L0025: AHCI_RUNTIME_PM_TIMEOUT="15"
    defaults.conf L0026: PCIE_ASPM_ON_AC="default"
    defaults.conf L0027: PCIE_ASPM_ON_BAT="default"
    defaults.conf L0028: RADEON_POWER_PROFILE_ON_AC="default"
    defaults.conf L0029: RADEON_POWER_PROFILE_ON_BAT="default"
    defaults.conf L0030: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
    defaults.conf L0031: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
    defaults.conf L0032: WIFI_PWR_ON_AC="off"
    defaults.conf L0033: WIFI_PWR_ON_BAT="on"
    /etc/tlp.d/01-mb-.conf L0003: WOL_DISABLE="Y"
    defaults.conf L0035: SOUND_POWER_SAVE_ON_AC="1"
    /etc/tlp.d/01-mb-.conf L0004: SOUND_POWER_SAVE_ON_BAT="0"
    defaults.conf L0037: SOUND_POWER_SAVE_CONTROLLER="Y"
    defaults.conf L0038: BAY_POWEROFF_ON_AC="0"
    defaults.conf L0039: BAY_POWEROFF_ON_BAT="0"
    defaults.conf L0040: BAY_DEVICE="sr0"
    defaults.conf L0041: RUNTIME_PM_ON_AC="on"
    defaults.conf L0042: RUNTIME_PM_ON_BAT="auto"
    defaults.conf L0043: RUNTIME_PM_DRIVER_DENYLIST="mei_me nouveau radeon"
    defaults.conf L0044: USB_AUTOSUSPEND="1"
    defaults.conf L0045: USB_EXCLUDE_AUDIO="1"
    defaults.conf L0046: USB_EXCLUDE_BTUSB="0"
    defaults.conf L0047: USB_EXCLUDE_PHONE="0"
    defaults.conf L0048: USB_EXCLUDE_PRINTER="1"
    defaults.conf L0049: USB_EXCLUDE_WWAN="0"
    defaults.conf L0050: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
    defaults.conf L0051: RESTORE_DEVICE_STATE_ON_STARTUP="0"
    /etc/tlp.d/01-mb-.conf L0009: RESTORE_THRESHOLDS_ON_BAT="1"
    defaults.conf L0053: NATACPI_ENABLE="1"
    defaults.conf L0054: TPACPI_ENABLE="1"
    defaults.conf L0055: TPSMAPI_ENABLE="1"
    /etc/tlp.d/01-mb-.conf L0005: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
    /etc/tlp.d/01-mb-.conf L0007: START_CHARGE_THRESH_BAT0="45"
    /etc/tlp.d/01-mb-.conf L0008: STOP_CHARGE_THRESH_BAT0="100"
    /etc/tlp.d/01-mb-.conf L0010: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
    /etc/tlp.d/01-mb-.conf L0011: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
    
    +++ 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       = 09:41:50 PM,    307 sec(s) ago
    Mode           = AC
    Power source   = AC
    
    +++ 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                     =  37710 [mWh]
    /sys/class/power_supply/BAT0/power_now                      =      0 [mW]
    /sys/class/power_supply/BAT0/status                         = Idle
    
    /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                                                      =   67.9 [%]
    Capacity                                                    =   97.5 [%]
    
    root@mb:/home/marc#
    Code:
    T490s - tlp-stat -s -c -b
    ->

    https://pastebin.com/0sUBkvT9

    Geändert von mcb (21.04.2021 um 20:51 Uhr)
    T490s Debian (Bullseye) https://www.debian.org/

  3. #3

    Registriert seit
    21.09.2009
    Beiträge
    949
    Danke
    9
    Thanked 93 Times in 88 Posts
    > Kann ich den Fehler ignorieren ?

    Ja, kannst du ;-) Der User _apt darf halt nicht in dein Homeverzeichnis., dann verwendet apt den Weg über den root-User. Das "N:" heißt auch "Note:" ;-)

  4. #4
    Ubuntuversteher Avatar von linrunner
    Registriert seit
    22.06.2007
    Beiträge
    12.740
    Danke
    17
    Thanked 358 Times in 283 Posts
    Themenstarter
    Downloadseite auch gefixt. Danke.
    Gruß, linrunner
    X1C6, T450s, X220 - Ubuntu 20.04 - TLP - Ubuntu Schnelleinstieg
    -- Fehler im Anwender sind schwer zu beheben, da es meist keine Updates gibt


  5. #5

    Registriert seit
    18.03.2009
    Beiträge
    3.631
    Danke
    71
    Thanked 276 Times in 266 Posts
    Code:
    T440s - tlp-stat -s -c -b
    die Schwellen von Bat1 habe ich gerade per Hand rausgenommen - es läuft der 2 jährige Akkutest



    https://pastebin.com/k0y4VSzj

    - - - Beitrag zusammengeführt - - -

    Code:
    root@debian:~# tlp-stat --cdiff
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ Configured Settings (only differences to defaults):
    /etc/tlp.d/01-mb-.conf L0016: DISK_DEVICES="sda sdb"
    /etc/tlp.d/01-mb-.conf L0018: DISK_APM_LEVEL_ON_BAT="254 254"
    /etc/tlp.d/01-mb-.conf L0003: SOUND_POWER_SAVE_ON_BAT="0"
    /etc/tlp.d/01-mb-.conf L0010: RESTORE_THRESHOLDS_ON_BAT="1"
    /etc/tlp.d/01-mb-.conf L0004: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
    /etc/tlp.d/01-mb-.conf L0006: START_CHARGE_THRESH_BAT0="45"
    /etc/tlp.d/01-mb-.conf L0007: STOP_CHARGE_THRESH_BAT0="100"
    /etc/tlp.d/01-mb-.conf L0008: START_CHARGE_THRESH_BAT1="45"
    /etc/tlp.d/01-mb-.conf L0009: STOP_CHARGE_THRESH_BAT1="100"
    /etc/tlp.d/01-mb-.conf L0011: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
    /etc/tlp.d/01-mb-.conf L0012: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
    
    root@debian:~#
    Auch sehr schön!
    T490s Debian (Bullseye) https://www.debian.org/

  6. #6

    Registriert seit
    23.05.2013
    Ort
    Kirchentellinsfurt
    Beiträge
    69
    Danke
    0
    Thanked 3 Times in 3 Posts
    t460s

    ⌂160% θ62° [ubu:~] $ sudo tlp-stat -s -c -b
    --- TLP 1.4.0-alpha.1 --------------------------------------------

    +++ Configured Settings:
    defaults.conf L0004: TLP_ENABLE="1"
    defaults.conf L0005: TLP_WARN_LEVEL="3"
    defaults.conf L0006: TLP_PERSISTENT_DEFAULT="0"
    defaults.conf L0007: DISK_IDLE_SECS_ON_AC="0"
    defaults.conf L0008: DISK_IDLE_SECS_ON_BAT="2"
    defaults.conf L0009: MAX_LOST_WORK_SECS_ON_AC="15"
    defaults.conf L0010: MAX_LOST_WORK_SECS_ON_BAT="60"
    defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
    defaults.conf L0012: CPU_ENERGY_PERF_POLICY_ON_BAT="balance_power"
    defaults.conf L0013: SCHED_POWERSAVE_ON_AC="0"
    defaults.conf L0014: SCHED_POWERSAVE_ON_BAT="1"
    defaults.conf L0015: NMI_WATCHDOG="0"
    defaults.conf L0016: DISK_DEVICES="nvme0n1 sda"
    defaults.conf L0017: DISK_APM_LEVEL_ON_AC="254 254"
    defaults.conf L0018: DISK_APM_LEVEL_ON_BAT="128 128"
    defaults.conf L0019: DISK_APM_CLASS_DENYLIST="usb ieee1394"
    defaults.conf L0020: DISK_IOSCHED="keep keep"
    defaults.conf L0021: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
    defaults.conf L0022: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
    defaults.conf L0023: AHCI_RUNTIME_PM_ON_AC="on"
    defaults.conf L0024: AHCI_RUNTIME_PM_ON_BAT="auto"
    defaults.conf L0025: AHCI_RUNTIME_PM_TIMEOUT="15"
    defaults.conf L0026: PCIE_ASPM_ON_AC="default"
    defaults.conf L0027: PCIE_ASPM_ON_BAT="default"
    defaults.conf L0028: RADEON_POWER_PROFILE_ON_AC="default"
    defaults.conf L0029: RADEON_POWER_PROFILE_ON_BAT="default"
    defaults.conf L0030: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
    defaults.conf L0031: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
    defaults.conf L0032: WIFI_PWR_ON_AC="off"
    defaults.conf L0033: WIFI_PWR_ON_BAT="on"
    defaults.conf L0034: WOL_DISABLE="Y"
    defaults.conf L0035: SOUND_POWER_SAVE_ON_AC="1"
    defaults.conf L0036: SOUND_POWER_SAVE_ON_BAT="1"
    defaults.conf L0037: SOUND_POWER_SAVE_CONTROLLER="Y"
    defaults.conf L0038: BAY_POWEROFF_ON_AC="0"
    defaults.conf L0039: BAY_POWEROFF_ON_BAT="0"
    defaults.conf L0040: BAY_DEVICE="sr0"
    defaults.conf L0041: RUNTIME_PM_ON_AC="on"
    defaults.conf L0042: RUNTIME_PM_ON_BAT="auto"
    defaults.conf L0043: RUNTIME_PM_DRIVER_DENYLIST="mei_me nouveau radeon"
    defaults.conf L0044: USB_AUTOSUSPEND="1"
    defaults.conf L0045: USB_EXCLUDE_AUDIO="1"
    defaults.conf L0046: USB_EXCLUDE_BTUSB="0"
    defaults.conf L0047: USB_EXCLUDE_PHONE="0"
    defaults.conf L0048: USB_EXCLUDE_PRINTER="1"
    defaults.conf L0049: USB_EXCLUDE_WWAN="0"
    defaults.conf L0050: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
    defaults.conf L0051: RESTORE_DEVICE_STATE_ON_STARTUP="0"
    defaults.conf L0052: RESTORE_THRESHOLDS_ON_BAT="0"
    defaults.conf L0053: NATACPI_ENABLE="1"
    defaults.conf L0054: TPACPI_ENABLE="1"
    defaults.conf L0055: TPSMAPI_ENABLE="1"

    +++ System Info
    System = LENOVO ThinkPad T460s 20FAS2G900
    BIOS = N1CET82W (1.50 )
    OS Release = Zorin OS 16
    Kernel = 5.8.0-50-generic #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021 x86_64
    /proc/cmdline = BOOT_IMAGE=/vmlinuz-5.8.0-50-generic root=/dev/mapper/vgzorin-root ro quiet splash vt.handoff=7
    Init system = systemd v245 (245.4-4ubuntu3.6)
    Boot mode = UEFI

    +++ TLP Status
    State = enabled
    RDW state = not installed
    Last run = 16:20:40, 216 sec(s) ago
    Mode = AC
    Power source = AC

    +++ 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 = SANYO
    /sys/class/power_supply/BAT0/model_name = 00HW022
    /sys/class/power_supply/BAT0/cycle_count = (not supported)
    /sys/class/power_supply/BAT0/energy_full_design = 23510 [mWh]
    /sys/class/power_supply/BAT0/energy_full = 17300 [mWh]
    /sys/class/power_supply/BAT0/energy_now = 17300 [mWh]
    /sys/class/power_supply/BAT0/power_now = 0 [mW]
    /sys/class/power_supply/BAT0/status = Full

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

    Charge = 100.0 [%]
    Capacity = 73.6 [%]

    +++ ThinkPad Battery Status: BAT1 (Ultrabay / Slice / Replaceable)
    /sys/class/power_supply/BAT1/manufacturer = SANYO
    /sys/class/power_supply/BAT1/model_name = 01AV405
    /sys/class/power_supply/BAT1/cycle_count = (not supported)
    /sys/class/power_supply/BAT1/energy_full_design = 26330 [mWh]
    /sys/class/power_supply/BAT1/energy_full = 17810 [mWh]
    /sys/class/power_supply/BAT1/energy_now = 17810 [mWh]
    /sys/class/power_supply/BAT1/power_now = 0 [mW]
    /sys/class/power_supply/BAT1/status = Full

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

    Charge = 100.0 [%]
    Capacity = 67.6 [%]

    +++ Charge total

  7. #7
    Ubuntuversteher Avatar von linrunner
    Registriert seit
    22.06.2007
    Beiträge
    12.740
    Danke
    17
    Thanked 358 Times in 283 Posts
    Themenstarter

    Idee

    Danke für's Testen an @mcb und @ubu .

    Dieses Feature könnte vielleicht für einige User mit Intel Skylake (6xxx) oder neuer interessant sein, um höhere Performance bzw. Schwuppdizität (am Netzteil) herauszuholen:
    Code:
    CPU_HWP_DYN_BOOST_ON_AC=1
    CPU_HWP_DYN_BOOST_ON_BAT=0
    /sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost = 1
    Die Treiberdoku sagt dazu:
    hwp_dynamic_boost

    This attribute is only present if intel_pstate works in the active mode with the HWP feature enabled in the processor. If set (equal to 1), it causes the minimum P-state limit to be increased dynamically for a short time whenever a task previously waiting on I/O is selected to run on a given logical CPU (the purpose of this mechanism is to improve performance).
    Gruß, linrunner
    X1C6, T450s, X220 - Ubuntu 20.04 - TLP - Ubuntu Schnelleinstieg
    -- Fehler im Anwender sind schwer zu beheben, da es meist keine Updates gibt


  8. #8

    Registriert seit
    18.03.2009
    Beiträge
    3.631
    Danke
    71
    Thanked 276 Times in 266 Posts
    Zitat Zitat von linrunner Beitrag anzeigen
    Danke für's Testen an @mcb und @ubu .

    Dieses Feature könnte vielleicht für einige User mit Intel Skylake (6xxx) oder neuer interessant sein, um höhere Performance bzw. Schwuppdizität (am Netzteil) herauszuholen:
    Code:
    CPU_HWP_DYN_BOOST_ON_AC=1
    CPU_HWP_DYN_BOOST_ON_BAT=0


    Die Treiberdoku sagt dazu:

    OK gleich mal ausprobiert, obwoh die Schwupsdibubsie hat die Kiste auch ohne:

    Code:
    root@mb:~# tlp-stat -s --cdiff -p
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ Configured Settings (only differences to defaults):
    /etc/tlp.d/01-mb-.conf L0006: SOUND_POWER_SAVE_ON_BAT="0"
    /etc/tlp.d/01-mb-.conf L0011: RESTORE_THRESHOLDS_ON_BAT="1"
    /etc/tlp.d/01-mb-.conf L0003: CPU_HWP_DYN_BOOST_ON_AC="1"
    /etc/tlp.d/01-mb-.conf L0004: CPU_HWP_DYN_BOOST_ON_BAT="0"
    /etc/tlp.d/01-mb-.conf L0007: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
    /etc/tlp.d/01-mb-.conf L0009: START_CHARGE_THRESH_BAT0="45"
    /etc/tlp.d/01-mb-.conf L0010: STOP_CHARGE_THRESH_BAT0="100"
    /etc/tlp.d/01-mb-.conf L0012: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
    /etc/tlp.d/01-mb-.conf L0013: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
    
    +++ 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       = 12:25:58 AM,     43 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 =   1
    /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
    Anschalten -> 1 geht, es schaltet aber nicht auf 0 zurück ^^
    T490s Debian (Bullseye) https://www.debian.org/

  9. #9
    Ubuntuversteher Avatar von linrunner
    Registriert seit
    22.06.2007
    Beiträge
    12.740
    Danke
    17
    Thanked 358 Times in 283 Posts
    Themenstarter
    Sagen wir mal, es schaltet nicht auf BAT zurück bei dir
    Mode = AC
    Power source = battery
    Zeige
    Code:
    tlp-stat --psup
    sowie die Events beim Anstecken und Abziehen des Netzteils
    Code:
    sudo tlp-stat --pev
    Gruß, linrunner
    X1C6, T450s, X220 - Ubuntu 20.04 - TLP - Ubuntu Schnelleinstieg
    -- Fehler im Anwender sind schwer zu beheben, da es meist keine Updates gibt


  10. #10

    Registriert seit
    18.03.2009
    Beiträge
    3.631
    Danke
    71
    Thanked 276 Times in 266 Posts
    Ja - es schaltet nicht zurück.

    Code:
    root@mb:~# tlp-stat --psup
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ Power supply diagnostic
    /sys/class/power_supply/AC/type:Mains
    /sys/class/power_supply/AC/online:1
    /sys/class/power_supply/AC/device/path:\_SB_.PCI0.LPCB.EC__.AC__
    /sys/class/power_supply/BAT0/type:Battery
    /sys/class/power_supply/BAT0/present:1
    /sys/class/power_supply/BAT0/status:Unknown
    /sys/class/power_supply/BAT0/device/path:\_SB_.PCI0.LPCB.EC__.BAT0
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/online:0
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/online:1
    
    +++ udev diagnostic
    Reading rules file: /usr/lib/udev/rules.d/85-tlp.rules
    run: '/usr/sbin/tlp auto'
    OK.
    
    root@mb:~#
    Code:
    root@mb:~# tlp-stat --pev
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ Monitor power supply events -- cancel with ^C
    
    monitor will print the received events for:
    UDEV - the event which udev sends out after rule processing
    
    UDEV  [2905.724617] change   /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
    ACTION=change
    DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
    SUBSYSTEM=power_supply
    POWER_SUPPLY_NAME=BAT0
    POWER_SUPPLY_TYPE=Battery
    POWER_SUPPLY_STATUS=Not charging
    POWER_SUPPLY_PRESENT=1
    POWER_SUPPLY_TECHNOLOGY=Li-poly
    POWER_SUPPLY_CYCLE_COUNT=18
    POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11520000
    POWER_SUPPLY_VOLTAGE_NOW=11890000
    POWER_SUPPLY_POWER_NOW=0
    POWER_SUPPLY_ENERGY_FULL_DESIGN=57020000
    POWER_SUPPLY_ENERGY_FULL=55570000
    POWER_SUPPLY_ENERGY_NOW=36610000
    POWER_SUPPLY_CAPACITY=65
    POWER_SUPPLY_CAPACITY_LEVEL=Normal
    POWER_SUPPLY_MODEL_NAME=02DL014
    POWER_SUPPLY_MANUFACTURER=SMP
    POWER_SUPPLY_SERIAL_NUMBER= 2798
    SEQNUM=3251
    USEC_INITIALIZED=2905673211
    
    UDEV  [2906.295527] change   /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/ACPI0003:00/power_supply/AC (power_supply)
    ACTION=change
    DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/ACPI0003:00/power_supply/AC
    SUBSYSTEM=power_supply
    POWER_SUPPLY_NAME=AC
    POWER_SUPPLY_TYPE=Mains
    POWER_SUPPLY_ONLINE=0
    SEQNUM=3255
    USEC_INITIALIZED=2906185003
    
    UDEV  [2906.664564] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:002 (power_supply)
    ACTION=change
    DEVPATH=/devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:002
    SUBSYSTEM=power_supply
    POWER_SUPPLY_NAME=ucsi-source-psy-USBC000:002
    POWER_SUPPLY_TYPE=USB
    POWER_SUPPLY_USB_TYPE=[C] PD PD_PPS
    POWER_SUPPLY_ONLINE=0
    POWER_SUPPLY_VOLTAGE_MIN=0
    POWER_SUPPLY_VOLTAGE_MAX=0
    POWER_SUPPLY_VOLTAGE_NOW=0
    POWER_SUPPLY_CURRENT_MAX=0
    POWER_SUPPLY_CURRENT_NOW=0
    SEQNUM=3254
    USEC_INITIALIZED=2905796071
    
    UDEV  [2913.779781] change   /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/ACPI0003:00/power_supply/AC (power_supply)
    ACTION=change
    DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/ACPI0003:00/power_supply/AC
    SUBSYSTEM=power_supply
    POWER_SUPPLY_NAME=AC
    POWER_SUPPLY_TYPE=Mains
    POWER_SUPPLY_ONLINE=1
    SEQNUM=3295
    USEC_INITIALIZED=2913578094
    
    UDEV  [2913.847093] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:002 (power_supply)
    ACTION=change
    DEVPATH=/devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:002
    SUBSYSTEM=power_supply
    POWER_SUPPLY_NAME=ucsi-source-psy-USBC000:002
    POWER_SUPPLY_TYPE=USB
    POWER_SUPPLY_USB_TYPE=[C] PD PD_PPS
    POWER_SUPPLY_ONLINE=0
    POWER_SUPPLY_VOLTAGE_MIN=0
    POWER_SUPPLY_VOLTAGE_MAX=0
    POWER_SUPPLY_VOLTAGE_NOW=0
    POWER_SUPPLY_CURRENT_MAX=0
    POWER_SUPPLY_CURRENT_NOW=0
    SEQNUM=3312
    USEC_INITIALIZED=2913815841
    
    UDEV  [2914.098332] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001 (power_supply)
    ACTION=change
    DEVPATH=/devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001
    SUBSYSTEM=power_supply
    POWER_SUPPLY_NAME=ucsi-source-psy-USBC000:001
    POWER_SUPPLY_TYPE=USB
    POWER_SUPPLY_USB_TYPE=C [PD] PD_PPS
    POWER_SUPPLY_ONLINE=1
    POWER_SUPPLY_VOLTAGE_MIN=5000000
    POWER_SUPPLY_VOLTAGE_MAX=20000000
    POWER_SUPPLY_VOLTAGE_NOW=5000000
    POWER_SUPPLY_CURRENT_MAX=3250000
    POWER_SUPPLY_CURRENT_NOW=3000000
    SEQNUM=3309
    USEC_INITIALIZED=2913591699
    
    UDEV  [2935.326130] change   /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
    ACTION=change
    DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
    SUBSYSTEM=power_supply
    POWER_SUPPLY_NAME=BAT0
    POWER_SUPPLY_TYPE=Battery
    POWER_SUPPLY_STATUS=Not charging
    POWER_SUPPLY_PRESENT=1
    POWER_SUPPLY_TECHNOLOGY=Li-poly
    POWER_SUPPLY_CYCLE_COUNT=18
    POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11520000
    POWER_SUPPLY_VOLTAGE_NOW=11890000
    POWER_SUPPLY_POWER_NOW=0
    POWER_SUPPLY_ENERGY_FULL_DESIGN=57020000
    POWER_SUPPLY_ENERGY_FULL=55570000
    POWER_SUPPLY_ENERGY_NOW=36600000
    POWER_SUPPLY_CAPACITY=65
    POWER_SUPPLY_CAPACITY_LEVEL=Normal
    POWER_SUPPLY_MODEL_NAME=02DL014
    POWER_SUPPLY_MANUFACTURER=SMP
    POWER_SUPPLY_SERIAL_NUMBER= 2798
    SEQNUM=3313
    USEC_INITIALIZED=2935288441
    
    UDEV  [2935.894220] change   /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/ACPI0003:00/power_supply/AC (power_supply)
    ACTION=change
    DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/ACPI0003:00/power_supply/AC
    SUBSYSTEM=power_supply
    POWER_SUPPLY_NAME=AC
    POWER_SUPPLY_TYPE=Mains
    POWER_SUPPLY_ONLINE=0
    SEQNUM=3317
    USEC_INITIALIZED=2935783902
    
    UDEV  [2936.246262] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001 (power_supply)
    ACTION=change
    DEVPATH=/devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001
    SUBSYSTEM=power_supply
    POWER_SUPPLY_NAME=ucsi-source-psy-USBC000:001
    POWER_SUPPLY_TYPE=USB
    POWER_SUPPLY_USB_TYPE=[C] PD PD_PPS
    POWER_SUPPLY_ONLINE=0
    POWER_SUPPLY_VOLTAGE_MIN=0
    POWER_SUPPLY_VOLTAGE_MAX=0
    POWER_SUPPLY_VOLTAGE_NOW=0
    POWER_SUPPLY_CURRENT_MAX=0
    POWER_SUPPLY_CURRENT_NOW=0
    SEQNUM=3316
    USEC_INITIALIZED=2935400125
    
    UDEV  [2940.327544] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:002 (power_supply)
    ACTION=change
    DEVPATH=/devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:002
    SUBSYSTEM=power_supply
    POWER_SUPPLY_NAME=ucsi-source-psy-USBC000:002
    POWER_SUPPLY_TYPE=USB
    POWER_SUPPLY_USB_TYPE=[C] PD PD_PPS
    POWER_SUPPLY_ONLINE=1
    POWER_SUPPLY_VOLTAGE_MIN=5000000
    POWER_SUPPLY_VOLTAGE_MAX=5000000
    POWER_SUPPLY_VOLTAGE_NOW=5000000
    POWER_SUPPLY_CURRENT_MAX=3000000
    POWER_SUPPLY_CURRENT_NOW=0
    SEQNUM=3321
    USEC_INITIALIZED=2940203652
    
    UDEV  [2940.578098] change   /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/ACPI0003:00/power_supply/AC (power_supply)
    ACTION=change
    DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/ACPI0003:00/power_supply/AC
    SUBSYSTEM=power_supply
    POWER_SUPPLY_NAME=AC
    POWER_SUPPLY_TYPE=Mains
    POWER_SUPPLY_ONLINE=1
    SEQNUM=3322
    USEC_INITIALIZED=2940518676
    
    UDEV  [2943.139446] change   /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
    ACTION=change
    DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
    SUBSYSTEM=power_supply
    POWER_SUPPLY_NAME=BAT0
    POWER_SUPPLY_TYPE=Battery
    POWER_SUPPLY_STATUS=Unknown
    POWER_SUPPLY_PRESENT=1
    POWER_SUPPLY_TECHNOLOGY=Li-poly
    POWER_SUPPLY_CYCLE_COUNT=18
    POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11520000
    POWER_SUPPLY_VOLTAGE_NOW=11832000
    POWER_SUPPLY_POWER_NOW=0
    POWER_SUPPLY_ENERGY_FULL_DESIGN=57020000
    POWER_SUPPLY_ENERGY_FULL=55570000
    POWER_SUPPLY_ENERGY_NOW=36600000
    POWER_SUPPLY_CAPACITY=65
    POWER_SUPPLY_CAPACITY_LEVEL=Normal
    POWER_SUPPLY_MODEL_NAME=02DL014
    POWER_SUPPLY_MANUFACTURER=SMP
    POWER_SUPPLY_SERIAL_NUMBER= 2798
    SEQNUM=3318
    USEC_INITIALIZED=2940000029
    Bitte sehr. Beide USB-c Buchsen.
    T490s Debian (Bullseye) https://www.debian.org/

  11. #11
    Ubuntuversteher Avatar von linrunner
    Registriert seit
    22.06.2007
    Beiträge
    12.740
    Danke
    17
    Thanked 358 Times in 283 Posts
    Themenstarter
    Dieses komische Zeug hier meinst Du:
    Code:
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/online:0
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/online:1
    Ich meine, auf dem X1C6 hab ich die auch mal gesehen und netterweise war online:1 fix -- heißt: Netzteil angeschlossen. Seit Kernel 5.11 (meine ich) sind die aber wieder weg. Stand noch auf meiner Liste ungelöster Rätsel. Super, wenn jetzt Buster diesen Kernel hat. Da muss wohl ein Workaround her .

    Zeig nochmal im Akkubetrieb:
    Code:
    tlp-stat --psup
    Gruß, linrunner
    X1C6, T450s, X220 - Ubuntu 20.04 - TLP - Ubuntu Schnelleinstieg
    -- Fehler im Anwender sind schwer zu beheben, da es meist keine Updates gibt


  12. #12

    Registriert seit
    18.03.2009
    Beiträge
    3.631
    Danke
    71
    Thanked 276 Times in 266 Posts
    Code:
    tlp-stat --psup
    Code:
    root@mb:~# tlp-stat --psup
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ Power supply diagnostic
    /sys/class/power_supply/AC/type:Mains
    /sys/class/power_supply/AC/online:0
    /sys/class/power_supply/AC/device/path:\_SB_.PCI0.LPCB.EC__.AC__
    /sys/class/power_supply/BAT0/type:Battery
    /sys/class/power_supply/BAT0/present:1
    /sys/class/power_supply/BAT0/status:Discharging
    /sys/class/power_supply/BAT0/device/path:\_SB_.PCI0.LPCB.EC__.BAT0
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/online:0
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/online:0
    
    +++ udev diagnostic
    Reading rules file: /usr/lib/udev/rules.d/85-tlp.rules
    run: '/usr/sbin/tlp auto'
    OK.
    
    root@mb:~#
    Bitte frag mich nicht warum es jetzt einmal geht / ging ?!?

    Code:
    root@mb:~# tlp-stat -p
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ 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_power [HWP.EPP]
    /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 
    
    /sys/devices/system/cpu/cpu1..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
    
    root@mb:~#
    Edit jetzt funktioniert es die ganze Zeit Heute Morgen / gestern Abend aber rein gar nicht ...
    Geändert von mcb (25.04.2021 um 10:47 Uhr)
    T490s Debian (Bullseye) https://www.debian.org/

  13. #13
    Ubuntuversteher Avatar von linrunner
    Registriert seit
    22.06.2007
    Beiträge
    12.740
    Danke
    17
    Thanked 358 Times in 283 Posts
    Themenstarter
    Keine Panik . Ich schau mir mal den Code an, probiere bei mir ein wenig herum und melde mich dann ggf.
    Gruß, linrunner
    X1C6, T450s, X220 - Ubuntu 20.04 - TLP - Ubuntu Schnelleinstieg
    -- Fehler im Anwender sind schwer zu beheben, da es meist keine Updates gibt


  14. #14

    Registriert seit
    18.03.2009
    Beiträge
    3.631
    Danke
    71
    Thanked 276 Times in 266 Posts
    So ein T14 Gen2 / Debian Bullseye

    Code:
    root@t14:~# tlp-stat -p
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ Processor
    CPU model      = 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    
    /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  =  4700000 [kHz]
    /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
    /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 
    
    /sys/devices/system/cpu/cpu1..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      =   8 [%]
    /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         =  44 [%]
    /sys/devices/system/cpu/intel_pstate/num_pstates       =  44
    
    /sys/module/workqueue/parameters/power_efficient       = N
    /proc/sys/kernel/nmi_watchdog                          = 0
    
    root@t14:~# tlp-stat -p
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ Processor
    CPU model      = 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    
    /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  =  4700000 [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      =   8 [%]
    /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 =   1
    /sys/devices/system/cpu/intel_pstate/turbo_pct         =  44 [%]
    /sys/devices/system/cpu/intel_pstate/num_pstates       =  44
    
    /sys/module/workqueue/parameters/power_efficient       = N
    /proc/sys/kernel/nmi_watchdog                          = 0
    
    root@t14:~#
    Works!

    Code:
    root@t14:~# tlp-stat -s -c -b
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ Configured Settings:
    defaults.conf L0004: TLP_ENABLE="1"
    defaults.conf L0005: TLP_WARN_LEVEL="3"
    defaults.conf L0006: TLP_PERSISTENT_DEFAULT="0"
    defaults.conf L0007: DISK_IDLE_SECS_ON_AC="0"
    defaults.conf L0008: DISK_IDLE_SECS_ON_BAT="2"
    defaults.conf L0009: MAX_LOST_WORK_SECS_ON_AC="15"
    defaults.conf L0010: MAX_LOST_WORK_SECS_ON_BAT="60"
    defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
    defaults.conf L0012: CPU_ENERGY_PERF_POLICY_ON_BAT="balance_power"
    defaults.conf L0013: SCHED_POWERSAVE_ON_AC="0"
    defaults.conf L0014: SCHED_POWERSAVE_ON_BAT="1"
    defaults.conf L0015: NMI_WATCHDOG="0"
    defaults.conf L0016: DISK_DEVICES="nvme0n1 sda"
    defaults.conf L0017: DISK_APM_LEVEL_ON_AC="254 254"
    defaults.conf L0018: DISK_APM_LEVEL_ON_BAT="128 128"
    defaults.conf L0019: DISK_APM_CLASS_DENYLIST="usb ieee1394"
    defaults.conf L0020: DISK_IOSCHED="keep keep"
    defaults.conf L0021: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
    defaults.conf L0022: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
    defaults.conf L0023: AHCI_RUNTIME_PM_ON_AC="on"
    defaults.conf L0024: AHCI_RUNTIME_PM_ON_BAT="auto"
    defaults.conf L0025: AHCI_RUNTIME_PM_TIMEOUT="15"
    defaults.conf L0026: PCIE_ASPM_ON_AC="default"
    defaults.conf L0027: PCIE_ASPM_ON_BAT="default"
    defaults.conf L0028: RADEON_POWER_PROFILE_ON_AC="default"
    defaults.conf L0029: RADEON_POWER_PROFILE_ON_BAT="default"
    defaults.conf L0030: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
    defaults.conf L0031: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
    defaults.conf L0032: WIFI_PWR_ON_AC="off"
    defaults.conf L0033: WIFI_PWR_ON_BAT="on"
    defaults.conf L0034: WOL_DISABLE="Y"
    defaults.conf L0035: SOUND_POWER_SAVE_ON_AC="1"
    defaults.conf L0036: SOUND_POWER_SAVE_ON_BAT="1"
    defaults.conf L0037: SOUND_POWER_SAVE_CONTROLLER="Y"
    defaults.conf L0038: BAY_POWEROFF_ON_AC="0"
    defaults.conf L0039: BAY_POWEROFF_ON_BAT="0"
    defaults.conf L0040: BAY_DEVICE="sr0"
    defaults.conf L0041: RUNTIME_PM_ON_AC="on"
    defaults.conf L0042: RUNTIME_PM_ON_BAT="auto"
    defaults.conf L0043: RUNTIME_PM_DRIVER_DENYLIST="mei_me nouveau radeon"
    defaults.conf L0044: USB_AUTOSUSPEND="1"
    defaults.conf L0045: USB_EXCLUDE_AUDIO="1"
    defaults.conf L0046: USB_EXCLUDE_BTUSB="0"
    defaults.conf L0047: USB_EXCLUDE_PHONE="0"
    defaults.conf L0048: USB_EXCLUDE_PRINTER="1"
    defaults.conf L0049: USB_EXCLUDE_WWAN="0"
    defaults.conf L0050: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
    defaults.conf L0051: RESTORE_DEVICE_STATE_ON_STARTUP="0"
    defaults.conf L0052: RESTORE_THRESHOLDS_ON_BAT="0"
    defaults.conf L0053: NATACPI_ENABLE="1"
    defaults.conf L0054: TPACPI_ENABLE="1"
    defaults.conf L0055: TPSMAPI_ENABLE="1"
    /etc/tlp.d/00T14.conf L0001: CPU_HWP_DYN_BOOST_ON_AC="1"
    /etc/tlp.d/00T14.conf L0002: CPU_HWP_DYN_BOOST_ON_BAT="0"
    
    +++ System Info
    System         = LENOVO ThinkPad T14 Gen 2i 20W1S00000
    BIOS           = N34ET21W (1.10 )
    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       = 05:39:03 PM,    142 sec(s) ago
    Mode           = AC
    Power source   = AC
    
    +++ 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                     = 5B10W51827
    /sys/class/power_supply/BAT0/cycle_count                    =      2
    /sys/class/power_supply/BAT0/energy_full_design             =  50450 [mWh]
    /sys/class/power_supply/BAT0/energy_full                    =  52230 [mWh]
    /sys/class/power_supply/BAT0/energy_now                     =  50020 [mWh]
    /sys/class/power_supply/BAT0/power_now                      =  10893 [mW]
    /sys/class/power_supply/BAT0/status                         = Charging
    
    /sys/class/power_supply/BAT0/charge_control_start_threshold =      0 [%]
    /sys/class/power_supply/BAT0/charge_control_end_threshold   =    100 [%]
    tpacpi-bat.BAT0.forceDischarge                              =      0
    
    Charge                                                      =   95.8 [%]
    Capacity                                                    =  103.5 [%]
    
    root@t14:~#
    T490s Debian (Bullseye) https://www.debian.org/

  15. #15
    Ubuntuversteher Avatar von linrunner
    Registriert seit
    22.06.2007
    Beiträge
    12.740
    Danke
    17
    Thanked 358 Times in 283 Posts
    Themenstarter
    Kann ich von dem T14 Gen2 bitte für AC und BAT
    Code:
    tlp-stat -s --psup
    haben?
    Gruß, linrunner
    X1C6, T450s, X220 - Ubuntu 20.04 - TLP - Ubuntu Schnelleinstieg
    -- Fehler im Anwender sind schwer zu beheben, da es meist keine Updates gibt


  16. #16

    Registriert seit
    18.03.2009
    Beiträge
    3.631
    Danke
    71
    Thanked 276 Times in 266 Posts
    Klar doch:

    Code:
    root@t14:~# tlp-stat -s --psup
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ System Info
    System         = LENOVO ThinkPad T14 Gen 2i 20W1S00000
    BIOS           = N34ET21W (1.10 )
    OS Release     = Debian GNU/Linux 11 (bullseye)
    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-5)
    Boot mode      = UEFI
    
    +++ TLP Status
    State          = enabled
    RDW state      = enabled
    Last run       = 08:18:12 PM,    228 sec(s) ago
    Mode           = AC
    Power source   = AC
    
    +++ Power supply diagnostic
    /sys/class/power_supply/AC/type:Mains
    /sys/class/power_supply/AC/online:1
    /sys/class/power_supply/AC/device/path:\_SB_.PC00.LPCB.EC__.AC__
    /sys/class/power_supply/BAT0/type:Battery
    /sys/class/power_supply/BAT0/present:1
    /sys/class/power_supply/BAT0/status:Full
    /sys/class/power_supply/BAT0/device/path:\_SB_.PC00.LPCB.EC__.BAT0
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/online:0
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/online:1
    
    +++ udev diagnostic
    Reading rules file: /usr/lib/udev/rules.d/85-tlp.rules
    run: '/usr/sbin/tlp auto'
    OK.
    
    root@t14:~# tlp-stat -s --psup
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ System Info
    System         = LENOVO ThinkPad T14 Gen 2i 20W1S00000
    BIOS           = N34ET21W (1.10 )
    OS Release     = Debian GNU/Linux 11 (bullseye)
    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-5)
    Boot mode      = UEFI
    
    +++ TLP Status
    State          = enabled
    RDW state      = enabled
    Last run       = 08:22:19 PM,      3 sec(s) ago
    Mode           = battery
    Power source   = battery
    
    +++ Power supply diagnostic
    /sys/class/power_supply/AC/type:Mains
    /sys/class/power_supply/AC/online:0
    /sys/class/power_supply/AC/device/path:\_SB_.PC00.LPCB.EC__.AC__
    /sys/class/power_supply/BAT0/type:Battery
    /sys/class/power_supply/BAT0/present:1
    /sys/class/power_supply/BAT0/status:Discharging
    /sys/class/power_supply/BAT0/device/path:\_SB_.PC00.LPCB.EC__.BAT0
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/online:0
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/online:0
    
    +++ udev diagnostic
    Reading rules file: /usr/lib/udev/rules.d/85-tlp.rules
    run: '/usr/sbin/tlp auto'
    OK.
    
    root@t14:~# tlp-stat -s --psup
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ System Info
    System         = LENOVO ThinkPad T14 Gen 2i 20W1S00000
    BIOS           = N34ET21W (1.10 )
    OS Release     = Debian GNU/Linux 11 (bullseye)
    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-5)
    Boot mode      = UEFI
    
    +++ TLP Status
    State          = enabled
    RDW state      = enabled
    Last run       = 08:22:32 PM,      3 sec(s) ago
    Mode           = AC
    Power source   = AC
    
    +++ Power supply diagnostic
    /sys/class/power_supply/AC/type:Mains
    /sys/class/power_supply/AC/online:1
    /sys/class/power_supply/AC/device/path:\_SB_.PC00.LPCB.EC__.AC__
    /sys/class/power_supply/BAT0/type:Battery
    /sys/class/power_supply/BAT0/present:1
    /sys/class/power_supply/BAT0/status:Full
    /sys/class/power_supply/BAT0/device/path:\_SB_.PC00.LPCB.EC__.BAT0
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/online:1
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/online:0
    
    +++ udev diagnostic
    Reading rules file: /usr/lib/udev/rules.d/85-tlp.rules
    run: '/usr/sbin/tlp auto'
    OK.
    
    root@t14:~# tlp-stat -s --psup
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ System Info
    System         = LENOVO ThinkPad T14 Gen 2i 20W1S00000
    BIOS           = N34ET21W (1.10 )
    OS Release     = Debian GNU/Linux 11 (bullseye)
    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-5)
    Boot mode      = UEFI
    
    +++ TLP Status
    State          = enabled
    RDW state      = enabled
    Last run       = 08:22:44 PM,      0 sec(s) ago
    Mode           = battery
    Power source   = battery
    
    +++ Power supply diagnostic
    /sys/class/power_supply/AC/type:Mains
    /sys/class/power_supply/AC/online:0
    /sys/class/power_supply/AC/device/path:\_SB_.PC00.LPCB.EC__.AC__
    /sys/class/power_supply/BAT0/type:Battery
    /sys/class/power_supply/BAT0/present:1
    /sys/class/power_supply/BAT0/status:Discharging
    /sys/class/power_supply/BAT0/device/path:\_SB_.PC00.LPCB.EC__.BAT0
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/online:0
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/online:0
    
    +++ udev diagnostic
    Reading rules file: /usr/lib/udev/rules.d/85-tlp.rules
    run: '/usr/sbin/tlp auto'
    OK.
    
    root@t14:~# tlp-stat -s --psup
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ System Info
    System         = LENOVO ThinkPad T14 Gen 2i 20W1S00000
    BIOS           = N34ET21W (1.10 )
    OS Release     = Debian GNU/Linux 11 (bullseye)
    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-5)
    Boot mode      = UEFI
    
    +++ TLP Status
    State          = enabled
    RDW state      = enabled
    Last run       = 08:22:44 PM,      7 sec(s) ago
    Mode           = battery
    Power source   = battery
    
    +++ Power supply diagnostic
    /sys/class/power_supply/AC/type:Mains
    /sys/class/power_supply/AC/online:0
    /sys/class/power_supply/AC/device/path:\_SB_.PC00.LPCB.EC__.AC__
    /sys/class/power_supply/BAT0/type:Battery
    /sys/class/power_supply/BAT0/present:1
    /sys/class/power_supply/BAT0/status:Discharging
    /sys/class/power_supply/BAT0/device/path:\_SB_.PC00.LPCB.EC__.BAT0
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/online:0
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/online:0
    
    +++ udev diagnostic
    Reading rules file: /usr/lib/udev/rules.d/85-tlp.rules
    run: '/usr/sbin/tlp auto'
    OK.
    
    root@t14:~# tlp-stat -s --psup
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ System Info
    System         = LENOVO ThinkPad T14 Gen 2i 20W1S00000
    BIOS           = N34ET21W (1.10 )
    OS Release     = Debian GNU/Linux 11 (bullseye)
    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-5)
    Boot mode      = UEFI
    
    +++ TLP Status
    State          = enabled
    RDW state      = enabled
    Last run       = 08:22:55 PM,      3 sec(s) ago
    Mode           = AC
    Power source   = AC
    
    +++ Power supply diagnostic
    /sys/class/power_supply/AC/type:Mains
    /sys/class/power_supply/AC/online:1
    /sys/class/power_supply/AC/device/path:\_SB_.PC00.LPCB.EC__.AC__
    /sys/class/power_supply/BAT0/type:Battery
    /sys/class/power_supply/BAT0/present:1
    /sys/class/power_supply/BAT0/status:Full
    /sys/class/power_supply/BAT0/device/path:\_SB_.PC00.LPCB.EC__.BAT0
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/online:0
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/online:1
    
    +++ udev diagnostic
    Reading rules file: /usr/lib/udev/rules.d/85-tlp.rules
    run: '/usr/sbin/tlp auto'
    OK.
    
    root@t14:~#
    Code:
    root@t14:~# uname -a
    Linux t14 5.10.0-6-amd64 #1 SMP Debian 5.10.28-1 (2021-04-09) x86_64 GNU/Linux
    Ist jetzt auf Sid und es läuft noch nicht alles am T14.

    PS: Auf meinem T490s funktioniert es auch - der Code ist wohl ok.

    - - - Beitrag zusammengeführt - - -

    Arg zu früh gefreut:

    Nach einem reboot schaltet das T490s wieder nicht mehr zurück:

    Code:
    root@mb:~# tlp-stat --cdiff -p
    --- 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 L0012: RESTORE_THRESHOLDS_ON_BAT="1"
    /etc/tlp.d/01-mb-.conf L0003: CPU_HWP_DYN_BOOST_ON_AC="1"
    /etc/tlp.d/01-mb-.conf L0004: CPU_HWP_DYN_BOOST_ON_BAT="0"
    /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 L0013: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
    /etc/tlp.d/01-mb-.conf L0014: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
    
    +++ 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 =   1
    /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
    
    root@mb:~#
    Code:
    root@mb:~# tlp-stat --psup
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    +++ Power supply diagnostic
    /sys/class/power_supply/AC/type:Mains
    /sys/class/power_supply/AC/online:0
    /sys/class/power_supply/AC/device/path:\_SB_.PCI0.LPCB.EC__.AC__
    /sys/class/power_supply/BAT0/type:Battery
    /sys/class/power_supply/BAT0/present:1
    /sys/class/power_supply/BAT0/status:Discharging
    /sys/class/power_supply/BAT0/device/path:\_SB_.PCI0.LPCB.EC__.BAT0
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:001/online:0
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/type:USB
    /sys/class/power_supply/ucsi-source-psy-USBC000:002/online:1
    
    +++ udev diagnostic
    Reading rules file: /usr/lib/udev/rules.d/85-tlp.rules
    run: '/usr/sbin/tlp auto'
    OK.
    Code:
    Sorry falscher log
    - - - Beitrag zusammengeführt - - -

    OK - ev. hilft es den Fehler einzugrenzen

    Einmalig "tlp start" im Akkubetrieb dann schaltet es auf 0 / einmalig
    Geändert von mcb (26.04.2021 um 18:35 Uhr)
    T490s Debian (Bullseye) https://www.debian.org/

  17. #17
    Ubuntuversteher Avatar von linrunner
    Registriert seit
    22.06.2007
    Beiträge
    12.740
    Danke
    17
    Thanked 358 Times in 283 Posts
    Themenstarter
    Dass der Modus nach dem Wechsel der Stromquelle richtig erkannt wird, ist schon klar. Das Problem ist direkt beim Wechsel.

    Ich brauche mal bitte Traces von den beiden Übergängen:
    1. AC --> BAT
    2. BAT --> AC

    Trace-Konfiguration ist:
    Code:
    TLP_DEBUG="ps run"
    Gruß, linrunner
    X1C6, T450s, X220 - Ubuntu 20.04 - TLP - Ubuntu Schnelleinstieg
    -- Fehler im Anwender sind schwer zu beheben, da es meist keine Updates gibt


  18. #18

    Registriert seit
    18.03.2009
    Beiträge
    3.631
    Danke
    71
    Thanked 276 Times in 266 Posts
    Nicht erschrecken ich habe 1 und 0 mal vertauscht Bat/AC - hier der trace (T490s)

    Code:
    root@mb:~# tlp-stat -T
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    -- Journal begins at Wed 2021-03-10 14:36:08 CET, ends at Tue 2021-04-27 18:16:41 CEST. --
    Apr 27 08:52:44 mb tlp[2229]: Applying power save settings...done.
    Apr 27 08:52:44 mb tlp[2229]: Setting battery charge thresholds...done.
    Apr 27 08:52:47 mb tlp[2229]: Disabling radios: bluetooth.
    Apr 27 18:14:17 mb tlp[54783]: get_sys_power_supply(AC).ac_online: syspwr=0
    Apr 27 18:14:17 mb tlp[54783]: +++ start (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
    Apr 27 18:14:17 mb tlp[54783]: power_source=ac
    Apr 27 18:14:17 mb tlp[54783]: manual_mode=none
    Apr 27 18:14:17 mb tlp[54783]: power_mode=ac
    Apr 27 18:14:17 mb tlp[54783]: compare_and_save_power_state(0).equal
    Apr 27 18:14:17 mb tlp[54783]: save_runconf.ok: /run/tlp/tlp-run.conf_tmp1mSIdp -> /run/tlp/run.conf
    Apr 27 18:16:28 mb tlp[55256]: get_sys_power_supply(AC).ac_offline_remembered
    Apr 27 18:16:28 mb tlp[55256]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
    Apr 27 18:16:28 mb tlp[55256]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
    Apr 27 18:16:28 mb tlp[55256]: power_source=bat
    Apr 27 18:16:28 mb tlp[55256]: manual_mode=none
    Apr 27 18:16:28 mb tlp[55256]: power_mode=bat
    Apr 27 18:16:28 mb tlp[55256]: compare_and_save_power_state(1).different: old=0
    Apr 27 18:16:28 mb tlp[55289]: get_sys_power_supply(AC).ac_offline_remembered
    Apr 27 18:16:28 mb tlp[55289]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
    Apr 27 18:16:28 mb tlp[55289]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
    Apr 27 18:16:28 mb tlp[55289]: power_source=bat
    Apr 27 18:16:28 mb tlp[55289]: manual_mode=none
    Apr 27 18:16:28 mb tlp[55289]: power_mode=bat
    Apr 27 18:16:28 mb tlp[55256]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpjrA7pz -> /run/tlp/run.conf
    Apr 27 18:16:28 mb tlp[55479]: get_sys_power_supply(AC).ac_offline_remembered
    Apr 27 18:16:28 mb tlp[55479]: get_sys_power_supply(BAT0).bat_discharging: syspwr=1
    Apr 27 18:16:28 mb tlp[55479]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
    Apr 27 18:16:28 mb tlp[55479]: power_source=bat
    Apr 27 18:16:28 mb tlp[55479]: manual_mode=none
    Apr 27 18:16:28 mb tlp[55479]: power_mode=bat
    Apr 27 18:16:28 mb tlp[55479]: compare_and_save_power_state(1).equal
    Apr 27 18:16:38 mb tlp[55513]: get_sys_power_supply(AC).ac_online: syspwr=0
    Apr 27 18:16:38 mb tlp[55513]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
    Apr 27 18:16:38 mb tlp[55513]: power_source=ac
    Apr 27 18:16:38 mb tlp[55513]: manual_mode=none
    Apr 27 18:16:38 mb tlp[55513]: power_mode=ac
    Apr 27 18:16:38 mb tlp[55513]: compare_and_save_power_state(0).different: old=1
    Apr 27 18:16:38 mb tlp[55526]: get_sys_power_supply(AC).ac_online: syspwr=0
    Apr 27 18:16:38 mb tlp[55526]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
    Apr 27 18:16:38 mb tlp[55526]: power_source=ac
    Apr 27 18:16:38 mb tlp[55526]: manual_mode=none
    Apr 27 18:16:38 mb tlp[55526]: power_mode=ac
    Apr 27 18:16:39 mb tlp[55581]: get_sys_power_supply(AC).ac_online: syspwr=0
    Apr 27 18:16:39 mb tlp[55581]: +++ auto (1.4.0-alpha.1) ++++++++++++++++++++++++++++++++++++++++
    Apr 27 18:16:39 mb tlp[55581]: power_source=ac
    Apr 27 18:16:39 mb tlp[55581]: manual_mode=none
    Apr 27 18:16:39 mb tlp[55581]: power_mode=ac
    Apr 27 18:16:41 mb tlp[55513]: save_runconf.ok: /run/tlp/tlp-run.conf_tmpE5MhhG -> /run/tlp/run.conf
    root@mb:~#
    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 L0012: 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 L0013: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
    /etc/tlp.d/01-mb-.conf L0014: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
    /etc/tlp.d/01-trace.conf L0001: TLP_DEBUG="ps run"
    
    root@mb:~#
    Im Moment schaltet das T490s um ...
    T490s Debian (Bullseye) https://www.debian.org/

  19. #19
    Ubuntuversteher Avatar von linrunner
    Registriert seit
    22.06.2007
    Beiträge
    12.740
    Danke
    17
    Thanked 358 Times in 283 Posts
    Themenstarter
    Im Trace wird der Akkubetrieb sauber erkannt:
    get_sys_power_supply(BAT0).bat_discharging: syspwr=1
    Ist denn das Problem im Moment überhaupt da?
    Gruß, linrunner
    X1C6, T450s, X220 - Ubuntu 20.04 - TLP - Ubuntu Schnelleinstieg
    -- Fehler im Anwender sind schwer zu beheben, da es meist keine Updates gibt


  20. #20

    Registriert seit
    18.03.2009
    Beiträge
    3.631
    Danke
    71
    Thanked 276 Times in 266 Posts
    Zitat Zitat von linrunner Beitrag anzeigen
    Im Trace wird der Akkubetrieb sauber erkannt:

    Ist denn das Problem im Moment überhaupt da?
    Im Moment nicht - es taucht aber völlig erratic auf / geht ein paar Stunden dann wieder nicht Ich starte mal neu und mache nochmal logs ...

    - - - Beitrag zusammengeführt - - -

    OK - jetzt hat er nicht geschaltet:
    Code:
    --- TLP 1.4.0-alpha.1 --------------------------------------------
    
    -- Journal begins at Thu 2021-03-11 09:46:19 CET, ends at Tue 2021-04-27 19:21:53 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
    root@mb:~#
    Geändert von mcb (27.04.2021 um 18:19 Uhr)
    T490s Debian (Bullseye) https://www.debian.org/

Ähnliche Themen

  1. Antworten: 2
    Letzter Beitrag: 02.08.2013, 16:17
  2. Antworten: 5
    Letzter Beitrag: 13.08.2012, 23:18
  3. Antworten: 41
    Letzter Beitrag: 23.07.2012, 19:45
  4. Antworten: 52
    Letzter Beitrag: 27.10.2011, 18:34
  5. Antworten: 36
    Letzter Beitrag: 02.03.2009, 15:14

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
thinkstore24.de Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen CaptainNotebook