tlp-stat Akkudaten - Tester mit Coreboot/Libreboot gesucht

linrunner

Ubuntuversteher
Themenstarter
Registriert
22 Juni 2007
Beiträge
13.683
Guten Abend allerseits! :)

Ich bräuchte die Hilfe der anwesenden Core- bzw. Libreboot Nutzer (z.B. @iks230). Ich habe mich dazu entschlossen, einen Workaround für die fehlenden Akkudaten in tlp-stat -b einzubauen, da sich von Core- bzw. Libreboot-Enwicklerseite niemand bemüßigt fühlt, das Problem zu fixen.

Pakete gibt es hier: https://download.linrunner.de/packages/

Bitte zeigt die Ausgabe von:
Bash:
sudo tlp-stat -s -b

Hintergrundinfos:
Vielen Dank fürs Testen.
 
Zuletzt bearbeitet:
@iks230 @zacki06 @thickpad leider stösst meine improvisierte coreboot Erkennung auf ein Hindernis.

Die Anwesenheit der /sys/class/power_supply/BAT0/charge_* Attribute - statt energy_* - beschänkt sich nicht mehr auf Coreboot. Gerade ist ein T14s Gen 1 AMD aufgetaucht, da kommen sie ganz regulär auch mit einem Lenovo BIOS vor:

Die dort ausgelesenen Werte sprechen auch für die korrekte Einheit mA(h) und dürfen nicht um eine Stelle verschoben werden:
/sys/class/power_supply/BAT0/charge_full_design = 40780 [mWh] *
/sys/class/power_supply/BAT0/charge_full = 40780 [mWh] *
/sys/class/power_supply/BAT0/charge_now = 40780 [mWh] *
4708mAh findet man zB. hier https://www.ebay.com/itm/266660531471

EC Firmware = 0.0
scheint ja ein gemeinsames Merkmal zu sein.

Habt ihr noch alternative Ideen, wie man in /sys oder sonstwo coreboot erkennen kann?
 
Zuletzt bearbeitet:
Habt ihr noch alternative Ideen, wie man in /sys oder sonstwo coreboot erkennen kann?

Vielleicht hilft dir das weiter?
Bash:
find /sys -name "*coreboot*"

/sys/kernel/btf/memconsole_coreboot

find: ‘/sys/kernel/tracing/instances’: Keine Berechtigung
find: ‘/sys/kernel/tracing/per_cpu’: Keine Berechtigung
find: ‘/sys/kernel/tracing/options’: Keine Berechtigung
find: ‘/sys/kernel/debug’: Keine Berechtigung

/sys/devices/platform/BOOT0000:00/coreboot6
/sys/devices/platform/BOOT0000:00/coreboot16
/sys/devices/platform/BOOT0000:00/coreboot4
/sys/devices/platform/BOOT0000:00/coreboot14
/sys/devices/platform/BOOT0000:00/coreboot2
/sys/devices/platform/BOOT0000:00/coreboot12
/sys/devices/platform/BOOT0000:00/coreboot0
/sys/devices/platform/BOOT0000:00/coreboot20
/sys/devices/platform/BOOT0000:00/coreboot10
/sys/devices/platform/BOOT0000:00/coreboot9
/sys/devices/platform/BOOT0000:00/coreboot19
/sys/devices/platform/BOOT0000:00/coreboot7
/sys/devices/platform/BOOT0000:00/coreboot17
/sys/devices/platform/BOOT0000:00/coreboot5
/sys/devices/platform/BOOT0000:00/coreboot15
/sys/devices/platform/BOOT0000:00/coreboot43
/sys/devices/platform/BOOT0000:00/coreboot3
/sys/devices/platform/BOOT0000:00/coreboot13
/sys/devices/platform/BOOT0000:00/coreboot1
/sys/devices/platform/BOOT0000:00/coreboot11
/sys/devices/platform/BOOT0000:00/coreboot8
/sys/devices/platform/BOOT0000:00/coreboot18

find: ‘/sys/fs/pstore’: Keine Berechtigung
find: ‘/sys/fs/bpf’: Keine Berechtigung

/sys/bus/coreboot
/sys/bus/coreboot/devices/coreboot6
/sys/bus/coreboot/devices/coreboot16
/sys/bus/coreboot/devices/coreboot4
/sys/bus/coreboot/devices/coreboot14
/sys/bus/coreboot/devices/coreboot2
/sys/bus/coreboot/devices/coreboot12
/sys/bus/coreboot/devices/coreboot0
/sys/bus/coreboot/devices/coreboot20
/sys/bus/coreboot/devices/coreboot10
/sys/bus/coreboot/devices/coreboot9
/sys/bus/coreboot/devices/coreboot19
/sys/bus/coreboot/devices/coreboot7
/sys/bus/coreboot/devices/coreboot17
/sys/bus/coreboot/devices/coreboot5
/sys/bus/coreboot/devices/coreboot15
/sys/bus/coreboot/devices/coreboot43
/sys/bus/coreboot/devices/coreboot3
/sys/bus/coreboot/devices/coreboot13
/sys/bus/coreboot/devices/coreboot1
/sys/bus/coreboot/devices/coreboot11
/sys/bus/coreboot/devices/coreboot8
/sys/bus/coreboot/devices/coreboot18

/sys/bus/coreboot/drivers/memconsole/coreboot12
/sys/bus/coreboot/drivers/vpd/coreboot14
/sys/bus/coreboot/drivers/framebuffer/coreboot8
/sys/bus/platform/drivers/coreboot_table
/sys/module/memconsole/holders/memconsole_coreboot
/sys/module/vpd_sysfs/drivers/coreboot:vpd
/sys/module/memconsole_coreboot
/sys/module/memconsole_coreboot/drivers/coreboot:memconsole
 
@linrunner Die DMI-Tabellen wären vielleicht auch noch eine Option:

Code:
$ grep -rFi coreboot /sys 2>/dev/null
/sys/devices/platform/BOOT0000:00/uevent:DRIVER=coreboot_table
/sys/devices/virtual/dmi/id/uevent:MODALIAS=dmi:bvncoreboot:bvr24.08-dirty:bd08/23/2024:br24.8:efr0.0:svnLENOVO:pnThinkPadT440p:pvr1.0:rvnLENOVO:rnThinkPadT440p:rvr1.0:cvnLENOVO:ct9:cvr:sku:
/sys/devices/virtual/dmi/id/bios_vendor:coreboot
/sys/devices/virtual/dmi/id/modalias:dmi:bvncoreboot:bvr24.08-dirty:bd08/23/2024:br24.8:efr0.0:svnLENOVO:pnThinkPadT440p:pvr1.0:rvnLENOVO:rnThinkPadT440p:rvr1.0:cvnLENOVO:ct9:cvr:sku:

(Debian 12)
 
@linrunner würde dir ein coreboot-device helfen? t440p, x230 irgendsowas? ich würde dir auch eins spenden wenn du sagst es hilft dir bei der entwicklung.

ich mach dir gleich nochmal ein dmidecode von seinem x230 u. t440p in ne txt.
 

Anhänge

Zuletzt bearbeitet:
würde dir ein coreboot-device helfen? t440p, x230 irgendsowas? ich würde dir auch eins spenden wenn du sagst es hilft dir bei der entwicklung.
Danke für dein großzügiges Angebot! In diesem Fall benötige ich kein Device. Falls ich doch mal ein umfangreicheres coreboot Feature entwickeln will, würde ich jedoch sehr gerne auf dich zurückkommen.
ich mach dir gleich nochmal ein dmidecode von seinem x230 u. t440p in ne txt.
dmidecode als externes Tool möchte ich gerade nicht einbinden. Mir reicht die Ausgabe des Befehls von @KB19 völlig:

EDITH: ist ja schon angehängt. Danke.

Sowie:
Bash:
test -d /sys/bus/coreboot && echo "/sys/bus/coreboot is there."
 
Also wenn ein Device erfoderlich sehr gene. Nutze seit gefühlt 10 Jahren dein TLP das wäre wirklich fair was zurückzugeben.

Tl;dr: cat /sys/firmware/dmi/tables/DMI ziemlich gut zum identifizieren ob Coreboot UEFI oder nicht.

/sys/bus/coreboot gibts bei mir leider nicht am X230 oder T440P was Gerätübergreifend ohne dmidecode geht ist der "coreboot" ASCII-String aus

/sys/firmware/dmi/tables/DMI auszulesen:
 

Anhänge

Zuletzt bearbeitet:
Ich denke, ich werde /sys/devices/virtual/dmi/id/bios_vendor:coreboot nehmen. Danke euch.

EDITH sagt: sobald es was zum Testen gibt, geht's hier weiter :).
 
@iks230 sieht DMI bei dir auch so aus?

Ja, hier die vollständige Ausgabe:
Bash:
grep -rFi coreboot /sys 2>/dev/null
/sys/devices/platform/BOOT0000:00/uevent:DRIVER=coreboot_table
/sys/devices/platform/BOOT0000:00/coreboot6/uevent:MODALIAS=coreboot:t00000038
/sys/devices/platform/BOOT0000:00/coreboot16/uevent:MODALIAS=coreboot:t00000034
/sys/devices/platform/BOOT0000:00/cbmem-53534d32/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/coreboot4/uevent:MODALIAS=coreboot:t00000006
/sys/devices/platform/BOOT0000:00/coreboot14/uevent:MODALIAS=coreboot:t0000002C
/sys/devices/platform/BOOT0000:00/cbmem-04efc0de/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/coreboot2/uevent:MODALIAS=coreboot:t00000004
/sys/devices/platform/BOOT0000:00/cbmem-494d454d/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/cbmem-4544524d/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/coreboot12/uevent:MODALIAS=coreboot:t00000017
/sys/devices/platform/BOOT0000:00/cbmem-524f4d30/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/coreboot0/uevent:MODALIAS=coreboot:t00000001
/sys/devices/platform/BOOT0000:00/coreboot20/uevent:MODALIAS=coreboot:t00000032
/sys/devices/platform/BOOT0000:00/coreboot10/uevent:MODALIAS=coreboot:t00000029
/sys/devices/platform/BOOT0000:00/coreboot9/uevent:MODALIAS=coreboot:t00000019
/sys/devices/platform/BOOT0000:00/cbmem-54494d45/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/coreboot19/uevent:MODALIAS=coreboot:t00000040
/sys/devices/platform/BOOT0000:00/cbmem-56504420/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/cbmem-78007343/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/coreboot7/uevent:MODALIAS=coreboot:t00000026
/sys/devices/platform/BOOT0000:00/cbmem-47545352/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/cbmem-434f4e53/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/coreboot17/uevent:MODALIAS=coreboot:t00000039
/sys/devices/platform/BOOT0000:00/coreboot5/uevent:MODALIAS=coreboot:t00000007
/sys/devices/platform/BOOT0000:00/cbmem-54504d32/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/cbmem-534d4254/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/coreboot15/uevent:MODALIAS=coreboot:t00000037
/sys/devices/platform/BOOT0000:00/cbmem-524d5346/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/coreboot43/uevent:MODALIAS=coreboot:t00000043
/sys/devices/platform/BOOT0000:00/coreboot3/uevent:MODALIAS=coreboot:t00000005
/sys/devices/platform/BOOT0000:00/coreboot13/uevent:MODALIAS=coreboot:t00000024
/sys/devices/platform/BOOT0000:00/cbmem-9a357a9e/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/cbmem-42455254/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/cbmem-43425442/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/coreboot1/uevent:MODALIAS=coreboot:t00000003
/sys/devices/platform/BOOT0000:00/coreboot11/uevent:MODALIAS=coreboot:t00000016
/sys/devices/platform/BOOT0000:00/cbmem-41435049/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/cbmem-46535052/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/cbmem-464d4150/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/cbmem-474e5653/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/coreboot8/uevent:MODALIAS=coreboot:t00000012
/sys/devices/platform/BOOT0000:00/cbmem-50535454/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/cbmem-52505346/uevent:MODALIAS=coreboot:t00000031
/sys/devices/platform/BOOT0000:00/coreboot18/uevent:MODALIAS=coreboot:t00000030
/sys/devices/virtual/dmi/id/uevent:MODALIAS=dmi:bvncoreboot:bvrMrChromebox-2405.0:bd06/15/2024:br24.5:efr0.0:svnGoogle:pnMorphius:pvrrev6:rvnGoogle:rnMorphius:rvrrev6:cvnGoogle:ct9:cvr:skusku1510014994:
/sys/devices/virtual/dmi/id/bios_vendor:coreboot
/sys/devices/virtual/dmi/id/modalias:dmi:bvncoreboot:bvrMrChromebox-2405.0:bd06/15/2024:br24.5:efr0.0:svnGoogle:pnMorphius:pvrrev6:rvnGoogle:rnMorphius:rvrrev6:cvnGoogle:ct9:cvr:skusku1510014994:
/sys/firmware/log:coreboot-v1.9308_26_0.0.22-36800-g2f592392f9d1 Thu Mar 28 01:57:43 UTC 2024 armv7 verstage-before-bootblock starting (log level: 8)...
/sys/firmware/log:FMAP: area COREBOOT found @ 875000 (7909376 bytes)
/sys/firmware/log:coreboot-24.05-84-g345f48275a2a-MrChromebox-2405.0 Sat Jun 15 17:30:29 UTC 2024 x86_32 bootblock starting (log level: 7)...
/sys/firmware/log:FMAP: area COREBOOT found @ 875000 (7909376 bytes)
/sys/firmware/log:coreboot-24.05-84-g345f48275a2a-MrChromebox-2405.0 Sat Jun 15 17:30:29 UTC 2024 x86_32 romstage starting (log level: 7)...
/sys/firmware/log:FMAP: area COREBOOT found @ 875000 (7909376 bytes)
/sys/firmware/log:coreboot-24.05-84-g345f48275a2a-MrChromebox-2405.0 Sat Jun 15 17:30:29 UTC 2024 x86_32 ramstage starting (log level: 7)...
/sys/firmware/log:FMAP: area COREBOOT found @ 875000 (7909376 bytes)
/sys/firmware/log:Wrote coreboot table at: 0x00000500, 0x10 bytes, checksum a97c
/sys/firmware/log:Writing coreboot table at 0xc6619000
/sys/firmware/log:Wrote coreboot table at: 0xc6619000, 0x5a0 bytes, checksum 313a
/sys/firmware/log:coreboot table: 1464 bytes.
/sys/firmware/log:COREBOOT   13. 0xc6619000 0x00008000
/sys/firmware/log:coreboot-v1.9308_26_0.0.22-36800-g2f592392f9d1 Thu Mar 28 01:57:43 UTC 2024 armv7 verstage-before-bootblock starting (log level: 8)...
/sys/firmware/log:FMAP: area COREBOOT found @ 875000 (7909376 bytes)
/sys/firmware/log:coreboot-24.05-84-g345f48275a2a-MrChromebox-2405.0 Sat Jun 15 17:30:29 UTC 2024 x86_32 bootblock starting (log level: 7)...
/sys/firmware/log:FMAP: area COREBOOT found @ 875000 (7909376 bytes)
/sys/firmware/log:coreboot-24.05-84-g345f48275a2a-MrChromebox-2405.0 Sat Jun 15 17:30:29 UTC 2024 x86_32 romstage starting (log level: 7)...
/sys/firmware/log:FMAP: area COREBOOT found @ 875000 (7909376 bytes)
/sys/firmware/log:coreboot-24.05-84-g345f48275a2a-MrChromebox-2405.0 Sat Jun 15 17:30:29 UTC 2024 x86_32 ramstage starting (log level: 7)...
/sys/firmware/log:FMAP: area COREBOOT found @ 875000 (7909376 bytes)
/sys/firmware/log:coreboot-v1.9308_26_0.0.22-36800-g2f592392f9d1 Thu Mar 28 01:57:43 UTC 2024 armv7 verstage-before-bootblock starting (log level: 8)...
/sys/firmware/log:FMAP: area COREBOOT found @ 875000 (7909376 bytes)
/sys/firmware/log:coreboot-24.05-84-g345f48275a2a-MrChromebox-2405.0 Sat Jun 15 17:30:29 UTC 2024 x86_32 bootblock starting (log level: 7)...
/sys/firmware/log:FMAP: area COREBOOT found @ 875000 (7909376 bytes)
/sys/firmware/log:coreboot-24.05-84-g345f48275a2a-MrChromebox-2405.0 Sat Jun 15 17:30:29 UTC 2024 x86_32 romstage starting (log level: 7)...
/sys/firmware/log:FMAP: area COREBOOT found @ 875000 (7909376 bytes)
/sys/firmware/log:coreboot-24.05-84-g345f48275a2a-MrChromebox-2405.0 Sat Jun 15 17:30:29 UTC 2024 x86_32 ramstage starting (log level: 7)...
/sys/firmware/log:FMAP: area COREBOOT found @ 875000 (7909376 bytes)

Edit an mich selbst: Das nächste Mal vorher bis zum Ende lesen.
 
Was steht eigentlich standardmäßig bei Libreboot in /sys/devices/virtual/dmi/id/bios_vendor? Die sollten ja die bezüglich TLP ähnlich sein :unsure:

Da man diesen Wert beim Bauen von Coreboot (afaik) beliebig setzen kann, wäre vielleicht der umgekehrte Weg sinnvoller: Prüfen, ob dort irgendwas mit LENOVO drinnen steht? Oder verwenden einige ThinkPads dort andere Werte?
 
@linrunner Sieht gut aus, identische Ausgabe wie mit der alten Version. :-)

Code:
--- TLP 1.8.0 --------------------------------------------

+++ System Info
System         = LENOVO ThinkPad T440p
BIOS           = 24.08-dirty
EC Firmware    = 0.0
OS Release     = Debian GNU/Linux 12 (bookworm)
Kernel         = 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
/proc/cmdline  = root=zfs:zroot/ROOT/debian quiet loglevel=4 noresume pcie_aspm=off intel_iommu=on,igfx_off spl.spl_hostid=0x00bab10c
Init system    = systemd v252 (252.38-1~deb12u1)
Boot mode      = UEFI
Suspend mode   = s2idle shallow [deep]

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 13:40:56, 12747 sec(s) ago
Mode           = AC
Power source   = AC

+++ Battery Care
Plugin: thinkpad
Supported features: charge thresholds
Driver usage:
* natacpi (thinkpad_acpi) = active (charge thresholds)
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                   = LGC
/sys/class/power_supply/BAT0/model_name                     = 45N1153
/sys/class/power_supply/BAT0/cycle_count                    =      0 (or not supported)
/sys/class/power_supply/BAT0/charge_full_design             =  99460 [mWh] *
/sys/class/power_supply/BAT0/charge_full                    =  90780 [mWh] *
/sys/class/power_supply/BAT0/charge_now                     =  64620 [mWh] *
/sys/class/power_supply/BAT0/current_now                    =      0 [mW] *
/sys/class/power_supply/BAT0/status                         = Not charging

/sys/class/power_supply/BAT0/charge_control_start_threshold =     50 [%]
/sys/class/power_supply/BAT0/charge_control_end_threshold   =     80 [%]

Charge                                                      =   71.2 [%]
Capacity                                                    =   91.3 [%]

*) Converted coreboot charge readings may differ.
 
@KB19 prima, Danke. Die endgültige Version wird hinter <bios_version> auch den <bios_vendor> anzeigen. Bsp.:
BIOS = 24.08-dirty coreboot

EDIT: Sobald der Ersteller des Issues OK meldet, wird alles nach main gemerged und ich mach Pakete zum Download.
 
Hier auch meine Ausgabe:
 
Zuletzt bearbeitet:
@iks230 die Änderung ist nur für ThinkPads relevant. Für ChromeBooks brauche ich keine Fallunterscheidung Vendor BIOS vs. coreboot. Hättest Du noch ne Ausgabe von einem deiner ThinkPads?
 
s230u? was ist denn das für ein lustiges gerät? gleich mal einlesen :D
 
Ich hab mal einen anderen Akku im x200 ausprobiert. Diesmal gibt es weniger Kuddel Muddel. Allerdings ist mir beim einmaligen Voll Aufladen folgende Warnung gezeigt worden:

Code:
sudo tlp fullcharge BAT0
Passwort:
Setting temporary charge thresholds for battery BAT0:
  stop  = 100 (Error: write failed)
  start =  96

TLP hat den Akku aber dennoch geladen. Und sensors liefert auch die W und V Angaben. Alles soweit iO.

Code:
BAT0-acpi-0
Adapter: ACPI interface
in0:          12.47 V 
power1:       17.24 W

Kann ich den Fehler ignorieren?


Pro forma noch hier die Ausgabe:

Code:
sudo tlp-stat -b -s
Passwort:
--- TLP 1.8.0 --------------------------------------------

+++ System Info
System         = LENOVO ThinkPad X200 7458AU2
BIOS           = CBET4000 25.06
EC Firmware    = 0.0
OS Release     = Void Linux
Kernel         = 6.12.48_1 #1 SMP PREEMPT_DYNAMIC Fri Sep 19 23:47:13 UTC 2025 x86_64
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-6.12.48_1 root=UUID=*** ro loglevel=4
Init system    = sysvinit
Boot mode      = BIOS (CSM, Legacy)
Suspend mode   = s2idle shallow [deep]

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 20:42:07, 2624 sec(s) ago
Mode           = AC
Power source   = AC

+++ Battery Care
Plugin: thinkpad
Supported features: charge thresholds
Driver usage:
* natacpi (thinkpad_acpi) = active (charge thresholds)
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                   = Panasonic
/sys/class/power_supply/BAT0/model_name                     = 42T4696
/sys/class/power_supply/BAT0/cycle_count                    =      0 (or not supported)
/sys/class/power_supply/BAT0/energy_full_design             =  93960 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  49680 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  49410 [mWh]
/sys/class/power_supply/BAT0/power_now                      =  16216 [mW]
/sys/class/power_supply/BAT0/status                         = Charging

/sys/class/power_supply/BAT0/charge_control_start_threshold =     96 [%]
/sys/class/power_supply/BAT0/charge_control_end_threshold   =    100 [%]

Charge                                                      =   99.5 [%]
Capacity                                                    =   52.9 [%]

+++ Recommendations
* Install kernel 5.17 (or later) for battery recalibration support
 
sudo tlp fullcharge BAT0
Passwort:
Setting temporary charge thresholds for battery BAT0:
stop = 100 (Error: write failed)
start = 96
Interessant wäre, welche Schwellen vorher aktiv bzw. konfiguriert waren (s.u.).
TLP hat den Akku aber dennoch geladen.
Vorsicht, Mißverständnis: TLP steuert nicht den Ladevorgang. TLP schreibt via Kernel Ladeschwellen in den EC. Der EC steuert den Ladevorgang.
Und sensors liefert auch die W und V Angaben. Alles soweit iO.
In diesem Kontext hier irrelevant ;). tlp-stat -b -v zeigt übrigens neben W und V an .
Kann ich den Fehler ignorieren?
Lass uns schauen: die Stop-Schwelle ist jetzt auf 100%, aber wir wissen nicht wie sie vor dem tlp fullcharge war.
/sys/class/power_supply/BAT0/charge_control_start_threshold = 96 [%]
/sys/class/power_supply/BAT0/charge_control_end_threshold = 100 [%]
Mach mal folgendes und zeig die Ausgaben (ich unterstelle, dass Du Schwellen konfiguriert hast):
Bash:
sudo tlp setcharge
sudo tlp-stat -b
sudo tlp fullcharge
sudo tlp-stat -b
+++ Recommendations
* Install kernel 5.17 (or later) for battery recalibration support
Darum muss ich mich (für 1.9) noch kümmern. Die Empfehlung darf bei Coreboot nicht ausgegeben werden.
Zeig dazu mal bitte:
Bash:
cat /sys/class/dmi/id/bios_vendor
 
Zuletzt bearbeitet:
  • ok1.de
  • IT Refresh - IT Teile & mehr
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben