High power use on Archlinux vs Win10 on XPS 15
I recently installed Arch on my XPS 15 in dual boot mode with Windows 10. Everything works quite well, but it seems like my battery life in Arch Linux is much shorter than in Windows. Is this to be expected? What can be done to prolong my battery life without crippling my system too much? What is your experience?
Some context:
I use KDE Plasma as DE.
My XPS 15 is an optimus laptop, so I have bumblebee installed (but nog yet completely configured with all additional tools).
Battery life comparison based on browsing and the like, not gaming.
Hardware: i7, 16GB, GTX750, SSD, touchscreen (don't know if that matters)
About this post
- Posted
- Archived
- Score
- 53 · 100% up
- Kind
- Text
- ID
- 4l4soa
30 comments
Yup, also on my XPS 15 the battery life on windows is better..I believe one if the hidden secreats is "adaptive moode and padsive collig" that can be enabled on windows.
Try setting up TLP, thermald and intel-ucode. Also there are some kernel parameters that help.
Thanks for the TLP mention! Will check it out. I was already aware about thermald and intel-ucode is already in place.
Do you have bbswitch installed? Even with Bumblebee, nvidia card will be still on (and producing heat) unless you install bbswitch.
My laptop has the same or even better batery life in Arch than in Windows after installing TLP (with default config), Bumblebee and bbswitch.
This is the correct answer. I also have an XPS15.
You have to make sure the nvidia gpu is actually turning off when it's not being used. It's kinda a power hog.
Solution confirmed! Thanks! :D
This sounds extremely relevant to my case. I don't have bbswitch. So that explains the battery, the heat and the 100% cooling that kicked in after working on it for an hour. Clearly did not finish the Bumblebee wiki page at the time, my bad :-)
Thanks!
Be sure to use powertop as well. With powertop I'm getting similar battery life to what I do on Windows.
The only problem is that their power estimation is fuckin' ridiculous. Wildly inaccurate.
My battery is currently reporting a discharge rate of 7.45w
Meanwhile, powertop says my wireless card is using 12.2w
That is not physically possible.
The battery report could be inaccurate.
You are supposed to calibrate powertop first, as per: https://wiki.archlinux.org/index.php/Powertop#Troubleshooting
Did not know about this package as well. Will check it out, thanks!
Remember that powertop by default only monitors battery usage and doesn't tweak it. There are settings so that they autotune some settings but if you're using TLP as suggested by others the settings may conflict, so you'll have to manually reconcile that.
Use either power top or tlp, not both. They both do the same stuff.
Even if you use tlp, you can still open power top to view stats, just don't enable the daemon
I use a suite of utilities that all work together to extend my battery life the most.
This article documents how to install and configure them: https://visual-assault.org/2016/03/05/install-encrypted-arch-linux-on-apple-macbook-pro/#power-management
The battery life of my Thinkpad W520 with Optimus is pathetic with PRIME enabled. For this reason, I keep Optimus disabled in the BIOS most of the time. BTW, battery life in Win10 also suffers with Optimus enabled.
Another W520 user!
I either use integrated or discrete in Linux.
Optimus for Windows. I've found the battery life really bad in windows - slightly worse than discrete in Linux.
And btw I'm not sure Prime handles well the different levels of power of the GPU.
You might want to check out bbswitch as mentioned above! Helped for me.
Well, I do use Optimus in Windows (as in I sometimes game on my Nvidia GPU) but then battery life is short anyway. With optimus enabled but the GPU not in use, my battery life is quite okay in Windows. I still think that my comparison Win vs Arch is fair, since the same BIOS options apply. So between 3 and 4 hours in Windows of 2D working/surfing vs 2 hours in Arch.
But maybe it's a good idea to compare my battery life in Arch with the optimus BIOS on vs off to make sure that even without gaming my Nvidia chip is not draining my battery. (which it shouldn't) Thanks for the suggestion.
Addional info: my laptop heats up a lot too. Seems logical considering my complaint above, but nevertheless... I have the idea that my GPU gets activated, even without software configured to use my Nvidia chip, only the Intel chip. But it might be my CPU that lacks a conservative governor or something.
Skylake doesn't have such governors anymore as the speeding up/slowing down is done automatically in hardware, the clock speed of your CPU should automatically reduce if there is no load.
My laptop is the XPS 15 9530, so my i7 is a Haswell. Nevertheless, this is good to know. So Skylake will be as efficient on Win as Linux?
don't have a laptop, but a desktop i5 4460 at idle uses just a few wats.... full load is 60+