[SOLVED] Linux kernel version with best battery life?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm compiling and installing the latest linux version (3.1.5) on my 64 bit Ubuntu 10.10 install no matter what, but I've been reading several articles that say that the newer kernels have crappy battery life, but there is this magical patch that fixes everything, and on top of that another magical unrelated patch (the ever-so-famous 200 line one) that lowers the latency.
I was wondering if someone could set the record straight and let me know which version has which patch and which kernel version is the best for battery life.
I was wondering if someone could set the record straight and let me know which version has which patch and which kernel version is the best for battery life.
Here is what I know, or I think I know:
The famous '200 line patch' has, as far as I know nothing to do with the 'battery life problem'; the 200 line patch is only really useful in one use case, and that happens to be quite similar to the use case experienced by a lot of developers. Coincidentally, or otherwise, this patch seemed to get something of a fast track.
Phoronix has been collecting some numbers; if you want numbers go to Phoronix.
There is argument that the Phoronix interpretation, or more exactly, their use of language is wrong/wildly deceptive/unfortunate. I'm with that argument, and it is not just a mere semantic argument, as what you think of that argument might change what you do.
<opinion> It isn't a regression, at least not a kernel regression. With the previous approach, there was some hardware that just didn't work correctly. The fix for the misbehaving hardware, increased current consumption. There was then a fix for the fix, that, effectively only applied the first fix in appropriate cases, which was a bit tricky as part of the original problem was hardware not reporting its capabilities correctly, and thus deceiving the software about in which cases the fix should be applied. While this is a bit of a mess, really it was almost inevitable, given what happened with the hardware </opinion>
I am a bit unsure about this, but I believe if you do see the increased consumption on the current kernel, it is because you are using hardware that is buggy; with non-buggy hardware, there isn't a (significant) climb in current with the current kernel. I don't know exactly what goes wrong if you use an older kernel, but you could find weird things happening.
Okay. So, what you are telling me is, the 200 magical patch may not be all it's cracked up to be, the 3.1.5 version has updates that are good for battery life, and that this excess power consumption is due to buggy hardware.
So, let's pretend I have my current kernel (2.6.35-31) and my self built one (3.1.5) and I don't have any way to charge my laptop, and I'm in a life and death situation where I need more battery life. Which is better, and would some of the older kernels give me a better chance of survival, if so, which?
the 200 magical patch may not be all it's cracked up to be
Well, you are free to believe whatever you want to believe, but my formulation would be closer to 'it won't be useful for most people, but it will be well worthwhile for the minority for whom it is an advantage'.
Quote:
Originally Posted by mahkoe
So, let's pretend I have my current kernel (2.6.35-31) and my self built one (3.1.5) and I don't have any way to charge my laptop, and I'm in a life and death situation where I need more battery life. Which is better, and would some of the older kernels give me a better chance of survival, if so, which?
Well, obviously you should measure it, under your use case and with your hardware. After all, it is your life or death.
If the bookies were offering odds, I'd bet on your older kernel by the smallest of margins, but buggy hardware could turn that into a wide margin.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.