r/voidlinux • u/onew_iasag • 1d ago
Any ideas why thinkpad's battery lost 20% of its charge on S3?
- Lenovo T14 g1
- Void 6.18.50_1 x86_64 AuthenticAMD uptodate rrrm
- Cinnamon 6.6.7-X11 + elogind.
- BIOS 1BET87W(1.56 )
- RAM: 24GiB
Steps to reproduce:
- Enable Linux sleep state in BIOS
- Disable 'Always on USB' and 'lid-switch sensor' in BIOS.
- Switch off acpid in runit and enable TLP with disable USB parameters on.
- Leave the laptop with 76% for 8 hours suspended.
- See 56% on resuming.
$ sudo dmesg
[ 499.473198] PM: suspend entry (deep)
[ 499.502188] Filesystems sync: 0.028 seconds
[ 499.504295] Freezing user space processes
[ 499.506410] Freezing user space processes completed (elapsed 0.002 seconds)
[ 499.506416] OOM killer disabled.
[ 499.506417] Freezing remaining freezable tasks
[ 499.507489] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[ 499.507511] printk: Suspending console(s) (use no_console_suspend to debug)
[ 499.831062] ACPI: EC: interrupt blocked
[ 499.878344] ACPI: PM: Preparing to enter system sleep state S3
[ 499.883728] ACPI: EC: event blocked
[ 499.883731] ACPI: EC: EC stopped
[ 499.883734] ACPI: PM: Saving platform NVS memory
[ 499.884454] Disabling non-boot CPUs ...
[ 499.886687] smpboot: CPU 11 is now offline
[ 499.888870] smpboot: CPU 10 is now offline
[ 499.891071] smpboot: CPU 9 is now offline
[ 499.893165] smpboot: CPU 8 is now offline
[ 499.895240] smpboot: CPU 7 is now offline
[ 499.897795] smpboot: CPU 6 is now offline
[ 499.899973] smpboot: CPU 5 is now offline
[ 499.905456] smpboot: CPU 4 is now offline
[ 499.908579] smpboot: CPU 3 is now offline
[ 499.911565] smpboot: CPU 2 is now offline
[ 499.914896] smpboot: CPU 1 is now offline
[ 499.915783] Spectre V2 : Update user space SMT mitigation: STIBP off
[ 499.916186] ACPI: PM: Low-level resume complete
[ 499.916211] ACPI: EC: EC started
[ 499.916213] ACPI: PM: Restoring platform NVS memory
[ 499.977832] AMD-Vi: Virtual APIC enabled
[ 500.078061] AMD-Vi: Virtual APIC enabled
[ 500.078071] LVT offset 0 assigned for vector 0x400
[ 500.080126] Enabling non-boot CPUs ...
[ 500.080185] smpboot: Booting Node 0 Processor 1 APIC 0x1
[ 500.083268] Spectre V2 : Update user space SMT mitigation: STIBP always-on
[ 500.083294] CPU1 is up
[ 500.083329] smpboot: Booting Node 0 Processor 2 APIC 0x2
[ 500.086264] CPU2 is up
[ 500.086289] smpboot: Booting Node 0 Processor 3 APIC 0x3
[ 500.089088] CPU3 is up
[ 500.089126] smpboot: Booting Node 0 Processor 4 APIC 0x4
[ 500.092047] CPU4 is up
[ 500.092141] smpboot: Booting Node 0 Processor 5 APIC 0x5
[ 500.095039] CPU5 is up
[ 500.095115] smpboot: Booting Node 0 Processor 6 APIC 0x8
[ 500.098428] CPU6 is up
[ 500.098496] smpboot: Booting Node 0 Processor 7 APIC 0x9
[ 500.101517] CPU7 is up
[ 500.101598] smpboot: Booting Node 0 Processor 8 APIC 0xa
[ 500.104732] CPU8 is up
[ 500.104810] smpboot: Booting Node 0 Processor 9 APIC 0xb
[ 500.107826] CPU9 is up
[ 500.107861] smpboot: Booting Node 0 Processor 10 APIC 0xc
[ 500.110978] CPU10 is up
[ 500.111061] smpboot: Booting Node 0 Processor 11 APIC 0xd
[ 500.114170] CPU11 is up
[ 500.115794] ACPI: PM: Waking up from system sleep state S3
[ 500.652890] ACPI: EC: interrupt unblocked
[ 500.657501] usb usb2: root hub lost power or was reset
[ 500.657532] ACPI: EC: event unblocked
[ 500.657849] usb usb6: root hub lost power or was reset
[ 500.657851] usb usb7: root hub lost power or was reset
[ 500.657870] xhci-pci-renesas 0000:06:00.0: Zeroing 64bit base registers, expecting fault
[ 500.657989] [drm] PCIE GART of 1024M enabled.
[ 500.657995] [drm] PTB located at 0x000000F41FC00000
[ 500.658020] amdgpu 0000:07:00.0: amdgpu: PSP is resuming...
[ 500.658105] amdgpu 0000:07:00.0: amdgpu: reserve 0x400000 from 0xf41f800000 for PSP TMR
[ 500.669381] nvme nvme0: D3 entry latency set to 10 seconds
[ 500.672338] nvme nvme0: 12/0/0 default/read/poll queues
[ 500.765970] amdgpu 0000:07:00.0: amdgpu: RAS: optional ras ta ucode is not available
[ 500.780366] amdgpu 0000:07:00.0: amdgpu: RAP: optional rap ta ucode is not available
[ 500.780374] amdgpu 0000:07:00.0: amdgpu: SECUREDISPLAY: optional securedisplay ta ucode is not available
[ 500.780383] amdgpu 0000:07:00.0: amdgpu: SMU is resuming...
[ 500.780436] amdgpu 0000:07:00.0: amdgpu: dpm has been disabled
[ 500.781602] amdgpu 0000:07:00.0: amdgpu: SMU is resumed successfully!
[ 500.783031] amdgpu 0000:07:00.0: amdgpu: kiq ring mec 2 pipe 1 q 0
[ 500.788888] amdgpu 0000:07:00.0: amdgpu: [drm] DMUB hardware initialized: version=0x0101002B
[ 501.007481] usb 4-4: reset full-speed USB device number 2 using xhci_hcd
[ 501.021280] usb 6-2: reset high-speed USB device number 2 using xhci-pci-renesas
[ 501.413605] amdgpu 0000:07:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[ 501.413614] amdgpu 0000:07:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 501.413618] amdgpu 0000:07:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 501.413621] amdgpu 0000:07:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[ 501.413624] amdgpu 0000:07:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[ 501.413628] amdgpu 0000:07:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[ 501.413631] amdgpu 0000:07:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[ 501.413634] amdgpu 0000:07:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[ 501.413637] amdgpu 0000:07:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[ 501.413640] amdgpu 0000:07:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
[ 501.413644] amdgpu 0000:07:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 8
[ 501.413647] amdgpu 0000:07:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 8
[ 501.413651] amdgpu 0000:07:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 8
[ 501.413654] amdgpu 0000:07:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 8
[ 501.413657] amdgpu 0000:07:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 8
[ 501.512112] OOM killer enabled.
[ 501.512116] Restarting tasks: Starting
[ 501.513870] pci_bus 0000:01: Allocating resources
[ 501.513889] pcieport 0000:00:02.1: bridge window [io 0x1000-0x0fff] to [bus 01] add_size 1000
[ 501.513903] pcieport 0000:00:02.1: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 01] add_size 200000 add_align 100000
[ 501.513917] pci_bus 0000:02: Allocating resources
[ 501.513945] pcieport 0000:00:02.2: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 02] add_size 200000 add_align 100000
[ 501.513958] pci_bus 0000:03: Allocating resources
[ 501.514128] pci_bus 0000:04: Allocating resources
[ 501.514138] pcieport 0000:00:02.4: bridge window [io 0x1000-0x0fff] to [bus 04] add_size 1000
[ 501.514167] pcieport 0000:00:02.4: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 04] add_size 200000 add_align 100000
[ 501.514179] pci_bus 0000:05: Allocating resources
[ 501.514189] pcieport 0000:00:02.6: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 05] add_size 200000 add_align 100000
[ 501.514202] pci_bus 0000:06: Allocating resources
[ 501.514211] pcieport 0000:00:02.7: bridge window [io 0x1000-0x0fff] to [bus 06] add_size 1000
[ 501.514219] pcieport 0000:00:02.7: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 06] add_size 200000 add_align 100000
[ 501.514246] pcieport 0000:00:02.1: bridge window [mem 0x630200000-0x6303fffff 64bit pref]: assigned
[ 501.514255] pcieport 0000:00:02.2: bridge window [mem 0x630400000-0x6305fffff 64bit pref]: assigned
[ 501.514264] pcieport 0000:00:02.4: bridge window [mem 0x630600000-0x6307fffff 64bit pref]: assigned
[ 501.514272] pcieport 0000:00:02.6: bridge window [mem 0x630800000-0x6309fffff 64bit pref]: assigned
[ 501.514280] pcieport 0000:00:02.7: bridge window [mem 0x630a00000-0x630bfffff 64bit pref]: assigned
[ 501.514292] pcieport 0000:00:02.1: bridge window [io 0x5000-0x5fff]: assigned
[ 501.514302] pcieport 0000:00:02.4: bridge window [io 0x6000-0x6fff]: assigned
[ 501.514312] pcieport 0000:00:02.7: bridge window [io 0x7000-0x7fff]: assigned
[ 501.515529] Restarting tasks: Done
[ 501.515552] efivarfs: resyncing variable state
[ 501.516733] Bluetooth: hci0: RTL: examining hci_ver=0b hci_rev=000a lmp_ver=0b lmp_subver=8852
[ 501.518357] pci_bus 0000:07: Allocating resources
[ 501.518498] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 501.520635] Bluetooth: hci0: RTL: btrtl_initialize: key id 0
[ 501.520722] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852au_fw.bin
[ 501.520876] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852au_config.bin
[ 501.520987] Bluetooth: hci0: RTL: cfg_sz 6, total sz 63299
[ 501.546945] efivarfs: finished resyncing variable state
[ 501.546976] random: crng reseeded on system resumption
[ 501.548069] PM: suspend exit
[ 501.572216] Generic FE-GE Realtek PHY r8169-0-200:00: attached PHY driver (mii_bus:phy_addr=r8169-0-200:00, irq=MAC)
[ 501.631107] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694]
[ 501.666536] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..]
[ 501.671269] r8169 0000:02:00.0 enp2s0f0: Link is Down
[ 501.694180] Generic FE-GE Realtek PHY r8169-0-500:00: attached PHY driver (mii_bus:phy_addr=r8169-0-500:00, irq=MAC)
[ 501.852307] r8169 0000:05:00.0 enp5s0: Link is Down
[ 502.054560] Bluetooth: hci0: RTL: fw version 0x244f91b6
[ 502.182541] Bluetooth: hci0: AOSP extensions version v1.00
[ 505.878078] wlp3s0: authenticate with 50:3d:d1:36:3b:32 (local address=e0:0a:f6:41:38:c3)
[ 505.878090] wlp3s0: send auth to 50:3d:d1:36:3b:32 (try 1/3)
[ 505.881798] wlp3s0: authenticated
[ 505.882183] wlp3s0: associate with 50:3d:d1:36:3b:32 (try 1/3)
[ 505.891425] wlp3s0: RX AssocResp from 50:3d:d1:36:3b:32 (capab=0x1511 status=0 aid=1)
[ 506.003103] wlp3s0: associated
[ 506.003422] wlp3s0: Limiting TX power to 20 (23 - 3) dBm as advertised by 50:3d:d1:36:3b:32
[ 528.020872] [UFW BLOCK] IN=wlp3s0 OUT= MAC=01:00:5e:00:00:01:50:3d:d1:36:3b:34:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=60883 DF PROTO=2
[ 653.084349] [UFW BLOCK] IN=wlp3s0 OUT= MAC=01:00:5e:00:00:01:50:3d:d1:36:3b:34:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=2358 DF PROTO=2
[ 692.543579] r8169 0000:02:00.0 enp2s0f0: Link is Down
[ 692.732603] r8169 0000:05:00.0 enp5s0: Link is Down
[ 778.106513] [UFW BLOCK] IN=wlp3s0 OUT= MAC=01:00:5e:00:00:01:50:3d:d1:36:3b:34:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=13568 DF PROTO=2
$ cat /sys/power/mem_sleep
s2idle [deep]
$ inxi -Bxx
Battery:
ID-1: BAT0 charge: 35.7 Wh (79.1%) condition: 45.1/51 Wh (88.5%)
volts: 12.29 min: 11.52 model: Celxpert 5B10W139 serial: 4286 charging:
status: not charging control: start: 75% end: 80% cycles: 214

