1

I am using Linux Mint 22.3 (Cinnamon) on an HP Victus 16-r1xxx. Interestingly, my battery life is already better on Linux than it was on Windows, but I want to extend it even further for daily use.

I have already performed the following steps:

  • Updated the BIOS to the latest version.
  • Set the Graphics to Intel Power Saving Mode via NVIDIA Settings.
  • Uninstalled TLP after testing it.

My System Information:

  • CPU: Intel Core i5-14450HX
  • GPU: NVIDIA RTX 4050 / Intel UHD Graphics
  • Kernel: 6.14.0-37-generic
  • Graphics Mode: Intel Power Saving Mode (Selected via NVIDIA Settings)

I primarily use my laptop for VS Code and Firefox during the day. I want to know the best practices to extend my battery life specifically for these daily tasks. This is a high-performance HX processor, and I want to reduce its consumption during light coding and web browsing.

New contributor
Hasan Çabuk is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
3
  • "I am not removing the battery; since the device is new, I have no intention of opening it. I don't play games on this laptop, so I don't need high CPU performance. My priority is both preserving battery health and extending the battery life as much as possible for daily tasks (VS Code, Firefox). I am looking for suggestions to run the CPU at lower power states or completely disable the NVIDIA GPU to save energy. Commented Jan 26 at 15:03
  • You misunderstood my answer, that was just for information on what was done in the past. And you should not open your laptop; not all laptops have permanently installed batteries some can simply be removed from outside. Commented Jan 26 at 15:12
  • I see, thanks for the clarification. I misunderstood your point. Since my battery is internal, I'll stick to software optimizations and BIOS settings as we discussed. I've just tried powertop --auto-tune and I'm currently monitoring the results. Do you have any other specific tips for 14th gen Intel HX CPUs to lower power consumption during light tasks like coding? Commented Jan 26 at 15:14

1 Answer 1

2

Actually just the standard stuff, but in my opinion, you can't really do that much with software anyway for the battery’s lifecycle.

You've already taken good steps with the BIOS update and forcing Intel graphics.

For the consumption you could possibly look at the following:

Also check for settings in Firefox and VS Code that can reduce CPU usage.


about:config in Firefox

Type about:config in address bar and search for:

layers.acceleration.force-enabled if not present, add Boolean and/or set to false

gfx.webrender.all if not present, add Boolean and/or set to false

gfx.webrender.enabled if not present, add Boolean and/or set to false


CPU Governor, Set the CPU governor permanently to powersave.

sudo cpupower frequency-set -g powersave


Use sudo powertop --auto-tune to automatically apply many power-saving settings.

You can use the --auto-tune feature from powertop which sets all tunable options to their GOOD setting. This can be combined with the systemd service to have the tunables set on boot. Remember to enable/start the service.

--auto-tune-dump

Newer versions of Powertop include the --auto-tune-dump option which will output the commands Powertop's --auto-tune would have run. This is useful for including in a script in case you do not want to run all of Powertop's recommendations.


TLP is good, but not perfect you can also try auto-cpufreq or thermald as alternatives.

Manages thermal and performance settings, especially for Intel CPUs. It is often already installed. Check with: systemctl status thermald

A simple daemon that automatically switches the governor between powersave and performance. Good for laptops.

Possibly you can do with some GRUB boot parameters:

intel_idle.max_cstate=1
processor.max_cstate=1
intel_pstate=disable

With modern hardware, especially high-performance laptops, you can achieve a lot through software. General battery wear is a separate, long-term topic.

In the end, batteries are the ones that experience the most wear and tear and are usually the first to start slowly losing capacity and runtime.

With some devices from retailers, when I buy laptops, I only get a 6-month warranty on the batteries.


For older devices, it was recommended to remove the battery when running on AC power this was supposed to increase its lifespan. With today's models, that supposedly isn't necessary anymore.

That was just for information on what was done in the past. And you should not open your laptop; not all laptops have permanently installed batteries some can simply be removed from outside


Check also this post:

7
  • Could you expand on what sudo powertop --auto-tune does? That sounds like it could be very useful and I haven't seen it before. Commented Jan 26 at 15:40
  • 'sudo cpupower frequency-set -g powersave' and 'systemctl status thermald' These two features won't cause any software damage, right? Will they have any negative impact on CPU life, battery life, or anything else? Commented Jan 26 at 16:03
  • No, they do not cause any damage. No negative effects on CPU lifespan or battery. You can reset it at any time. Commented Jan 26 at 16:06
  • @ReflectYourCharacter I have two more questions. First, do these settings you mentioned extend battery life, and do I need to activate these commands every time I turn on the computer, or will they automatically activate every time I start it after entering them once? Secondly, there are settings that prevent the device from charging beyond 80% to extend battery life. Is it logical to use these settings? Commented Jan 26 at 16:18
  • No, hardly at all, if at all. They primarily reduce immediate power consumption, extending runtime per charge not the lifespan in my opinion. The actual cycle/calendar life of the battery (i.e. when it drops to 70–80% remaining capacity) is only minimally affected by these measures. The biggest impact comes from temperature and charging behavior, not from saving 2–5 watts of idle power. Based on my experience, this varies from hardware to hardware and sometimes even with identical devices, so try it out and see. Commented Jan 26 at 17:49

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.