Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

4 votes
2 answers
2603 views
How to activate battery conservation mode, Linux Mint 20.1, Lenovo Legion7i
I've found a number of posts across forums and on archwiki that reference the following solution for this laptop model echo 1 > /sys/bus/platform/drivers/ideapad_acpi/VPC2004\:00/conservation_mode This should essentially activate conservation mode for the machine (note: From what I can find the Legi...
I've found a number of posts across forums and on archwiki that reference the following solution for this laptop model echo 1 > /sys/bus/platform/drivers/ideapad_acpi/VPC2004\:00/conservation_mode This should essentially activate conservation mode for the machine (note: From what I can find the Legion7i classes itself as an ideapad, rather than a thinkpad) **My issue:** I can not get the file to shift from 0 to 1. **Tried:** The above command as su in terminal AND changing permissions to ensure rw access, and editing via text editor. In every instance when I check the output from the file, its 0. **Note:** I dual boot win10. For a time, when setting battery conservation mode on in win10, it would hold for when I booted in to linux. Now, regardless of what OS I boot into, the system seems to revert back to conservation mode off every time. Ive found no relevant settings to battery power/management in the BIOS (ver 4.05). Im no advanced user, so any info would be great. even if the answer is "cant be done, your machine wont allow it", thanks!
Paul N (41 rep)
Jan 16, 2021, 10:17 AM • Last activity: Jul 23, 2025, 02:01 PM
0 votes
0 answers
40 views
Thinkpad T14 AMD battery drain issue
I have a battery drain in a Thinkpad T14 Gen1 AMD Ryzen 7 that's been happening since YEARS, and I cannot solve. Just look at these two lines, ``` Jun 24 20:17:59 t14 kernel: PM: suspend entry (deep) [...] Jun 25 20:08:47 t14 systemd-sleep[7518]: Battery energy change of -35.5 % (-18310 mWh) at an a...
I have a battery drain in a Thinkpad T14 Gen1 AMD Ryzen 7 that's been happening since YEARS, and I cannot solve. Just look at these two lines,
Jun 24 20:17:59 t14 kernel: PM: suspend entry (deep)
[...]
Jun 25 20:08:47 t14 systemd-sleep: Battery energy change of -35.5 % (-18310 mWh) at an average rate of -1.48 %/h (-767 mW).
-35% in a day suspended! something's really wrong. I don't know what to do to debug or improve these numbers. This has been happening since I've bought it, and I've tried different kernels. S3 is setup in BIOS. Pop! _OS 22.04. Linux version is Linux t14 6.9.3-76060903-generic #202405300957~1738770968~22.04~d5f7c84 SMP PREEMPT_DYNAMIC Wed F x86_64 x86_64 x86_64 GNU/Linux If you're 100% sure this is firmware issue, you can close this post and vote negative, I won't blame you. I just need help to debug, and maybe some of you happen Full log if it helps to find you some clue,
Jun 24 20:17:58 t14 systemd: Reached target Sleep.
Jun 24 20:17:58 t14 systemd: Condition check resulted in Record successful boot for GRUB being skipped.
Jun 24 20:17:58 t14 systemd: Condition check resulted in GRUB failed boot detection being skipped.
Jun 24 20:17:58 t14 systemd: Starting NVIDIA system suspend actions...
Jun 24 20:17:58 t14 suspend: nvidia-suspend.service
Jun 24 20:17:58 t14 logger: Jun 24 20:17:58 suspend: nvidia-suspend.service
Jun 24 20:17:58 t14 systemd: nvidia-suspend.service: Deactivated successfully.
Jun 24 20:17:58 t14 systemd: Finished NVIDIA system suspend actions.
Jun 24 20:17:58 t14 systemd: Starting System Suspend...
Jun 24 20:17:58 t14 systemd-sleep: Currently on battery.
Jun 24 20:17:58 t14 systemd-sleep: Saving time and battery energy before sleeping (suspend).
Jun 24 20:17:59 t14 rfkill: block set for type bluetooth
Jun 24 20:17:59 t14 systemd-sleep: Entering sleep state 'suspend'...
Jun 24 20:17:59 t14 kernel: PM: suspend entry (deep)
Jun 24 20:17:59 t14 kernel: Filesystems sync: 0.026 seconds
Jun 25 20:08:47 t14 kernel: Freezing user space processes
Jun 25 20:08:47 t14 kernel: Freezing user space processes completed (elapsed 0.002 seconds)
Jun 25 20:08:47 t14 kernel: OOM killer disabled.
Jun 25 20:08:47 t14 kernel: Freezing remaining freezable tasks
Jun 25 20:08:47 t14 kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
Jun 25 20:08:47 t14 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: psp gfx command UNLOAD_TA(0x2) failed and response status is (0x117)
Jun 25 20:08:47 t14 kernel: ACPI: EC: interrupt blocked
Jun 25 20:08:47 t14 kernel: ACPI: PM: Preparing to enter system sleep state S3
Jun 25 20:08:47 t14 kernel: ACPI: EC: event blocked
Jun 25 20:08:47 t14 kernel: ACPI: EC: EC stopped
Jun 25 20:08:47 t14 kernel: ACPI: PM: Saving platform NVS memory
Jun 25 20:08:47 t14 kernel: Disabling non-boot CPUs ...
Jun 25 20:08:47 t14 kernel: smpboot: CPU 1 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 2 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 3 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 4 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 5 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 6 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 7 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 8 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 9 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 10 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 11 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 12 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 13 is now offline
Jun 25 20:08:47 t14 kernel: smpboot: CPU 14 is now offline
Jun 25 20:08:47 t14 kernel: Spectre V2 : Update user space SMT mitigation: STIBP off
Jun 25 20:08:47 t14 kernel: smpboot: CPU 15 is now offline
Jun 25 20:08:47 t14 kernel: ACPI: PM: Low-level resume complete
Jun 25 20:08:47 t14 kernel: ACPI: EC: EC started
Jun 25 20:08:47 t14 kernel: ACPI: PM: Restoring platform NVS memory
Jun 25 20:08:47 t14 kernel: AMD-Vi: Virtual APIC enabled
Jun 25 20:08:47 t14 kernel: AMD-Vi: Virtual APIC enabled
Jun 25 20:08:47 t14 kernel: LVT offset 0 assigned for vector 0x400
Jun 25 20:08:47 t14 kernel: Enabling non-boot CPUs ...
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 1 APIC 0x1
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C001: Found 3 idle states
Jun 25 20:08:47 t14 kernel: Spectre V2 : Update user space SMT mitigation: STIBP always-on
Jun 25 20:08:47 t14 kernel: CPU1 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 2 APIC 0x2
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C002: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU2 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 3 APIC 0x3
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C003: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU3 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 4 APIC 0x4
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C004: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU4 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 5 APIC 0x5
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C005: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU5 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 6 APIC 0x6
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C006: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU6 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 7 APIC 0x7
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C007: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU7 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 8 APIC 0x8
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C008: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU8 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 9 APIC 0x9
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C009: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU9 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 10 APIC 0xa
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C00A: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU10 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 11 APIC 0xb
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C00B: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU11 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 12 APIC 0xc
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C00C: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU12 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 13 APIC 0xd
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C00D: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU13 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 14 APIC 0xe
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C00E: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU14 is up
Jun 25 20:08:47 t14 kernel: smpboot: Booting Node 0 Processor 15 APIC 0xf
Jun 25 20:08:47 t14 kernel: ACPI: \_SB_.PLTF.C00F: Found 3 idle states
Jun 25 20:08:47 t14 kernel: CPU15 is up
Jun 25 20:08:47 t14 kernel: ACPI: PM: Waking up from system sleep state S3
Jun 25 20:08:47 t14 kernel: ACPI: EC: interrupt unblocked
Jun 25 20:08:47 t14 kernel: ACPI: EC: event unblocked
Jun 25 20:08:47 t14 kernel: usb usb1: root hub lost power or was reset
Jun 25 20:08:47 t14 kernel: usb usb2: root hub lost power or was reset
Jun 25 20:08:47 t14 kernel: usb usb3: root hub lost power or was reset
Jun 25 20:08:47 t14 kernel: xhci_hcd 0000:06:00.0: Zeroing 64bit base registers, expecting fault
Jun 25 20:08:47 t14 kernel: [drm] PCIE GART of 1024M enabled.
Jun 25 20:08:47 t14 kernel: [drm] PTB located at 0x000000F41FC00000
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: PSP is resuming...
Jun 25 20:08:47 t14 kernel: usb 6-4: reset full-speed USB device number 3 using xhci_hcd
Jun 25 20:08:47 t14 kernel: usb 2-2: reset high-speed USB device number 2 using xhci_hcd
Jun 25 20:08:47 t14 kernel: nvme nvme0: 16/0/0 default/read/poll queues
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: reserve 0x400000 from 0xf41f800000 for PSP TMR
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: RAS: optional ras ta ucode is not available
Jun 25 20:08:47 t14 kernel: psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694]
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: RAP: optional rap ta ucode is not available
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: SMU is resuming...
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: dpm has been disabled
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: SMU is resumed successfully!
Jun 25 20:08:47 t14 kernel: [drm] DMUB hardware initialized: version=0x0101002B
Jun 25 20:08:47 t14 kernel: [drm] kiq ring mec 2 pipe 1 q 0
Jun 25 20:08:47 t14 kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
Jun 25 20:08:47 t14 kernel: [drm] JPEG decode initialized successfully.
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 8
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 8
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 8
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 8
Jun 25 20:08:47 t14 kernel: amdgpu 0000:07:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 8
Jun 25 20:08:47 t14 kernel: psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..]
Jun 25 20:08:47 t14 kernel: OOM killer enabled.
Jun 25 20:08:47 t14 kernel: Restarting tasks ... 
Jun 25 20:08:47 t14 kernel: Bluetooth: hci0: Bootloader revision 0.3 build 0 week 24 2017
Jun 25 20:08:47 t14 kernel: pci_bus 0000:01: Allocating resources
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.1: bridge window [io  0x1000-0x0fff] to [bus 01] add_size 1000
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.1: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 01] add_size 200000 add_align 100000
Jun 25 20:08:47 t14 kernel: pci_bus 0000:02: Allocating resources
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.2: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 02] add_size 200000 add_align 100000
Jun 25 20:08:47 t14 kernel: pci_bus 0000:03: Allocating resources
Jun 25 20:08:47 t14 kernel: pci_bus 0000:04: Allocating resources
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.4: bridge window [io  0x1000-0x0fff] to [bus 04] add_size 1000
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.4: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 04] add_size 200000 add_align 100000
Jun 25 20:08:47 t14 kernel: pci_bus 0000:05: Allocating resources
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.6: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 05] add_size 200000 add_align 100000
Jun 25 20:08:47 t14 kernel: pci_bus 0000:06: Allocating resources
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.7: bridge window [io  0x1000-0x0fff] to [bus 06] add_size 1000
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.7: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 06] add_size 200000 add_align 100000
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.1: bridge window [mem 0x430200000-0x4303fffff 64bit pref]: assigned
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.2: bridge window [mem 0x430400000-0x4305fffff 64bit pref]: assigned
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.4: bridge window [mem 0x430600000-0x4307fffff 64bit pref]: assigned
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.6: bridge window [mem 0x430800000-0x4309fffff 64bit pref]: assigned
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.7: bridge window [mem 0x430a00000-0x430bfffff 64bit pref]: assigned
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.1: bridge window [io  0x5000-0x5fff]: assigned
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.4: bridge window [io  0x6000-0x6fff]: assigned
Jun 25 20:08:47 t14 kernel: pcieport 0000:00:02.7: bridge window [io  0x7000-0x7fff]: assigned
Jun 25 20:08:47 t14 kernel: done.
Jun 25 20:08:47 t14 kernel: random: crng reseeded on system resumption
Jun 25 20:08:47 t14 kernel: Bluetooth: hci0: Device revision is 1
Jun 25 20:08:47 t14 kernel: Bluetooth: hci0: Secure boot is enabled
Jun 25 20:08:47 t14 kernel: Bluetooth: hci0: OTP lock is enabled
Jun 25 20:08:47 t14 kernel: Bluetooth: hci0: API lock is enabled
Jun 25 20:08:47 t14 kernel: Bluetooth: hci0: Debug lock is disabled
Jun 25 20:08:47 t14 kernel: Bluetooth: hci0: Minimum firmware build 1 week 10 2014
Jun 25 20:08:47 t14 kernel: Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
Jun 25 20:08:47 t14 kernel: Bluetooth: hci0: Boot Address: 0x24800
Jun 25 20:08:47 t14 kernel: Bluetooth: hci0: Firmware Version: 132-3.24
Jun 25 20:08:47 t14 kernel: thermal thermal_zone1: failed to read out thermal zone (-61)
Jun 25 20:08:47 t14 kernel: PM: suspend exit
Jun 25 20:08:47 t14 kernel: pci_bus 0000:07: Allocating resources
Jun 25 20:08:47 t14 systemd-resolved: Clock change detected. Flushing caches.
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/ldac
Jun 25 20:08:47 t14 tailscaled: control: controlhttp: failed dialing using DialPlan, falling back to DNS; errs=multiple errors:
Jun 25 20:08:47 t14 tailscaled:         all connection attempts failed (HTTP: dial tcp [2a05:d014:386:202:1e36:2966:5bec:a911]:80: connect: network is unreachable, HTTPS: dial tcp [2a05:d014:386:202:1e36:2966:5bec:a911]:443: connect: network is unreachable)
Jun 25 20:08:47 t14 tailscaled:         connection attempts aborted by context: context deadline exceeded
Jun 25 20:08:47 t14 tailscaled:         connection attempts aborted by context: context deadline exceeded
Jun 25 20:08:47 t14 tailscaled:         connection attempts aborted by context: context deadline exceeded
Jun 25 20:08:47 t14 tailscaled:         connection attempts aborted by context: context deadline exceeded
Jun 25 20:08:47 t14 tailscaled:         connection attempts aborted by context: context deadline exceeded
Jun 25 20:08:47 t14 tailscaled:         connection attempts aborted by context: context deadline exceeded
Jun 25 20:08:47 t14 tailscaled:         connection attempts aborted by context: context deadline exceeded
Jun 25 20:08:47 t14 systemd-logind: Lid opened.
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSink/aptx_hd
Jun 25 20:08:47 t14 systemd-sleep: System returned from sleep state.
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/aptx_hd
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSink/aptx
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/aptx
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSink/aac
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/aac
Jun 25 20:08:47 t14 systemd: Starting Daily dpkg database backup service...
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSink/sbc
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/sbc
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSink/sbc_xq
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/sbc_xq
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/faststream
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/faststream_duplex
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSink/opus_05
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/opus_05
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Jun 25 20:08:47 t14 bluetoothd: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Jun 25 20:08:47 t14 systemd-sleep: Currently on battery.
Jun 25 20:08:47 t14 systemd-sleep: Duration of 0 days 23 hours 50 minutes sleeping (suspend).
Jun 25 20:08:47 t14 systemd: Condition check resulted in Rotate log files being skipped.
Jun 25 20:08:47 t14 systemd-sleep: Battery energy change of -35.5 % (-18310 mWh) at an average rate of -1.48 %/h (-767 mW).
Jun 25 20:08:47 t14 systemd: Stopped target Bluetooth.
Jun 25 20:08:47 t14 systemd: Stopped target Bluetooth Support.
Jun 25 20:08:47 t14 systemd: Reached target Bluetooth.
Jun 25 20:08:47 t14 systemd: Reached target Bluetooth Support.
Jun 25 20:08:47 t14 systemd: dpkg-db-backup.service: Deactivated successfully.
Jun 25 20:08:47 t14 systemd: Finished Daily dpkg database backup service.
Jun 25 20:08:48 t14 /usr/libexec/gdm-x-session: (II) AMDGPU(0): EDID vendor "LGD", prod id 1530
Jun 25 20:08:48 t14 /usr/libexec/gdm-x-session: (II) AMDGPU(0): Printing DDC gathered Modelines:
Jun 25 20:08:48 t14 /usr/libexec/gdm-x-session: (II) AMDGPU(0): Modeline "1920x1080"x0.0  138.70  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.7 kHz eP)
Jun 25 20:08:48 t14 /usr/libexec/gdm-x-session: (II) AMDGPU(0): Modeline "1920x1080"x0.0  114.46  1920 1968 2000 2164  1080 1083 1088 1102 +hsync -vsync (52.9 kHz e)
Jun 25 20:08:48 t14 gnome-shell: Window manager warning: Overwriting existing binding of keysym ff61 with keysym ff61 (keycode 6b).
Jun 25 20:08:48 t14 /usr/libexec/gdm-x-session: (II) AMDGPU(0): EDID vendor "LGD", prod id 1530
Jun 25 20:08:48 t14 /usr/libexec/gdm-x-session: (II) AMDGPU(0): Printing DDC gathered Modelines:
Jun 25 20:08:48 t14 /usr/libexec/gdm-x-session: (II) AMDGPU(0): Modeline "1920x1080"x0.0  138.70  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.7 kHz eP)
Jun 25 20:08:48 t14 /usr/libexec/gdm-x-session: (II) AMDGPU(0): Modeline "1920x1080"x0.0  114.46  1920 1968 2000 2164  1080 1083 1088 1102 +hsync -vsync (52.9 kHz e)
Jun 25 20:08:48 t14 /usr/libexec/gdm-x-session: (II) AMDGPU(0): EDID vendor "LGD", prod id 1530
Jun 25 20:08:48 t14 /usr/libexec/gdm-x-session: (II) AMDGPU(0): Printing DDC gathered Modelines:
Jun 25 20:08:48 t14 /usr/libexec/gdm-x-session: (II) AMDGPU(0): Modeline "1920x1080"x0.0  138.70  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.7 kHz eP)
Jun 25 20:08:48 t14 /usr/libexec/gdm-x-session: (II) AMDGPU(0): Modeline "1920x1080"x0.0  114.46  1920 1968 2000 2164  1080 1083 1088 1102 +hsync -vsync (52.9 kHz e)
Jun 25 20:08:48 t14 systemd: Starting Fingerprint Authentication Daemon...
Jun 25 20:08:48 t14 gnome-shell: Window manager warning: Overwriting existing binding of keysym ff61 with keysym ff61 (keycode 6b).
Jun 25 20:08:48 t14 rfkill: unblock set for type bluetooth
Jun 25 20:08:48 t14 systemd: systemd-suspend.service: Deactivated successfully.
Jun 25 20:08:48 t14 systemd: Finished System Suspend.
Jun 25 20:08:48 t14 systemd: Stopped target Sleep.
Jun 25 20:08:48 t14 systemd: Reached target Suspend.
Jun 25 20:08:48 t14 systemd-logind: Operation 'sleep' finished.
whitenoisedb (183 rep)
Jun 25, 2025, 11:47 PM
0 votes
1 answers
128 views
Dell Latitude 5420 S0iX Sleep
I just purchased this laptop used and installed Fedora 42 on it. It’s a Dell Latitude 5420 with an i5-1145G7 processor. The laptop does not support S3 sleep, only s2idle. It successfully enters and resumes sleep when the lid is closed, but the battery drains rapidly. I have not done any proper bench...
I just purchased this laptop used and installed Fedora 42 on it. It’s a Dell Latitude 5420 with an i5-1145G7 processor. The laptop does not support S3 sleep, only s2idle. It successfully enters and resumes sleep when the lid is closed, but the battery drains rapidly. I have not done any proper benchmarks but I was at around ~60% battery life last night, and when I opened it this afternoon it was completely dead. After running the S0ix self test tool , I got the following output:
...
Your system supports S0ix substates, but did not achieve the shallowest s0i2.0
    
Here is the S0ix substates status: 
Substate   Residency      
S0i2.0     0              
S0i3.0     0     
...
Below are the deeper S0ix substate required IPs did not show YES:
    pmc0:            USB2PLL_OFF_STS    Required               
    pmc0:            OPIOPLL_OFF_STS    Required               
    pmc0:                CSME_PG_STS    Required               
    pmc0:                xHCI_PG_STS    Required               
    pmc0:                 GBE_PG_STS    Required               
    pmc0:               xHCI0_D3_STS    Required               
    pmc0:          CPU_C10_REQ_STS_0    Required               
    pmc0:    MPHY_Core_DL_REQ_STS_16    Required
Full output here . Unfortunately I have no idea what this means.
Bryce Hoehn (1 rep)
Jun 10, 2025, 03:48 AM • Last activity: Jun 10, 2025, 10:39 AM
3 votes
2 answers
3121 views
Laptop slow and unresponsive when running on battery
My laptop is slow and unresponsive when running in battery; it works fawless when connected to ac power. In the past I used to have tlp/laptopmode-tools but since Linux 3.x I have uninstalled both. Battery last long but usability is poor. This is happening on a dell xps 13 with ivybridge CPU and Arc...
My laptop is slow and unresponsive when running in battery; it works fawless when connected to ac power. In the past I used to have tlp/laptopmode-tools but since Linux 3.x I have uninstalled both. Battery last long but usability is poor. This is happening on a dell xps 13 with ivybridge CPU and Archlinux x64 with either stock kernel or ck kernel, gnome shell. Is there anything I can tweak in order to get better performance/responsiveness on battery (I'm willing to loose some battery life).
lviggiani (3619 rep)
Feb 6, 2016, 08:25 PM • Last activity: Apr 24, 2025, 07:03 PM
1 votes
1 answers
352 views
How to extend laptop battery life? TLP and auto-cpufreq didn’t work
I’m having an issue with my laptop battery draining too quickly. I tried optimizing power consumption by installing **auto-cpufreq** using the `--install` command as per a guide I found. However, I haven’t noticed any difference in battery life—it still drains just as fast, even when I’m just coding...
I’m having an issue with my laptop battery draining too quickly. I tried optimizing power consumption by installing **auto-cpufreq** using the --install command as per a guide I found. However, I haven’t noticed any difference in battery life—it still drains just as fast, even when I’m just coding in an IDE or browsing in Firefox. First of all, I also tried tlp, but it doesn't help either. - Could the issue be with the battery itself (e.g., wear and tear)? How can I check - What other power optimization methods can I - Could Firefox or my IDE (e.g., VS Code) be causing the rapid drain? How can I check this? - Are there any alternatives to auto-cpufreq that might help? **My Setup:** **OS**: - Debian GNU/Linux 12 bookworm (x86-64) **Inteface**: - Cinnamon Version 5.6.8 **Processor**: - 11th Gen Intel© Core™ i5-1135G7 @ 2.40GHz × 4 I bought my laptop 2 years ago. Results of command: upower -i $(upower -e | grep BAT) | grep -E 'energy-full|capacity'
energy-full:         28.8827 Wh
    energy-full-design:  37.037 Wh
    capacity:            77.9834%
AslanPAPA (109 rep)
Mar 9, 2025, 03:00 PM • Last activity: Mar 9, 2025, 07:58 PM
0 votes
0 answers
53 views
Battery problem - hardware or software
My laptop's battery gave up on me, and it is running on direct AC power right now. I had knocked my bag with my laptop in it recently, and the problem started since then. the issue now is that my laptop seems to detect the battery, but it is not charging it. What may be the reason? Is it caused by p...
My laptop's battery gave up on me, and it is running on direct AC power right now. I had knocked my bag with my laptop in it recently, and the problem started since then. the issue now is that my laptop seems to detect the battery, but it is not charging it. What may be the reason? Is it caused by physical damage, or software (unlikely but can it be solved through software, since it is detected by the OS). some info of the system: > acpi -i
Battery 0: Charging, 0%, charging at zero rate - will never fully charge.
Battery 0: design capacity 6511 mAh, last full capacity 5572 mAh = 85%
> cat /sys/class/power_supply/BAT1/uevent
DEVTYPE=power_supply
POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Charging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=75
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=15360000
POWER_SUPPLY_VOLTAGE_NOW=11670000
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=76000000
POWER_SUPPLY_ENERGY_FULL=65040000
POWER_SUPPLY_ENERGY_NOW=0
POWER_SUPPLY_CAPACITY=0
POWER_SUPPLY_CAPACITY_LEVEL=Low
POWER_SUPPLY_MODEL_NAME=L17M4PG2
POWER_SUPPLY_MANUFACTURER=SMD
POWER_SUPPLY_SERIAL_NUMBER=1
> neofetch
..---+/---..                hexy@Zaunite 
         ---.      .---.`            ------------ 
      .--.                -:-.         OS: KDE neon Unstable Edition x86_64 
    :/:     .----//----.`     :/-        Host: 81UG Lenovo Legion Y740-17IRH 
   .:.    ---          --.    .:`      Kernel: 6.11.0-17-generic 
  .:   --                .:-    :.     Uptime: 1 hour, 10 mins 
 /    :.      .-::-.      -:   /`    Packages: 2791 (dpkg) 
 /.    /.     :++++++++:     .:    .:    Shell: zsh 5.9 
/    .:     +++++++++++/      /   +`   Resolution: 1920x1080 
/+   --     .++++++++++++     :.   .+:   DE: Plasma 6.3.80 
/    .:     +++++++++++/      /   +`   WM: kwin 
 /    /.     :++++++++:`     .:    .:    Theme: Skeuos-Black-Light [GTK2/3] 
 ./    :.      .:::-.      -:   /    Icons: kora [GTK2/3] 
  .:   --                .:-    :.     Terminal: konsole 
   .:.    ---          --.    .:`      CPU: Intel i7-9750H (12) @ 4.500GHz 
    :/:     .----//----.`     :/-        GPU: NVIDIA GeForce GTX 1660 Ti Mobile 
      .-:.                -:-.         Memory: 5285MiB / 15778MiB 
         ---.      .---.`
             ..---+/---..
UnfreeHeX (1 rep)
Feb 26, 2025, 10:42 AM
4 votes
0 answers
268 views
battery recalibration needed: energy-full is twice energy-full-design
I got a new battery from an online provider, unfortunately in retrospect I am doubtful that they ship quality material. However the battery appears to give a decent autonomy to the laptop (Asus X550 running Debian), but it needs recalibration, as showned by `upower --monitor-detail` (selected lines)...
I got a new battery from an online provider, unfortunately in retrospect I am doubtful that they ship quality material. However the battery appears to give a decent autonomy to the laptop (Asus X550 running Debian), but it needs recalibration, as showned by upower --monitor-detail (selected lines):
energy:              76.455 wh
energy-empty:        0 Wh
energy-full:         91.995 Wh
energy-full-design:  44.25 Wh
percentage:          83%
capacity:            100%
energy-full is twice as much as energy-full-design, as if it could be charged at 200% ... Also when unplugged and going down to ~50%, the laptop actually runs out of power. So it seems like I should just decrease the values of energy-full and energy by about 45 or 50 Wh. How to do that? There are corresponding files in /sys/class/power_supply/BAT0/{energy_full,energy_full_design,energy_now}, are they read-only? I saw mentions of tlp recalibrate, but this seems geared towards ThinkPads, is it worth trying? ----- Other lines of output from upower:
rechargeable:   yes
energy-rate:    22.185 W
voltage:        15 V
charge-cycles:  435
time to full:   42.0 minutes
technology:     lithium-ion
[EDIT (2025/02/04)] Similar questions: - https://askubuntu.com/q/1256993/382931 (solved by changing the battery) - https://superuser.com/q/1580049/524058
PlasmaBinturong (751 rep)
Oct 10, 2024, 09:48 PM • Last activity: Feb 4, 2025, 08:14 PM
0 votes
0 answers
146 views
Battery problems on Lenovo Yoga X1 Gen 4 and Hyprland
I am encountering strange behavior on my laptop since two weeks or so. When disconnected from the charging cable the machine will not wake up after closing and reopening the lid (most of the time). If that happens, not even pressing and holding the power button does anything until the power cable is...
I am encountering strange behavior on my laptop since two weeks or so. When disconnected from the charging cable the machine will not wake up after closing and reopening the lid (most of the time). If that happens, not even pressing and holding the power button does anything until the power cable is plugged back in. It will also spontaneously shut down (the battery still shows plenty of charge) and cannot be powered back up until plugged in, exactly as stated above. Lastly when plugged in the battery will not be charged but rather be "stuck" at its reported charge level. Note that this issue is relatively recent. A couple of weeks ago all functions worked as to be expected. Here's my system information:
System:
  Host: archyoga Kernel: 6.12.8-arch1-1 arch: x86_64 bits: 64
  Desktop: Hyprland v: 0.46.2 Distro: Arch Linux
Machine:
  Type: Convertible System: LENOVO product: 20QGS6GG00 v: ThinkPad X1 Yoga 4th
    serial: 
  Mobo: LENOVO model: 20QGS6GG00 v: SDK0J40697 WIN
    serial:  UEFI: LENOVO v: N2HET77W (1.60 )
    date: 02/06/2024
Edit: I managed to take a couple of photos with error codes that occur, when the system shuts down: Image Image Edit: Here is the output of the upower command:
upower -i $(upower --enumerate | grep battery)
  native-path:          BAT0
  vendor:               SMP
  model:                5B10W13931
  serial:               4214
  power supply:         yes
  updated:              Mon 13 Jan 2025 01:12:49 AM CET (16 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               pending-charge
    warning-level:       none
    energy:              0 Wh
    energy-empty:        0 Wh
    energy-full:         0 Wh
    energy-full-design:  0 Wh
    energy-rate:         0 W
    charge-cycles:       154
    percentage:          91%
    capacity:            100%
    technology:          lithium-polymer
    charge-start-threshold:        75%
    charge-end-threshold:          80%
    charge-threshold-supported:    yes
    icon-name:          'battery-full-charging-symbolic'
TheBeautifulOrc (63 rep)
Jan 10, 2025, 01:21 PM • Last activity: Jan 13, 2025, 12:14 AM
0 votes
0 answers
74 views
XPS 15 does not charge, unless battery below 10%
My laptop (a Dell XPS 15 9500) doesn’t charge the battery unless the charge drops below a certain threshold (I think around 10%). How can I fix this? The issue occurs when, for example, the laptop battery is 100% charged. I’ll unplug it to go somewhere, and then when I plug it back in, it doesn’t ch...
My laptop (a Dell XPS 15 9500) doesn’t charge the battery unless the charge drops below a certain threshold (I think around 10%). How can I fix this? The issue occurs when, for example, the laptop battery is 100% charged. I’ll unplug it to go somewhere, and then when I plug it back in, it doesn’t charge anymore. The battery continues to drain until the laptop shuts off, or I reboot it when the battery drops below 10%. This seems to be a recent issue, possibly due to the upgrade to Linux Mint 22 or maybe the BIOS update, but I’m not sure. Any help would be appreciated. Some details of my system
dodohjk@dodohjk-XPS-15-9500:~$ inxi -Fxxrzc0
System:
  Kernel: 6.8.0-47-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0
  Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin dm: LightDM
    Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble
Machine:
  Type: Laptop System: Dell product: XPS 15 9500 v: N/A
    serial:  Chassis: type: 10 serial: 
  Mobo: Dell model: 0RHXRG v: A03 serial:  part-nu: 097D
    UEFI: Dell v: 1.31.0 date: 07/08/2024
Battery:
  ID-1: BAT0 charge: 19.5 Wh (49.9%) condition: 39.1/84.3 Wh (46.3%)
    volts: 11.8 min: 11.4 model: BYD DELL M59JH07 serial: 
    status: charging
CPU:
  Info: 6-core model: Intel Core i7-10750H bits: 64 type: MT MCP
    arch: Comet Lake rev: 2 cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 914 high: 2174 min/max: 800/5000 cores: 1: 800 2: 800
    3: 800 4: 800 5: 800 6: 2174 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800
    bogomips: 62399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Dell driver: i915
    v: kernel arch: Gen-9.5 ports: active: eDP-1 empty: DP-1,DP-2,DP-3
    bus-ID: 00:02.0 chip-ID: 8086:9bc4
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Dell
    driver: N/A arch: Turing pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.0
    chip-ID: 10de:1f95
  Device-3: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-11:3 chip-ID: 0bda:5510
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3072x1920 s-dpi: 120
  Monitor-1: eDP-1 model: Sharp 0x14d1 res: 3072x1920 dpi: 232
    diag: 396mm (15.6")
  API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1 drv: swrast
    surfaceless: drv: iris x11: drv: iris inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.9-0ubuntu0.2
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics (CML GT2)
    device-ID: 8086:9bc4
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:06c8
  API: ALSA v: k6.8.0-47-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi vendor: Rivet Networks Dual Band
    Wi-Fi 6 Killer AX1650s 160MHz 2x2 driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:06f0
  IF: wlp0s20f3 state: up mac: 
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-14:4 chip-ID: 8087:0026
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address:  bt-v: 5.2
    lmp-v: 11 sub-v: 20f9
Drives:
  Local Storage: total: 953.87 GiB used: 325.52 GiB (34.1%)
  ID-1: /dev/nvme0n1 vendor: Micron model: 2300 NVMe 1024GB size: 953.87 GiB
    speed: 31.6 Gb/s lanes: 4 serial:  temp: 32.9 C
Partition:
  ID-1: / size: 85.95 GiB used: 16.98 GiB (19.8%) fs: ext4 dev: /dev/nvme0n1p7
  ID-2: /boot/efi size: 96 MiB used: 55.9 MiB (58.2%) fs: vfat
    dev: /dev/nvme0n1p2
  ID-3: /home size: 557.03 GiB used: 308.49 GiB (55.4%) fs: ext4
    dev: /dev/nvme0n1p8
Swap:
  ID-1: swap-1 type: partition size: 7.63 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p9
Sensors:
  System Temperatures: cpu: 45.0 C pch: 46.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: 2111 pm: dpkg pkgs: 2096 pm: flatpak pkgs: 15
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/  stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https://www.mirrorservice.org/sites/packages.linuxmint.com/packages  wilma main upstream import backport
    2: deb http://mirrors.coreix.net/ubuntu  noble main restricted universe multiverse
    3: deb http://mirrors.coreix.net/ubuntu  noble-updates main restricted universe multiverse
    4: deb http://mirrors.coreix.net/ubuntu  noble-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/  noble-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/official-source-repositories.list
    1: deb-src https://www.mirrorservice.org/sites/packages.linuxmint.com/packages  wilma main upstream import backport
    2: deb-src http://mirrors.coreix.net/ubuntu  noble main restricted universe multiverse
    3: deb-src http://mirrors.coreix.net/ubuntu  noble-updates main restricted universe multiverse
    4: deb-src http://mirrors.coreix.net/ubuntu  noble-backports main restricted universe multiverse
    5: deb-src http://security.ubuntu.com/ubuntu/  noble-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code  stable main
Info:
  Memory: total: 16 GiB note: est. available: 15.37 GiB used: 5.71 GiB (37.2%)
  Processes: 394 Power: uptime: 50m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Compilers: gcc: 13.2.0 Shell: Bash v: 5.2.21 running-in: gnome-terminal
    inxi: 3.3.34
my BIOS information
@dodohjk-XPS-15-9500:~$ sudo dmidecode -t bios -q
[sudo] password for dodohjk:          
BIOS Information
	Vendor: Dell Inc.
	Version: 1.31.0
	Release Date: 07/08/2024
	ROM Size: 32 MB
	Characteristics:
		PCI is supported
		PNP is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		EDD is supported
		Print screen service is supported (int 5h)
		8042 keyboard services are supported (int 9h)
		Serial services are supported (int 14h)
		Printer services are supported (int 17h)
		ACPI is supported
		USB legacy is supported
		Smart battery is supported
		BIOS boot specification is supported
		Function key-initiated network boot is supported
		Targeted content distribution is supported
		UEFI is supported
	BIOS Revision: 1.31

BIOS Language Information
	Language Description Format: Abbreviated
	Installable Languages: 1
		enUS
	Currently Installed Language: enUS
bios info from terminal Some pics from the UEFI/BIOS bios overview battery settings system logs
dodohjk (101 rep)
Nov 3, 2024, 04:57 PM • Last activity: Nov 21, 2024, 10:54 AM
0 votes
0 answers
62 views
Different thermald settings for battery and AC
I use thermald to prevent my Surface Pro 7 from overheating, using the intel powercap rapl driver (rapl_controller in thermald). I would also like to use the same rapl driver to reduce power consumption when on battery, but I can't find a way to do that aside from copying and pasting into the termin...
I use thermald to prevent my Surface Pro 7 from overheating, using the intel powercap rapl driver (rapl_controller in thermald). I would also like to use the same rapl driver to reduce power consumption when on battery, but I can't find a way to do that aside from copying and pasting into the terminal each time: sudo systemctl stop thermald && sudo powercap-set intel-rapl -z 0 -c 0 -l 5000000 -s 12000000 && sudo powercap-set intel-rapl-mmio -z 0 -c 0 -l 5000000 -s 12000000 Is there a way to get **thermald** to change the TargetState for the rapl_controller to 5000000 when on battery? Here is my current thermal-conf.xml for reference:
Surface Pro Intel Thermal Workaround
        *
        QUIET
        
                16750 
                4000
                12000 
                12000
        
        
                
                        cpu
                        
                                
                                        x86_pkg_temp
                                        67000 
                                        passive
                                        SEQUENTIAL
                                        
                                                1
                                                rapl_controller
                                                1
                                                12750000
EDIT: I ended up creating a systemd service to check the battery status every minute and run the relevant command. I'd still be interested to know if it's possible through thermald.
Roundish5797 (1 rep)
Nov 17, 2024, 07:31 AM • Last activity: Nov 17, 2024, 01:50 PM
-1 votes
1 answers
834 views
How to check NPU and if possible disable it? (battery savings purpose)
I have read that recent cpus have NPU (neural processing units) too and i would like to disable this feature if possible because i suspect it is the root cause draining my battery faster than windows... Any ideas? Thx
I have read that recent cpus have NPU (neural processing units) too and i would like to disable this feature if possible because i suspect it is the root cause draining my battery faster than windows... Any ideas? Thx
Luiz Carlos (25 rep)
Sep 19, 2024, 10:16 PM • Last activity: Sep 20, 2024, 02:48 PM
0 votes
0 answers
31 views
System unexpectedly wakes up from resume if battery reports its charge as empty
I rewired my laptop's battery with external cables, so it never physically drains out. However, as expected, the charge counter within the battery counts down. The PC continues working even if the battery reports its state as empty. However, when the battery reports an empty state, system wakes up f...
I rewired my laptop's battery with external cables, so it never physically drains out. However, as expected, the charge counter within the battery counts down. The PC continues working even if the battery reports its state as empty. However, when the battery reports an empty state, system wakes up from a suspend. If I plug the charger, it stays in suspended state. When I unplug the charger, it stays in suspended state, until battery "runs out". So, I can not **reliably** keep my laptop suspended without the AC charger. Whenever it reports it's empty, laptop wakes up. How can I fix this situation?
ceremcem (2451 rep)
Aug 19, 2024, 12:49 AM
0 votes
0 answers
112 views
Is it possible to reset charge state of my laptop's battery?
My laptop's battery has been drained (according to its counter). But it's actually impossible to drain the power at all (I made some external electrical connections). I want to reset the battery's charge counter, so that my consequent problems (immediate wake-up from suspend) will be over, I guess....
My laptop's battery has been drained (according to its counter). But it's actually impossible to drain the power at all (I made some external electrical connections). I want to reset the battery's charge counter, so that my consequent problems (immediate wake-up from suspend) will be over, I guess. How can I do that?
ceremcem (2451 rep)
Aug 17, 2024, 02:15 PM
0 votes
1 answers
365 views
Asus Laptop ACPI Errors
I'm using an Asus UX3404VA laptop. I wanted to set the `charge_control_end_threshold` as described [here](https://askubuntu.com/questions/1006778/set-battery-thresholds-on-ubuntu-asus). I can set the value but it has no effect. The kernel version I use is `6.9.3-76060903-generic` and the OS is PopOS...
I'm using an Asus UX3404VA laptop. I wanted to set the charge_control_end_threshold as described [here](https://askubuntu.com/questions/1006778/set-battery-thresholds-on-ubuntu-asus) . I can set the value but it has no effect. The kernel version I use is 6.9.3-76060903-generic and the OS is PopOS 22.04. I've tested this on my older Asus laptop and it works as expected. I see the following log lines in the dmesg | grep -i acpi output. Does it suggest that I should upgrade the BIOS or upgrade the kernel?
[    1.699741] ACPI: button: Lid Switch [LID0]
[    1.699788] ACPI: button: Power Button [PWRB]
[    1.699951] ACPI: button: Power Button [PWRF]
[    1.700044] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.LPCB.HEC.CFSP], AE_NOT_FOUND (20230628/psargs-330)
[    1.700057] ACPI Error: Aborting method \_SB.PC00.LPCB.H_EC.TFN1._FST due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
[    1.700062] acpi INTC10A2:00: Get fan state failed
[    1.704024] ACPI: thermal: Thermal Zone [TZ00] (28 C)
[    1.705224] ACPI: battery: Slot [BAT0] (battery present)
[    1.706701] hpet_acpi_add: no address or irqs in _CRS
[    1.732233] ACPI: bus type drm_connector registered
[    6.452204] ACPI: bus type thunderbolt registered
[    8.207683] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    9.463963] system76_acpi: loading out-of-tree module taints kernel.
[    9.463967] system76_acpi: module verification failed: signature and/or required key missing - tainting kernel
[   10.558101] ACPI Warning: \_SB.PC00.XHCI.RHUB.HS10._DSM: Argument #4 type mismatch - Found [Integer], ACPI requires [Package] (20230628/nsarguments-61)
[   10.637159] ACPI: battery: new extension: ASUS Battery Extension
[   11.887089] ucsi_acpi USBC000:00: error -ETIMEDOUT: PPM init failed
[ 1227.260749] ACPI BIOS Error (bug): Could not resolve symbol [^^^^NPCF.DBAC], AE_NOT_FOUND (20230628/psargs-330)
[ 1227.260831] ACPI Error: Aborting method \_SB.PC00.LPCB.H_EC._Q80 due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
[ 1473.002814] ACPI BIOS Error (bug): Could not resolve symbol [^^^^NPCF.DBAC], AE_NOT_FOUND (20230628/psargs-330)
[ 1473.002870] ACPI Error: Aborting method \_SB.PC00.LPCB.H_EC._Q80 due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
therealak12 (137 rep)
Aug 9, 2024, 06:03 PM • Last activity: Aug 9, 2024, 08:12 PM
1 votes
1 answers
851 views
New battery remains in pending-charge status, need to reboot to start charging again
I had to replace the battery on a Lenovo P53 (swelling battery). The only replacement I could find (Lenovo no longer has the model in stock it seems) was a Weetyut brand battery from Amazon. The battery works and even seems to have the nominal capacity. * The first time I unplugged the AC and plugge...
I had to replace the battery on a Lenovo P53 (swelling battery). The only replacement I could find (Lenovo no longer has the model in stock it seems) was a Weetyut brand battery from Amazon. The battery works and even seems to have the nominal capacity. * The first time I unplugged the AC and plugged it back after a while, the battery started charging again. * In a second attempt, I let the battery discharge to 10%, then plugged the charger back and the battery didn't charge (waited a few hours...). * I rebooted and the battery charged again * I let the battery discharge to 50%, plugged the charger back, and again it is not charging (also waited a few hours). upower -i /org/freedesktop/UPower/devices/battery_BAT0 reports:
native-path:          BAT0
  vendor:               SMD
  model:                02DL028
  serial:               178
  power supply:         yes
  updated:              Mon 22 Jul 2024 09:49:01 (93 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               pending-charge
    warning-level:       none
    energy:              45.73 Wh
    energy-empty:        0 Wh
    energy-full:         89.19 Wh
    energy-full-design:  87 Wh
    energy-rate:         0.0118371 W
    voltage:             11.388 V
    charge-cycles:       4
    percentage:          51%
    capacity:            100%
    technology:          lithium-polymer
    icon-name:          'battery-good-charging-symbolic'
  History (rate):
    1721634541  0.012   pending-charge
and the contents of /sys/class/power_supply/BAT0/:
alarm: 4459000
                                capacity: 51
                          capacity_level: Normal
            charge_control_end_threshold: 100
          charge_control_start_threshold: 0
                  charge_start_threshold: 0
                   charge_stop_threshold: 100
                             cycle_count: 4
                             energy_full: 89190000
                      energy_full_design: 87000000
                              energy_now: 45610000
                        hwmon2/in0_input: 11385
                             hwmon2/name: BAT0
                      hwmon2/power/async: disabled
       hwmon2/power/autosuspend_delay_ms: 
                    hwmon2/power/control: auto
        hwmon2/power/runtime_active_kids: 0
        hwmon2/power/runtime_active_time: 0
            hwmon2/power/runtime_enabled: disabled
             hwmon2/power/runtime_status: unsupported
     hwmon2/power/runtime_suspended_time: 0
              hwmon2/power/runtime_usage: 0
                           hwmon2/uevent: 
                            manufacturer: SMD
                              model_name: 02DL028
                             power/async: disabled
              power/autosuspend_delay_ms: 
                           power/control: auto
                               power_now: 0
               power/runtime_active_kids: 0
               power/runtime_active_time: 0
                   power/runtime_enabled: disabled
                    power/runtime_status: unsupported
            power/runtime_suspended_time: 0
                     power/runtime_usage: 0
                                 present: 1
                           serial_number:   178
                                  status: Not charging
                              technology: Li-poly
                                    type: Battery
                      voltage_min_design: 11250000
                             voltage_now: 11385000
Any way to avoid rebooting to charge the battery? Is the battery defective (or not emulating the official one correctly)? Running Ubuntu 22.04 Edit: installed the TLP package, tried sudo tlp chargeonce BAT0, and even though TLP answers Charging starts now, nothing happens.
xenoid (9288 rep)
Jul 22, 2024, 08:12 AM • Last activity: Jul 28, 2024, 05:34 PM
0 votes
1 answers
225 views
How to tell Linux it's running on batteries?
Whenever I inspect the current state of my Raspberry via the htop command, it shows the battery information is not available. [![Image 1: Battery information not available][1]][1] [1]: https://i.sstatic.net/LRGfRY9d.png Is there any way to tell my Linux (Ubunutu 22.0.4 LTS) about the current state o...
Whenever I inspect the current state of my Raspberry via the htop command, it shows the battery information is not available. Image 1: Battery information not available Is there any way to tell my Linux (Ubunutu 22.0.4 LTS) about the current state of the battery it is running on?
Brainsucker92 (103 rep)
May 4, 2024, 02:55 PM • Last activity: May 4, 2024, 04:47 PM
2 votes
1 answers
918 views
Battery charging slowly on linux | Huawei Matebook X Pro (laptop)
Three months ago, I bought a Huawei MateBook X pro 2021. I directly installed linux on it, never used W. Right now, I'm using Kubuntu with kfce which seems to be lighter than Ubuntu and gnome. I've installed TLP to improve my battery life (It can get up to 4-5 hours) while web browsing and using the...
Three months ago, I bought a Huawei MateBook X pro 2021. I directly installed linux on it, never used W. Right now, I'm using Kubuntu with kfce which seems to be lighter than Ubuntu and gnome. I've installed TLP to improve my battery life (It can get up to 4-5 hours) while web browsing and using the terminal. Tbh, I'm quite fine with that, but the real problem is that: **When I use my laptop, it takes many hours to get the laptop charged. I would say around 5 hours to get 80% of the battery charged. And when I watch twitch, or use heavier apps, it get stuck at the same % of battery.** *Does anyone has any hint to improve the situation?* You have diverse info below:
Specification of my battery:
upower -i /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               Sunwoda-
  model:                AP16L5J
  serial:               ####
  power supply:         yes
  updated:              sam. 13 août 2022 23:01:27 (52 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              19,1764 Wh
    energy-empty:        0 Wh
    energy-full:         54,4656 Wh
    energy-full-design:  55,2372 Wh
    energy-rate:         11,4829 W
    voltage:             7,777 V
    charge-cycles:       28
    time to full:        3,1 hours
    percentage:          35%
    capacity:            98,603%
    technology:          lithium-ion
    icon-name:          'battery-good-charging-symbolic'
  History (charge):
    1660424487  35,000  charging
Specification of my laptop:
Intel Core i5-1135G7

Mesa Intel Xe Graphics
apb_s (21 rep)
Aug 13, 2022, 10:18 PM • Last activity: May 1, 2024, 07:30 AM
1 votes
0 answers
391 views
Battery drain on Ubuntu 22. Need help understanding powertop
I just bought a brand new Lenovo Thinkpad T14 Gen4. I switched to Ubuntu 22.04 and the battery life is terrible, barely 2 hrs on light usage. I ran `powertop` and there are a lot of entries marked `Bad` but I do not understand what I can do about them as a lot of them seem to be drivers. Any help is...
I just bought a brand new Lenovo Thinkpad T14 Gen4. I switched to Ubuntu 22.04 and the battery life is terrible, barely 2 hrs on light usage. I ran powertop and there are a lot of entries marked Bad but I do not understand what I can do about them as a lot of them seem to be drivers. Any help is deeply appreciated!
Bad           VM writeback timeout
   Bad           NMI watchdog should be turned off
   Bad           Runtime PM for I2C Adapter i2c-12 (AMDGPU DM i2c hw bus 7)
   Bad           Runtime PM for I2C Adapter i2c-5 (AMDGPU DM i2c hw bus 0)
   Bad           Runtime PM for I2C Adapter i2c-7 (AMDGPU DM i2c hw bus 2)
   Bad           Runtime PM for I2C Adapter i2c-9 (AMDGPU DM i2c hw bus 4)
   Bad           Runtime PM for I2C Adapter i2c-11 (AMDGPU DM i2c hw bus 6)
   Bad           Runtime PM for I2C Adapter i2c-4 (SMBus PIIX4 adapter port 1 at 0b20)
   Bad           Runtime PM for I2C Adapter i2c-6 (AMDGPU DM i2c hw bus 1)
   Bad           Runtime PM for I2C Adapter i2c-8 (AMDGPU DM i2c hw bus 3)
   Bad           Runtime PM for I2C Adapter i2c-10 (AMDGPU DM i2c hw bus 5)
   Bad           Runtime PM for I2C Adapter i2c-2 (SMBus PIIX4 adapter port 0 at 0b00)
   Bad           Runtime PM for I2C Adapter i2c-3 (SMBus PIIX4 adapter port 2 at 0b00)
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14ea
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14ec
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14ea
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14ea
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14ea
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14ec
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14e8
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14e9
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14f1
   Bad           Runtime PM for PCI Device Qualcomm Atheros QCNFA765
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14ea
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14f0
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14f6
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14f2
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14f3
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14f5
   Bad           Runtime PM for PCI Device Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14f4
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD/ATI] Device 15bf
   Bad           Runtime PM for PCI Device Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 14f7
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 1502
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Device 15c7
Autonoe (11 rep)
Apr 26, 2024, 08:44 AM • Last activity: Apr 26, 2024, 02:05 PM
31 votes
5 answers
42562 views
How to check if my battery is healthy?
My `Lenovo ThinkPad T61` is rather old, and a couple of years ago I had to replace the battery as the old one was dead. Now the replacement battery seems like dying a slow death, but I get conflicting data from `xfce4-power-manager`. So I'm wondering if there is a way to check whether the battery is...
My Lenovo ThinkPad T61 is rather old, and a couple of years ago I had to replace the battery as the old one was dead. Now the replacement battery seems like dying a slow death, but I get conflicting data from xfce4-power-manager. So I'm wondering if there is a way to check whether the battery is healthy. The symptoms are as follows: * The power manager indicates that the battery is fully charged * If I disconnect the AC charger, then the battery status jumps to 47% or similar in less than 5min * And in less than 15min the laptop runs out of juice and shuts down I tried to check upower data: root@malou-laptop:/home/liv# upower --enumerate /org/freedesktop/UPower/devices/line_power_AC /org/freedesktop/UPower/devices/battery_BAT0 root@malou-laptop:/home/liv# upower -i /org/freedesktop/UPower/devices/battery_BAT0 native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 vendor: SANYO model: 92P1137 serial: 885 power supply: yes updated: Wed 19 Feb 2014 09:35:37 PM CET (23 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: fully-charged energy: 70.38 Wh energy-empty: 0 Wh energy-full: 72.42 Wh energy-full-design: 71.28 Wh energy-rate: 26.561 W voltage: 12.4 V percentage: 97.1831% capacity: 100% technology: lithium-ion I also looked at ACPI data: root@malou-laptop:/home/liv# cat /proc/acpi/battery/BAT0/info present: yes design capacity: 71280 mWh last full capacity: 72420 mWh battery technology: rechargeable design voltage: 10800 mV design capacity warning: 3621 mWh design capacity low: 200 mWh cycle count: 0 capacity granularity 1: 1 mWh capacity granularity 2: 1 mWh model number: 92P1137 serial number: 885 battery type: LION OEM info: SANYO root@malou-laptop:/home/liv# cat /proc/acpi/battery/BAT0/state present: yes capacity state: ok charging state: charged present rate: 0 mW remaining capacity: 70380 mWh present voltage: 12400 mV But I cannot pinpoint anything suspicious: the design capacity and last full capacity seem healthy to me. So is there some other utility that could indicate whether the battery is working as expected, or needs replaced?
landroni (11586 rep)
Feb 19, 2014, 09:41 PM • Last activity: Mar 29, 2024, 08:55 AM
51 votes
13 answers
44896 views
How can I get an alert when my battery is about to die in Linux Mint?
This happens to me more than I'd like to admit, but sometimes I don't notice the power getting low since it only shows up in my status bar, then the computer just quits. I'd like a big alert that warns me before this happens. Is there any way for it to alert me? Ubuntu has a nice popup that tells yo...
This happens to me more than I'd like to admit, but sometimes I don't notice the power getting low since it only shows up in my status bar, then the computer just quits. I'd like a big alert that warns me before this happens. Is there any way for it to alert me? Ubuntu has a nice popup that tells you it's getting low.
Travis Reeder (873 rep)
Jan 9, 2013, 05:59 PM • Last activity: Mar 29, 2024, 07:12 AM
Showing page 1 of 20 total questions