You are not logged in.

#1 2024-04-29 22:15:03

mrmetaverse
Member
Registered: 2023-10-04
Posts: 12

Persistent Battery Life Issue on Arch Linux with Razer Blade 14 (RZ09-

Hey all! I have been using Arch for a few years now, and can't seem to figure out what happened here. My laptop has both an integrated GPU (AMD CPU) and a NVIDIA 4070m. I am using hyprland, and have been able to generally get about 4-8 hours battery.

Recently, I can only get about 2 hours on a full charge. It has been over the last week, and I am not sure what changed. I have tried everything I can think of, from tweaking TLP, to powertop, and many others. I am wondering if I need to wipe and reinstall...

Summary:
I am experiencing persistent battery life issues on my Razer Blade 14 (RZ09-0482) laptop running Arch Linux. Despite multiple troubleshooting attempts and optimizations, I am unable to achieve more than 1.5 to 2 hours of battery life on a full charge.

**Steps Taken:**
1. **Power Management Software:**
   - Installed and configured TLP (1.6.1) to optimize power settings.
   - Utilized TLP-stat and powertop for monitoring and tuning power usage.
   - Applied various power-saving measures recommended by TLP.

2. **Kernel and Hardware Settings:**
   - Updated to Kernel 6.8.7-arch1-2 for potential improvements.
   - Checked and adjusted CPU frequency scaling and governor settings.
   - Verified that hardware components are properly managed for power efficiency.

3. **Graphics Card Optimization:**
   - Configured NVIDIA GPU settings using nvidia-settings and xorg.conf.d adjustments.
   - Set PowerMizer mode to adaptive and applied additional power management options.

4. **System Services and Background Processes:**
   - Reviewed and stopped unnecessary system services and background processes to reduce power consumption.
   - Disabled webcam and other peripherals not in use to minimize power draw.

5. **Battery and Hardware Health:**
   - Monitored battery health and charging behavior to ensure proper functioning.
   - Checked hardware components for any anomalies impacting power consumption.

Despite these efforts, the laptop continues to exhibit poor battery life, with only 1.5 to 2 hours of usage on a full charge under normal workload conditions. This significantly hampers the portability and usability of the device, especially when working remotely or in areas without easy access to power outlets.

**Expected Outcome:**
I expect that with the optimizations and configurations made, the battery life should be significantly improved, allowing for at least 4-6 hours of usage on a full charge, as typically seen with similar laptops running Linux distributions.

**Additional Information:**
- Laptop Model: Razer Blade 14 (RZ09-0482)
- BIOS Version: 1.06
- OS: Arch Linux
- Kernel: 6.8.7-arch1-2
- Power Management Tools Used: TLP, powertop
- Graphics Card: NVIDIA GeForce RTX 4070 Laptop GPU

**Request for Assistance:**
I kindly request further investigation and support to identify any underlying issues or misconfigurations that may be causing the battery life problem. Any guidance or solutions to improve battery efficiency on this system running Arch Linux would be greatly appreciated.

Thank you for any help...

Best,

Jesse

Offline

#2 2024-04-30 07:38:54

seth
Member
Registered: 2012-09-03
Posts: 52,197

Re: Persistent Battery Life Issue on Arch Linux with Razer Blade 14 (RZ09-

at least 4-6 hours of usage on a full charge, as typically seen with similar laptops running Linux distributions

and a healthy battery…

tail /sys/class/power_supply/BAT0/*

What does powertop suggest as current/average draw and what are the major consumers?

Offline

#3 2024-05-02 15:50:12

mrmetaverse
Member
Registered: 2023-10-04
Posts: 12

Re: Persistent Battery Life Issue on Arch Linux with Razer Blade 14 (RZ09-

See thats the thing... even at 0% screen usage, the battery life doesn't change at all. I can't tell if it is still consuming all of that power.

The battery reports a discharge rate of 32.5 W
The energy consumed was 586 J
The estimated remaining time is 1 hours, 58 minutes

Summary: 1414.7 wakeups/second,  0.0 GPU ops/seconds, 0.0 VFS ops/sec and 10.1% CPU use

Power est.              Usage       Events/s    Category       Description
  24.2 W      0.0%                      Device         Display backlight
  2.80 W    100.0%                      Device         USB device: Integrated RGB Camera (Azurewave)
  258 mW     28.3 ms/s     234.3        Process        [PID 971] Hyprland
  142 mW     15.6 ms/s     243.7        Interrupt      [149] amdgpu
  101 mW     11.0 ms/s      82.8        Process        [PID 1908] kitty
69.6 mW      7.6 ms/s     134.9        Process        [PID 430] [irq/74-ELAN0427]
65.8 mW      7.2 ms/s      0.00        Process        [PID 576] [kworker/u32:23]
57.1 mW      6.3 ms/s     249.6        Interrupt      [6] AMDI0010:03
31.1 mW      3.4 ms/s     224.3        Timer          tick_nohz_highres_handler
30.8 mW      3.4 ms/s      83.8        Interrupt      [7] pinctrl_amd
26.9 mW      3.0 ms/s      20.5        Interrupt      [7] sched(softirq)
20.2 mW      2.2 ms/s      0.00        Process        [PID 331] [kworker/u32:4]
18.1 mW      2.0 ms/s      38.3        kWork          commit_work
12.6 mW      1.4 ms/s      0.00        Process        [PID 380] [kworker/u32:6]
12.1 mW      1.3 ms/s       6.1        Process        [PID 1079] waybar
10.3 mW      1.1 ms/s      10.7        Process        [PID 1909] kitty
9.92 mW      1.1 ms/s       0.4        Process        [PID 2126] powertop
8.20 mW      0.9 ms/s      22.4        kWork          drm_sched_run_job_work
7.86 mW      0.9 ms/s      0.05        Timer          ath11k_dp_service_mon_ring
6.14 mW    673.1 µs/s      0.00        Interrupt      [1] timer(softirq)
5.62 mW    615.9 µs/s       2.7        Timer          hrtimer_wakeup
5.13 mW    561.6 µs/s       0.5        Process        [PID 1149] waybar
4.32 mW    472.9 µs/s      0.00        Interrupt      [9] RCU(softirq)
3.23 mW    353.8 µs/s      17.6        Process        [PID 18] [rcu_preempt]
2.07 mW    227.0 µs/s      0.00        Timer          process_timeout
1.71 mW    187.3 µs/s      20.6        kWork          drm_sched_free_job_work
1.33 mW    145.3 µs/s       0.7        Process        [PID 878] /usr/bin/NetworkManager --no-daemon
1.17 mW    128.4 µs/s      0.00        Timer          delayed_work_timer_fn
1.12 mW    122.5 µs/s      0.00        Interrupt      [74] ELAN0427:00

Offline

#4 2024-05-02 17:11:58

mrmetaverse
Member
Registered: 2023-10-04
Posts: 12

Re: Persistent Battery Life Issue on Arch Linux with Razer Blade 14 (RZ09-

Interesting... the battery life is the same at 100% brightness as it is 0%

Offline

#5 2024-05-02 18:58:43

seth
Member
Registered: 2012-09-03
Posts: 52,197

Re: Persistent Battery Life Issue on Arch Linux with Razer Blade 14 (RZ09-

The battery reports a discharge rate of 32.5 W

That's probably not correct unless that notebook is really. REALLY old and/or

 24.2 W      0.0%                      Device         Display backlight

used to illuminate the neighbourhood (I use a beamer with less power to illuminate a rather big garden, your notebook panel doesn't draw 24.2W - you turn blind when you look at that)

Is the battery life concern based on "I let the system run for x hours and it took this long until it shut down" or on what the acpi reports as estimated runtime?

 2.80 W    100.0%                      Device         USB device: Integrated RGB Camera (Azurewave)

I don't really buy that number either - is the webcam even active?

Offline

#6 2024-05-02 19:18:03

mrmetaverse
Member
Registered: 2023-10-04
Posts: 12

Re: Persistent Battery Life Issue on Arch Linux with Razer Blade 14 (RZ09-

I disabled the webcam, and still same issues. Maybe I nuke it and start over, wouldn't be the first time... Its a 2023 Razer 14 (AMD CPU and integrated GPU, NVIDIA 4070)

Hyprland is wayland, and I used to have working power profiles, but now nothing works. No bbswitch, bumblebee.

I could try a fresh install, and if the battery is still butt, I can try another OS/kernel.

The battery health is at 89%, which isn't great for less than a year, maybe I can replace that.

Offline

#7 2024-05-02 19:24:19

seth
Member
Registered: 2012-09-03
Posts: 52,197

Re: Persistent Battery Life Issue on Arch Linux with Razer Blade 14 (RZ09-

You did understand that the reported power draw of the display is complete nonsense?
I don't think the ACPI report is correct and I'd certainly not trust it
In that case no re-installation and no other kernel will help you, that's a BIOS/UEFI problem.

I used to have working power profiles, but now nothing works. No bbswitch, bumblebee.

https://wiki.archlinux.org/title/PRIME# … Management
This will report the GPU to be active if you (also) run nvidia-smi, so don't.

The battery health is at 89%

89% of what? Aggregating the condition in a single "health" percentage is meaningless.

seth wrote:
tail /sys/class/power_supply/BAT0/*

Offline

#8 2024-05-03 12:31:35

mrmetaverse
Member
Registered: 2023-10-04
Posts: 12

Re: Persistent Battery Life Issue on Arch Linux with Razer Blade 14 (RZ09-

thanks for this...

New updates came in, and my battery appears to be normal now (seeing 4.5-11.5 hours depending on the use)

New powertop:

The battery reports a discharge rate of 6.10 W
The energy consumed was 190 J
The estimated remaining time is 11 hours, 20 minutes

Summary: 1738.3 wakeups/second,  0.0 GPU ops/seconds, 0.0 VFS ops/sec and 1

Power est.              Usage       Events/s    Category       Description
  16.5 W      1.9 pkts/s                Device         Network interface: w
  5.78 W     62.1%                      Device         USB device: Razer Bl
  499 mW     22.3 ms/s     250.5        Process        [PID 1377] Hyprland
  468 mW     28.2 ms/s     161.1        Process        [PID 2050] /opt/brav
  392 mW      4.2 ms/s     334.6        Timer          tick_nohz_highres_ha
  310 mW     21.6 ms/s      76.2        Process        [PID 1919] /opt/brav
  305 mW      4.2 ms/s     250.2        Interrupt      [6] AMDI0010:03
  229 mW     12.9 ms/s      87.8        Process        [PID 1963] /opt/brav
  181 mW      6.3 ms/s     110.1        Process        [PID 423] [irq/74-EL
  153 mW      8.5 ms/s      60.2        Process        [PID 2025] /opt/brav
  110 mW      4.1 ms/s      63.3        Process        [PID 1890] Xwayland
  107 mW      2.9 ms/s      73.3        Interrupt      [7] pinctrl_amd
81.4 mW      3.3 ms/s      44.9        Process        [PID 2023] /opt/brav
75.6 mW      3.1 ms/s      41.0        Process        [PID 1941] /opt/brav
68.4 mW      3.7 ms/s      27.9        Interrupt      [7] sched(softirq)
39.1 mW      3.7 ms/s      0.00        Process        [PID 241] [kworker/u
31.2 mW      1.5 ms/s      15.1        Interrupt      [150] amdgpu
29.3 mW    482.8 µs/s      23.3        Process        [PID 18] [rcu_preemp
28.8 mW      1.4 ms/s      13.4        Process        [PID 2300] kitty
28.8 mW      1.9 ms/s       8.0        Process        [PID 1439] waybar
28.4 mW      2.6 ms/s       1.0        Process        [PID 2488] ThreadPoo
28.1 mW      2.5 ms/s       1.2        Process        [PID 2495] ServiceWo
27.9 mW      2.5 ms/s       1.1        Process        [PID 2504] ThreadPoo
27.5 mW      2.5 ms/s       0.9        Process        [PID 2490] ThreadPoo
25.8 mW      2.3 ms/s       1.0        Process        [PID 2503] ThreadPoo
25.4 mW      2.2 ms/s       1.4        Process        [PID 2505] ThreadPoo
22.8 mW      2.0 ms/s       1.6        Process        [PID 2506] ThreadPoo
22.5 mW      0.9 ms/s      12.3        kWork          commit_work
22.4 mW      2.0 ms/s       0.9        Process        [PID 2508] ThreadPoo

Offline

Board footer

Powered by FluxBB