I am trying to figure out why my battery life on my XPS has gotten so bad lately. I used to be able to use my computer on my lunch at work on Thursday, take it home all weekend and come back Monday and there will still be some charge left in it. It could be at roughly 15-20% after a 3 day weekend.
However. I can not go overnight without the battery being completely dead.
This is quite disappointing when compared to the battery performance I used to get.
Anyway, Is there a command you can use, or a flag you can add to the ps command or some tool that will allow me to see which processes are using the most battery?
I also do not have any applications running right. This computer has been sitting on my desk beside me suspended. Every few minutes though, it will flash to the lock screen for a few seconds, and go back to sleep.
Can anyone point me in the direction I can look to see what is keeping my computer awake/causing poor battery life?
I used to leave this thing on the Balanced power profile. Now I have to leave it on Battery Saver pretty much all the time to get any reasonable time on the battery.
This may not be a Fedora issue and may be a Dell issue but I would like to see what I can find with software first.
I can add to the empirical evidence: I have a new Dell XPS 9520 15" laptop (i7-12700H) and the battery life under Fedora is miserable. Admittedly I have a lot of Firefox windows and tabs (like well over a hundred tabs loaded although many have been put into low energy/suspended mode) and a couple of Chrome windows (12 tabs). I’m mostly watching YT vids and keeping tabs on various Linux forums… I seem to be only getting around 1.5 hours battery life max. In the worst case I’ve experienced so far the battery level was going down 1% about every 40 seconds!
I did put it to sleep once overnight while on battery power and the next morning it had drained the battery. It’s typically plugged into the mains.
On Reddit it looks like 4-5 hours is a typical usage on battery poiwer. That’s probably running Windows.
I’ve made the machine dual-bootable into Windows 11. I should see if there’s a measurable difference between the two operating systems, and I should probably close all these windows and tabs!
In the survey that Dell asked me to respond to I gave the XPS 9520 very high marks, except for battery life. Then again it does have a power-hungry Intel chip with 14 cores so maybe it’s to be expected.
The battery life can be there. As I mentioned I used to take it home on a Thursday and it be good sitting in my backpack all weekend and still had a slight charge on Monday morning.
I’m not sure if it’s a package I have downloaded or the BIOS update that I had a few weeks ago that killed that great battery life.
I may reinstall and see if that helps but I am trying to avoid doing that if I can find something simple.
I got the Developer edition from Dell that came from them with Ubuntu on It.
Not sure if they make changes to the BIOS for that one compared to Windows machines or not.