[Guide] Nexus one power saving - undervolting - kernel replacement - Nexus One General

Hi Guys - don't ask me why but a number of people have requested that I place my guide to undervolting (kernel replacing ) for the nexus one in a separate thread. I don't think the quality is all that good - but it does explain the process of kernel replacement & SETCPU power schemes all in one place. Using both it will save you some battery life.
The post is http://www.adriancantrill.me/blog/2010/04/undervolting-the-nexus-one/ and i've updated it for the ADB PUSH and Flash ZIP methods of kernel changing.
Shameless Plug If my article is useful to you please take a look at the ads from some of my sponsors - if their offering something interesting then pay them a visit.
If you have any questions either post here (prefered), blog comment or twitter me @woolnoir

small changes, based on feedback.

As some feedback to this, a lot has changed since i wrote the article specifically Intersect raven has started to focus on the 800MV and 900MV variants of his kernel - anyone whos tried this, feedback would be appreciated as to how they find the battery life. I'll be updating my post at some stage with a recommendation based on feedback here, and on the thread in the development forum.

Been trying the 900MV kernel and it does seem to give a little extra life than the 800 ... odd...also seems to be less 2G to 3G switching in weaker areas, although i could be dreaming.

Has anyone experienced any battery charging issues with the above kernel, seems on my 2800MAH battery using this one im stuck at 91% charge... even after a restart.

Related

Battery Life ROM/Kernel comparisons

Battery life is something that definitely concerns everyone.
Lately we've been seeing a considerable increase in the number of tips, tweaks, and some apps to improve battery life in our nexus phones.
New modded kernels are also starting to pop up since kmobs released his UV one, followed by psyq's and insectRaven's, among others. I've even read comments about having 70% battery power after about 15 hours of use with AVS! Damn, what's your secret you people?
As well as undervolting, AVS, and other kernel-based configs, people are also starting to talk about how each ROM optimizes battery use. Some claim Emmother has better results than CM. Some are just fine with CM.
There have also been several comments about slow charging being better than fast 1A charging.
So, to join all these things together, I've created this post to see how much battery are YOU getting and what's your setup. Hopefully, we can all benefit from the information that's collected here once it gets going.
Please post in a clear and organized manner so we can all get some useful info out of this thread. I encourage you to follow this way of posting your info:
ROM: Whatever ROM you're using.
Kernel: Whatever kernel you're using (please be specific about extra features it may include)
System & software related:Widgets: Any widgets you've got that you think have certain influence on battery life.
Background: Any apps you've got running on background.
Connectivity: 3G signal + strengths or weaknesses / Wifi / Bluetooth.
Sync enabled?: Pretty self explanatory.
GPS & navigation: What software do you use for navigation.
Others: Screen brightness, display % usage, etc..​
Battery-related:Battery model: HTC stock, ebay, whatever...
Charging method: What kind of charger are you using?
Extra info: Voltage, temp, and any other info worth providing.​
Overall phone use: (Time-wise)
Internet (Browsing): How much time you spend *JUST* on your browser.
Internet (General): IM, VoIP, streaming... Basically any app you frequently use that requires connection.
Calling: Approximate total time per charge.
GPS & navigation: Do you use it frequently? If so, how much.
Games: Which games and for how long do you usually play.
Other: Any apps you may want to point out.​
Battery life & impressions:
Here is where the real, but somewhat subjective, talk comes in. Just post what battery life you're getting with the info you've just provided and what are your concerns and impressions regarding this. This is the place to comment in more detail about anything you may have posted above and want to clarify or drive special attention to.
Click to expand...
Click to collapse
Template available here.​
Leave whatever you don't want to post blank, but please be as specific and objective as you can on what you do post. Also, feel free to add any category with info you think is worth it. If you think there's something that I left out and should be there (which is very likely I have) please don't hesitate to tell me and I'll add it as soon as I read it.
I really hope we can all share some info and clear out all the secrets regarding mysterious claims for battery life I've seen around lately. For this to work I urge you once again to post in a clear and organized manner. There's quite a lot of information and it'll be much easier to find, compare, and comment on.
Thanks in advance for your participation.
[Reserved]
I'll try and post the best results here once we've got enough impressions.
What happened to this thread???? No one replied?
I think the idea is awesome, however the information you ask might be a bit too detailed. I would rather try to classify uses under "light", "medium" and "heavy" (i.e. light would be just occasional phone and messaging, medium would be more frequent messaging with occasional data/gps/wifi....etc.) That way, someone could easily classify himself along these criteria and we would get a very large database of battery life for each rom and use. I'm sure a lot of people would chime in on this as battery life is very important to all of us.
For me, it's too early to give my opinion as I just got the phone and installed CM, but I am a little bit disappointed at the battery life... I definitely won't be keeping the display brightness on auto...
Hey thanks for replying!
I created this thread because in such a phone, battery life is an issue that we're all concerned about. Now, with so many different ROMs/Kernels to choose from, it's sometimes difficult to know which will suit you the best in these terms.
I never said every category I mentioned had to be answered. They're kind of a guide if you will. Just answer whatever you feel like answering, or make a simple comment if you feel lazy. I don't really care as long as the discussion stays on topic.
I think once we've got some participation this thread will grow exponentially. I just can't believe people don't give a **** about they're $500+ "superphone"'s battery.
ROM: CM 5.0.5.3
Kernel: intersectRavens 33.1 AVS Extra
System & software related:
Widgets: Weather widget donate, Battery Life, Agenda Widget, Audio Manager, Power Control, IP Address
Background: Wallpaper rotator(60 mins), SeePU, SetCPU, AppSwipe, GTalk, Meebo, Google Voice, Gestures, Swype
Connectivity: 2G only for 2 more weeks
Sync enabled?: Yes
GPS & navigation: Motonav about twice a week.
Others: 0% Brightness except in the sun, Display usage ranges from 20% to 60%​
Battery-related:
Battery model: ends with M
Charging method: 500mA USB usually
Extra info: ​
Overall phone use: (Time-wise)
I'm a heavy user. The battery will die in under 4 hours if I use it constantly.
Internet (Browsing):
Internet (General): gmail,gvoice,im, xda, fmylife
Calling: about 30 mins per day.
GPS & navigation: not too much, all of them drain the battery fast.
Games: RoboDefence (level 70 , drains the battery quickly, choppy with power save kernels), AirControl. Whenever theres time to kill
Other: Camera.(tried desire, back on stock now). Shoot anything and everything. Very fast way to empty your battery.​
Battery life & impressions:
Have to carry a charger on me whenever I go out for an extended period (5 hrs). Noticed some improvement in standby time with the new AVS kernel.
Waiting to try the release version of CM 5.0.6 or 5.0.7;logs indicate power saving is a priority now.

[GUIDES] Optmizing Evo Battery Life

The information contained in this thread is not my own work. It is simply a collaboration of the links, guides, and information I have found on the web as I try and optimize my own Evo battery to maximum performance. This guide assumes that you already have a rooted Evo, if not I would suggest heading over to the developer's section for a guide on that.
Please note I have NOT been able to test out the outcomes of all these guides so the amount of battery you save will be very YMMV. For the most part though, I don't see any of these guides harming your battery life so they are worth trying. My Evo battery is able to last 10+ hours on moderate/high use, and over 20 hours on idle through the help of some of these guides.
Let me know if you want anything added up here!
------------
Basic Evo Settings Optimization
Basic set-up information for your Evo settings.
http://www.talkandroid.com/android-forums/htc-evo-4g/5120-improving-battery-life-htc-evo.html
And another good one (longer read, but more detailed information on how much the settings affect battery life).
http://www.goodandevo.net/2010/05/20-tips-to-improve-htc-evo-4g-battery-life.html
Evo Mobile Network Modifications
Evo battery life trick read (going from GSM -> CDMA auto prl).
http://forum.xda-developers.com/showthread.php?t=700601
Hack the HTC EVO - 3G w/o Sprint EVDO coverage!
http://forum.xda-developers.com/showthread.php?t=696073
Overclocking/Underclocking
You are responsible for your own actions in this section. Overclock at your own risk!
Root + OverclockWidget = 20 to 40+ Hours of Battery Life (under clocking guide. very mixed reports its usefulness, I suggest reading the thread for more details).
http://www.sprintusers.com/forum/showthread.php?t=207985
njfoses said:
So over at android central here is what is posted. This was a conversation with a member and the developer. Where it says bills info he is the developer of this app and his statement. So it appears it does help.
Obviously it can't overclock, we all know that because of perflock BUT here's the deal, the EVO CPU is set to scale back when its sleeping by default although it doesn't always do this because it may misinterpret information.
(bills info)
What this widget does is force it to underclock so you may see a slight increase in battery.
Click to expand...
Click to collapse
Roms
Keep in mind MOST roms will help improve your battery life, but the following roms are aimed towards battery life optmization.
DamageControl v3.0
http://forum.xda-developers.com/showthread.php?t=700649
Bugless Beast v.3
http://forum.xda-developers.com/showthread.php?t=700175
Fresh
http://forum.xda-developers.com/showthread.php?t=700448&page=29
VERY useful Misc. info
Google TALK might be killing your battery life! (it's on 24/7 if you sign into a google account)
http://www.sprintusers.com/forum/showthread.php?t=207991
Good info!
thanks, i'll try the overclock (actually underclock) as my phone sits idle alot throughout the day just synching emails with the screen off so this should help tremedously.
IceCreaMan said:
thanks, i'll try the overclock (actually underclock) as my phone sits idle alot throughout the day just synching emails with the screen off so this should help tremedously.
Click to expand...
Click to collapse
There have been mixed reviews on how well that modification is working. I would say keep a close eye on your battery levels when you attempt this. I tried, and my battery dropped 23% in 15 minutes right after I took it off a fresh charge. I'm not sure if it was the overclocking widget causing this or something else but there has been a lot of varying results. I'll have to test it out again later.
Goodluck to you!
It should be noted that the "overclocking" is actually underclocking, which the EVO does automatically. There is no need for an additional widget to control this.
Sticky IMO
Changed the section to be overclocking/underclocking.
Also added Flip's rom to the list, as I've been keeping up with that thread and it seems like a lot of users are reporting substantial performance gains.
Let me know if there's anything else that needs to be added!

[INFO] Post preferred Set Up for the best Performance and Battery Life on your Rom!

Due to the overwhelming amount of posts in many Rom threads, it is quite difficult even with the search option to find what you are looking for. As many of us who visit XDA on a daily basis realize, a large number of these posts are very repetitive. "Which kernel should I use for the best battery life?" "What Kernel will be the smoothest on my phone?" "Oh you have (Insert Kernel Here) Kernel, what kinda of battery life are you getting?" The questions in regards to battery life, kernels, and performance go on and on. I came up with an idea for a thread and after talking to a MOD about it decided to go ahead and get it started.
The Purpose of this Thread:
-Compile fellow EVO user's experiences with certain Rom and Kernel setup's in order to help all of us get the best performance and battery life with our EVO.
-To help cut down on the amount of repetitive posting about Kernels, Battery Life, and SetCpu in Rom threads. This is a forum and it is about makings posts, but many times people end up posting questions related to these things that have already been answered but may be hard to find.
-To give members a central thread for optimal performance based on other users experiences.
-To help other members find what Kernels, SetCPU settings, and other options will work best based upon their Hardware version.**I bring the hardware version up because it seems like certain things I.E. Kernels and certain settings do not play well with certain Hardware versions of the Evo.**
-To provide an Informational thread based on your experiences to help out everyone.
Please Note:
-This thread is NOT a place to go to war with others over which Rom is best or to bad mouth other Roms, everyone has their own preferences remember that.
-In order to keep this thread as clean and productive as possible, PLEASE REFRAIN FROM ASKING QUESTIONS HERE!
-If you have a question for an individual, PM them.
-If you have a question in regards to a Kernel, refer to the kernels thread.
-If you have a question in regards to SetCPU use the Q&A or your roms thread.
-If there is a basic question that often comes up on the Evo forums I will try to
provide links to the information.
-This thread is to be NON BIASED.
**My hopes would be that enough members post their personal stats and info here that on an OP I can list each rom, the hardware versions of the phone and what set ups seem to work the best with them. This info would be based on a general consensus based upon the information posted here.**
What to Post:
-Rom and Rom version that you are using. (I.E. Myn's Warm TwoPointTwo RLS 4) PLEASE make the font for this RED so users can easily spot which rom you are on when looking through this thread.
-Current Software version on your phone. (I.E. 3.30.651.3)
-Hardware version of your phone. (0001,0002,0003 or 0004) Please make this RED also.
-This is found under: Settings>About Phone>Hardware Information.
-The Kernel that you are using, the full name. (I.E. netarchy-toastmod-4.2.1-cfs-bfq-havs-more-smartass-universal)
-SetCPU? If so, what kind of settings are you using?
-Any kind of battery tweak? (I.E. Colin pH method)
-How would you rate your usage, and what is you awake time? (I.E. Minimal, Moderate, Heavy)(Awake Time:Settings>Battery)
-On a day to day basis what do you use your phone for?
-What kind of battery life are you getting? (On full charge: I.E. 16 hours)
-The Pros/Cons of this setup. (Cons if there are any)
-Why you would recommend this set up to others? (Again, please do not use this to slander other roms)
If you choose to contribute to this thread, Thank you for reading through this and for your contribution. I think if we can make something of this thread we can all benefit a lot from it. If you have any suggestions on what I should add to this please feel free to post it with your info or PM me if your not posting. I will try to update as much as possible, and of course that will depend on the reply that I get.
Reserved for future use
I would state the awake time instead of asking if they are a moderate/heavy...seems less opinionated even though someone with 5 hours awake time with idle cpu is not the same as 3 hours under heavy load.
surrealmethod said:
I would state the awake time instead of asking if they are a moderate/heavy...seems less opinionated even though someone with 5 hours awake time with idle cpu is not the same as 3 hours under heavy load.
Click to expand...
Click to collapse
Thank you sir, I went ahead and just added it in with it. Then we get the idea from both ways. If you have anything else just let me know. I would appreciate it!
i think you should post what kind of battery you are using
is it the standard 1500 mAH battery or the other extended battery
so people won't get lost
This is a good place to start, but it's difficult to get a good idea because there are too many variables that affect battery life from user to user. In addition, my light usage could be your moderate. Then people run different programs which will affect identical setups. Just throwing these things out there if you wonder why you aren't getting the same battery life as someone with same setup.
I'll go first....
I actually think this is an awesome idea. I think the idea of "not every phone is created equally" is a little over-exaggerated with the evo. Maybe we can start finding some similarities.
Myn's Warm TwoPointTwo RLS 4
3.30.651.3
0003
HTC Kernel #17. (I also tried the King's #11 (i think) and got horrible battery drain!)
Not using SetCPU
No Battery tweaks
Moderate usage. Not sure on awake time. I will edit this later today to add.
Mostly phone calls. A couple of texts and emails. Some games while I'm on the throne. The occasional web search.
I get maybe 12-14 hours of battery life.
PRO's:
-it's pretty looking
-a themed rosie launcher.
CON's:
-I got better battery life with Fresh 3.4.0.1 and stock kernel.
-Doesn't offer the original HTC #11 kernel like Fresh does. Anyone have a link to it?
I would recommend this setup to anyone that wants a good looking rom that has lots of customization options. I use it mostly because of the look of it. But, it is quick, scores well on quadrant, and gets decent battery life... It is not the best I have found... but it will get you through most of a day on moderate usage.
---
Can someone tell me... does the battery life depend on how the kernel plays with the ROM? I could get about 20-24 hours of battery life on Fresh with kernel #11. Now that I'm on Myn's and I could find the #11 kernel again, would I get the same battery life?
Good point. One of my biggest goals is to help people who wish to flash a custom kernel find the right one that is friendly with the Rom and most importantly the hardware version. Imo a rather a kernel is going to work with a phone or not has to do a lot with the hardware.
Sent from my PC36100 using XDA App

Battery Life Testing - Kernel + Rom Combo's

Iv always considered battery life a very important factor in my purchasing of a phone and was one of the big reasons i moved from my Desire HD to the Nexus S (amongst many others). However having been on the android scene for a while im used to tinkering with kernels and roms etc and due to the new battery graph in gingerbread im now able to make direct comparisons rom by rom and kernel by kernel to see how they all differ. This is all shown + explained below.
First id like to explain my method;
I install the rom and kernel with the same apps I always use and charge the phone fully until i am about to go to sleep. I then unplug the phone and leave it in the exactly the same place on my desk with exactly the same settings (sync intervals etc) and i kill all apps before i leave it just to make sure the test is fair.
In the morning i then take a screen shot of the battery life over the period of usually 8 hours and will upload this for you to see. I then look at the over-night battery drain as a comparison on how good battery life is on specific roms and kernels.
Justification - Many of you may be thinking who cares about standby battery life? I care about the battery when im using it!?
Well although that's valid there are many reasons i have taken this approach;
1. It is completely fair i.e. no individual differences such as 'im a heavy user' but we all have different definitions of a 'heavy user'. This is eliminated by the fact the phone is not used and thus the same every time (no individual differences)
2. If a phone has severe battery drain during sleep general knowledge should dictate that battery drain should increase when the screen is on, cpu is working and your syncing your facebook wall, thus a direct correlation with sleep battery drain and usage drain should be apparent.
Therefore i have decided over the next few days/weeks etc i will upload on a regular basis a screenshot of the battery drain over night, along with the battery use details and screen on time etc etc. In addition to the rom and kernel info and i hope that over time this proves to be a very useful thread.
I have been doing this over the last few days on a less strict system and there have been some VERY interesting results which i will upload over the next few days.
(Just a final note iv never really done anything like this on xda before so if its a stupid idea then please tell me now so i dont waste my time doing it, however if people are really interested please let me know and il make sure i do my best!!)
Thanks for reading my extremely long post!
Bratfink
SCREENSHOT 1: This was using modacos custom rom r10 and the kernel that comes with it, i had quite a short sleep (about 6 hours) but the curve pretty much shows what the point im trying to make is. The battery life is great!!
SCREENSHOT 2: This is CM7 Nightly build 27# with Netarchy's latest 1.2.1 kernel and although i didnt use the screen once of charge for a few minutes as you can see once the screen was off battery life barely decreased and was over a long period of time.
If anyone wants me to test specific combos please let me know.
I'm actually looking forward to reading your results.
Sent from my Nexus S using XDA App
Yep, this would actually be pretty useful. Good luck and good work!
i'm a sucker for these types of tests, always love doing them and seeing the results. post soon!
I like others will be keeping an interested eye on your findings.
Uploading pictures of modaco r10 with it's own original kernel today. Its an interesting result!
Sent from my Nexus S using XDA App
Uploaded to OP
I'm interested too.
Can u try modaco r10 with Netarchy 1.2.1 kernel.
bratfink said:
Iv always considered battery life a very important factor in my purchasing of a phone and was one of the big reasons i moved from my Desire HD to the Nexus S (amongst many others). However having been on the android scene for a while im used to tinkering with kernels and roms etc and due to the new battery graph in gingerbread im now able to make direct comparisons rom by rom and kernel by kernel to see how they all differ. This is all shown + explained below.
First id like to explain my method;
I install the rom and kernel with the same apps I always use and charge the phone fully until i am about to go to sleep. I then unplug the phone and leave it in the exactly the same place on my desk with exactly the same settings (sync intervals etc) and i kill all apps before i leave it just to make sure the test is fair.
In the morning i then take a screen shot of the battery life over the period of usually 8 hours and will upload this for you to see. I then look at the over-night battery drain as a comparison on how good battery life is on specific roms and kernels.
Justification - Many of you may be thinking who cares about standby battery life? I care about the battery when im using it!?
Well although that's valid there are many reasons i have taken this approach;
1. It is completely fair i.e. no individual differences such as 'im a heavy user' but we all have different definitions of a 'heavy user'. This is eliminated by the fact the phone is not used and thus the same every time (no individual differences)
2. If a phone has severe battery drain during sleep general knowledge should dictate that battery drain should increase when the screen is on, cpu is working and your syncing your facebook wall, thus a direct correlation with sleep battery drain and usage drain should be apparent.
Therefore i have decided over the next few days/weeks etc i will upload on a regular basis a screenshot of the battery drain over night, along with the battery use details and screen on time etc etc. In addition to the rom and kernel info and i hope that over time this proves to be a very useful thread.
I have been doing this over the last few days on a less strict system and there have been some VERY interesting results which i will upload over the next few days.
(Just a final note iv never really done anything like this on xda before so if its a stupid idea then please tell me now so i dont waste my time doing it, however if people are really interested please let me know and il make sure i do my best!!)
Thanks for reading my extremely long post!
Bratfink
SCREENSHOT 1: This was using modacos custom rom r10 and the kernel that comes with it, i had quite a short sleep (about 6 hours) but the curve pretty much shows what the point im trying to make is. The battery life is great!!
If anyone wants me to test specific combos please let me know.
Click to expand...
Click to collapse
Sent from my Dell Streak using XDA App
I'd be interested in seeing CM7, just whatever nightly build you manage to catch.
I don't think that result will give you precise result.
I found that statistic is wrong sometimes.
It is better to measure using "play video loop".
So, find a movie, set to the same brightness and play in loop?
gogol said:
I don't think that result will give you precise result.
I found that statistic is wrong sometimes.
It is better to measure using "play video loop".
So, find a movie, set to the same brightness and play in loop?
Click to expand...
Click to collapse
Unfortunately that will not give you how well the rom does while it is idle.
I'm really looking forward to your results. My only issue with this phone is the battery life is terrible. I ordered an extended battery off Ebay 3 weeks ago and have yet to receive it. Never ordering anything from Hong Kong again!
Fuse8499 said:
I'm really looking forward to your results. My only issue with this phone is the battery life is terrible. I ordered an extended battery off Ebay 3 weeks ago and have yet to receive it. Never ordering anything from Hong Kong again!
Click to expand...
Click to collapse
What were you using before that you consider this phone to have bad battery life? By far this phone has the best battery life of any Android device I've owned. If you want bad battery life, get an Evo. That is horrific battery life.
bratfink said:
Uploading pictures of modaco r10 with it's own original kernel today. Its an interesting result!
Sent from my Nexus S using XDA App
Uploaded to OP
Click to expand...
Click to collapse
I am looking forward to the rest of these, however just a quick question. What was your battery use like in that situation with the stock ROM? Just for reference, because I'm thinking I might switch to modaco soon. Thanks!
More soon
Iv got a few more screenies but it seems i may have to end this thread prematurely. Its the SNS or 2.3 but idle battery usage for me is pretty much identical no matter what the kernel or rom (il upload a CM7 + Netarchy 1.2.1 shot top op). This was unexpected on my behalf because with my DHD kernels and roms had a big impact on idle battery consumption. I have noticed however that without a full wipe when changing some kernels such as with M r10 idle battery life can increase drastically. I will continue for the next few days and if i dont see any big changes i may move method to a video loop or something of the sort.
Interesting find
I found out something today that may interest may of you. I was messing around with the sleep profiles on SetCpu with netarchys kernel and i found that its better to leave the range from 100-800 than 100-400 or less. This i believe is because when the phone is asleep and carries out a process it will be forced to clock to the maximum of 400mhz and then stay at that speed for 10 seconds, instead of say going up to 800mhz for 1-2 seconds to complete the same process. So a tip to you would be set your profile to 100-800mhz conservative and see what you get!
bratfink said:
I found out something today that may interest may of you. I was messing around with the sleep profiles on SetCpu with netarchys kernel and i found that its better to leave the range from 100-800 than 100-400 or less. This i believe is because when the phone is asleep and carries out a process it will be forced to clock to the maximum of 400mhz and then stay at that speed for 10 seconds, instead of say going up to 800mhz for 1-2 seconds to complete the same process. So a tip to you would be set your profile to 100-800mhz conservative and see what you get!
Click to expand...
Click to collapse
This kinda enforces the point that SetCPU is useless for the NS unless you really want to overclock...
Any battery saving tactics used buy lowering screen off profiles are counteracted by the system process;( So i think in the context of battery life you are probably better to not use SetCPU
JD
bratfink said:
Iv got a few more screenies but it seems i may have to end this thread prematurely. Its the SNS or 2.3 but idle battery usage for me is pretty much identical no matter what the kernel or rom (il upload a CM7 + Netarchy 1.2.1 shot top op). This was unexpected on my behalf because with my DHD kernels and roms had a big impact on idle battery consumption. I have noticed however that without a full wipe when changing some kernels such as with M r10 idle battery life can increase drastically. I will continue for the next few days and if i dont see any big changes i may move method to a video loop or something of the sort.
Click to expand...
Click to collapse
I would definitely move to a video loop or some other 'heavy use' task because when you think about it, not too much can really be changed when almost no power is being used in the first place.
You could also just mention your general feeling for the battery life of each rom, because quite often that is what I go by as my usage varies depending on a range of things (school day or weekend etc) .
Sent from my Nexus S using XDA App
Could you please test modaco r10 with Netarchy's latest 1.2.1 kernel ?
I would love to see the difference between modaco's default kernel vs netarchy's kernel.
On CM nightly 13, I just went 11 hours and I'm at 90%. That's 1/2% an hour. Not bad. That is with stock kernel.
Sent from my Nexus S using Tapatalk

Major Power Regression in Linux 2.6.38 kernels

Because of this post and this article I did more digging and playing around with earlier kernels vs. 2.6.38
What I found out is that my phone's battery life almost doubles each time I flash older kernels, based on say, 2.6.37 such as Tiamat 3.3.7.
I've tried most of the most popular 2.6.38 based kernels out there, such as Tiamat, Savaged-Zen, TigerBlood, GoDmOdE - my battery lasts significantly less with all of them comparing to pre 2.6.38 kernels. I should mention I have not changed any settings, in between kernel trials, not a damn thing and I tested it without doing any overclocking.
Devs and Android users beware.
http://forum.xda-developers.com/showthread.php?t=695878
DomSim said:
http://forum.xda-developers.com/showthread.php?t=695878
Click to expand...
Click to collapse
this is not Q&A. This is important info for kernel and ROM devs to take into account, when they decide on direction of future developement endeavors
This is not development, you are not introducing a Rom or kernel, you are commenting on results from personal testing, essentially asking " why does this thing do what it do?"
NewZJ said:
This is not development, you are not introducing a Rom or kernel, you are commenting on results from personal testing, in essence asking " why does this thing do what it do?)
Click to expand...
Click to collapse
If the mods think it doesn't belong here they'll move it. Personally, I think this needs to have high visibility and needs to be sticky topic.
Moved to General, ill gladly move back when it has some factual data .(as in numerical, comparisons ect)
I'd have to agree with the OP. Im at work from 9-5 mon-fri and I do alot of kernel testing. The 3.3.7 tiamat and earlier savage zen kernels give way better battery life than the newer 2.6.38 based kernels. I also feel like my battery and performance is better using .37 kernels and its funny you brought this up!
For what it's worth, pretty much each revision of Tiamat (and possibly other kernels) are less and less undervolted, which may affect things to an extent. I'm not saying that's the sole source of decreased battery life, but it's a factor nonetheless.
that is true of sz. Blaim all the complaining people... and very picky evos.
jug6ernaut said:
Moved to General, ill gladly move back when it has some factual data .(as in numerical, comparisons ect)
Click to expand...
Click to collapse
Numeric comparisons between different kernels might upset the kernel devs, whose battery "benchmarks" in my testing are lower. I feel it wouldn't be fair thing to do
Also, it's pretty hard to provide objective numeric data, because battery drain heavily depends on the type of usage, and even though my day-to-day usage is similar, its not quite the same, so those numbers would not be accurate.
If it helps - I get ~17 hours of moderate usage with 2.6.37 or earlier kernels and I'm lucky if I can squeeze 9 hours with the same usage out of 2.6.38. And that info is more or less accurate for ALL 2.6.38 kernels across the board.
Consider this: if toastcfh, the rest of TeamWin gang, Cayniarb, Savaged-Zen crew and other devs miss this info because the thread was moved - it'll be our loss...
Aren't these kernels meant for 2.3.4?
midget tossing is habit...2010 midwest regional champion... hw 001
Apo11on said:
Numeric comparisons between different kernels might upset the kernel devs, whose battery "benchmarks" in my testing are lower. I feel it wouldn't be fair thing to do
Also, it's pretty hard to provide objective numeric data, because battery drain heavily depends on the type of usage, and even though my day-to-day usage is similar, its not quite the same, so those numbers would not be accurate.
If it helps - I get ~17 hours of moderate usage with 2.6.37 or earlier kernels and I'm lucky if I can squeeze 9 hours with the same usage out of 2.6.38. And that info is more or less accurate for ALL 2.6.38 kernels across the board.
Consider this: if toastcfh, the rest of TeamWin gang, Cayniarb, Savaged-Zen crew and other devs miss this info because the thread was moved - it'll be our loss...
Click to expand...
Click to collapse
so you know more about these kernels than these developers who rip them apart and rebuild them from scratch huh? and your gonna teach em all something right? sheesh...
Great thread, this is the type of stuff I like to know about. I am going to run a few short tests on Tiamat 4.0.2 and Tiamat 3.3.8 and see how noticeable the power consumption is between the two.
I call BS. To test properly.. you would need to wipe battery stats and calibrate between kernels. Then give it a couple days to settle. Also... there is no way to ever have the usage be the same if your actually using the phone. You would need to turn the radios off so that the service you are getting is equal. A whole bunch of other things too.. so basically you would need to not use it as a phone to test the kernel right.
Oh yeah, and also use the same under volt.
Sent from my PC36100 using XDA Premium App
I ran a 5 minute idle test with Tiamat 3.3.8 and 4.0.2 with all radios turn on and governor set to performance. The power consumption was logged by PowerTutor.
I parsed each log to pull the total-power measurements and then averaged the middle 25% of the measurements to ensure they were from the phone's true idle state.
Tiamat 4.0.2 - 52mW
Tiamat 3.3.8 - 53mW
So essentially they are almost identical. Of course the 4.0.2 does have lower voltages in HAVS and the radios were on, so there could be room for improvement on these measurements.
Bottom line....even if 2.6.38 uses more power, you shouldn't even notice a difference between the two, due to HAVS voltage differences between these two kernels.
Redid the test with all radios turned off. Essentially these are CPU only readings. The power difference still seems rather moot. It could be a different story under intense CPU utilization though if the percentage difference scaled. I'll leave that to someone else though. Also, remember that these numbers are in no way entirely accurate...there is going to be a +/- deviation in any power consumption measurements unless it is done in a truly controlled environment.
Tiamat 4.0.2 - 5mW
Tiamat 3.3.8 - 2mW
aimbdd said:
I call BS. To test properly.. you would need to wipe battery stats and calibrate between kernels. Then give it a couple days to settle. Also... there is no way to ever have the usage be the same if your actually using the phone. You would need to turn the radios off so that the service you are getting is equal. A whole bunch of other things too.. so basically you would need to not use it as a phone to test the kernel right.
Oh yeah, and also use the same under volt.
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
I did recalibrate battery for each new kernel...I put a couple of weeks of hard work into this and I started well before I saw that phoronix article because I knew something is up. I'm sorry if this is not good enough "proper testing" for you. If you chose to be ignorant and pretend the issue doesn't exist - its your decision of course, but many others would want to know.
As per your advice to turn off the radios - what if the power hog regression in 2.6.38 is related to one of them?
The power regression was solved by phoronix last week.
http://phoronix.com/scan.php?page=article&item=linux_2638_aspm&num=1
Basically, active state power management isn't being used properly. There needs to be modifications based around the parameter "pcie_aspm=force". An example in a different kernel git is below:
http://android-x86.tarot.com.tw/?p=...ff;h=d6d385743463f38a0da899cd4607e526ad9a049f
With this fix on my laptop (applied to GRUB), I saw an increase in battery life of 27%.
LifeInTheGrey said:
The power regression was solved by phoronix last week.
http://phoronix.com/scan.php?page=article&item=linux_2638_aspm&num=1
Basically, active state power management isn't being used properly. There needs to be modifications based around the parameter "pcie_aspm=force". An example in a different kernel git is below:
http://android-x86.tarot.com.tw/?p=...ff;h=d6d385743463f38a0da899cd4607e526ad9a049f
With this fix on my laptop (applied to GRUB), I saw an increase in battery life of 27%.
Click to expand...
Click to collapse
So in other words, the OP was right even though people doubted him?
Not surprised.
Hopefully the devs are aware of this and can incorporate it into their kernels.
mattykinsx said:
So in other words, the OP was right even though people doubted him?
Not surprised.
Hopefully the devs are aware of this and can incorporate it into their kernels.
Click to expand...
Click to collapse
+1
Bump
10char

Categories

Resources