yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] mawst95:
How does the voltage correspond to the clock?

Is 245mHz at the lowest voltage, with the voltage increasing in a linear fashion with clock speed? Or, for instance, are 245-460mHz all at the same voltage?

If the latter is true, then wouldn't it make sense to set your mininum to 460mHz? How does clock speed impact battery drain at the same voltage. In other words, if 245 and 460 use the same voltage, do they have equal drain over the same 10 second period of time? If they do, then setting your minimum to 460 would get a specific task done quicker than 245, thereby saving you battery.

On a related note, I've often wondered if setting your screen off min/max to 245/245 was a good idea. If your phone needs to perform a function with the screen off, it'll take far longer than if your phone could quickly ramp up to 1ghz, perform the task, then ramp back down. More generally, does performing task X in 3 seconds at 1gHz use less battery than performing task X in 12 seconds at 245Hz.

Sorry for the noobness. I'm not an electrical engineer.
[EVO 4G Android Development] barnacles10:
The kernel incorporates HAVS, which scales the voltage actively if you will. So yes, when you hit min, 245, your voltage will scale to 825. As your clock goes up, the voltage increases to support the cpu.

As for screen off underclocking, I used to do it all the time, but as of recently I have experienced lag in my notification tones when undervolting and underclocking with the screen off. Because of this, I have disabled all my profiles.
[EVO 4G Android Development] cadbomb:
Actually, I had this same thought coming from many years of OC experience with computer proc's... My *thoughts* on this would be that although they may run at the same voltage, you're still going to be pulling more amperes out when the clock speed increases because it will run more cycles/sec, meaning that more pulses of electricity pass through the core. So either way, you're going to pull more battery... Somebody correct me if this doesn't make sense, again it's just a thought...
[EVO 4G Android Development] cadbomb:
Try setting your profiles how mine are set and see if you notice a difference... http://xdaforums.com/showpost.php?p=7855791&postcount=2266 ... I had the same problems as you describe with lag, but no more with these profile settings...

@kingklick - I'm not entirely sure I understand what the interactive scaling does... but it makes my phone come back from screen off mode quickly without any lag. Is that something that scales the cpu as I interact with the screen physically, or is for when an application needs it (foreground processing)? Perhaps you have mentioned this before and I didn't catch it, if so drop a link? :)
[EVO 4G Android Development] barnacles10:
Thanks sir. I had the governor set to powersave min 128 Max 245. I changed the governor to on demand and now the sounds are working fine again. There is a tiny bit of lag still right when I power the screen on but I'm okay with it for now. If it gets annoying ill ramp it up a bit.
[EVO 4G Android Development] wsantiagow:


Ive done the same thing in disabling all my profiles too.
[EVO 4G Android Development] playya:
I do the battery trick in the morning and usually I only lose 1% every 1.5hrs with 3g off for the first few hours with light texting...running no. 6 but even the last few its been pretty good. I also run Overclock widget and not SetCPU
[EVO 4G Android Development] mntbkr:
little off topic but, help a brother out, what theme are you running? I like it. I see you're running Baked snack, is that the stock theme?
[EVO 4G Android Development] mcrumps:
That is manup's theme (which is the theme on baked snack)...And then he flashed manup's second font set overtop of it!

First off I love this kernel! I'm running bfs #6 and it runs great for the first few hours... then I run into horrible lag... and horrible battery drain. I am using setCPU and my main is 1119/ 245 interactive. The only profile I have is screenoff 499/245 powersave. When I turn my screen on, I am introduced to horrible lag. No matter what I did in setCPU, nothing would change... so I looked at "time in state" under the info tab and it seems that it would just sit at whatever I set the min to. I can reboot and everything is great again... bit I don't feel like doing this everytime

Anybody have any insight?
[EVO 4G Android Development] infamousjax:
Getting pretty decent battery life with this kernel:
[EVO 4G Android Development] daneurysm:
Ran #6 since minutes after its release, seemed to perform will but my battery life was nowhere near as epic as with #5...and I tried to get mega epic battery life by battery calibrating low screen brightness and under clocking all day...and still didn't do nearly as well... so I reverted and #5 seems a bit snappier and my awesome low power consumption is back in effect.

Take that for what its worth...just tring to help.

Thanks again king klick...best kernel yet...
[EVO 4G Android Development] jasongthang:
again, what were you doing during that 31 hours?

6 hours of awake time (using the phone)

say another 7 hours of no use because you were sleeping. (understandable)

so 18 hours of "no point in having a smart phone" while you went about your day.

not ripping on you or anything, and i know im coming across as a jerk. You are right, thats good battery life. But you probably have a bunch of stuff turned off, you didnt use the phone much, and were careful with what apps/texts/calls you had.

I have a verizon Boulder work phone, and that thing will last 2 weeks probably if i dont touch it.

I want to see a close Up time and Awake time of 31 some hours. THAT would be awesome. I'd pay for that rom
[EVO 4G Android Development] Rocklee99:
I have to say, with very little use, i can get around 80- hours

So I have to say kings, u did a great job

, thanks!
[EVO 4G Android Development] rebosxl:
Seriously its pointless to even talk about the battery life u get for ignoring your phone. It's like taking 200 dollars and just putting it on the table and staring at it, its useless if u don't spend it.
[EVO 4G Android Development] Unleashed2k:
I can't get "wireless n" to work. I'm going to try another ROM with this KERNEL, but I'm not sure how to get it working.
[EVO 4G Android Development] infamousjax:
I do use the phone. I'm not constantly on it but I get text messages all day and probably had around 6 phone calls. I mean, like I said I'm not always playing with it, because I'm in school for 9 hours a day. And I sleep for around 8 hours a night... so I guess you wouldn't call it heavy usage.

You have no right to tell me that I don't use my phone like I should. I browse the internet, listen to music, check email (a lot), and make calls, take pictures, etc. What am I supposed to do? Just because you're getting bad battery life, don't come up with excuses and bash me :P

By the way, I had everything turned ON except bluetooth. Also running System Panel and Lookout the whole time. WIFI was on the entire time even when I was not in WIFI zones.

I never claimed I had extremely heavy usage, all I said was I get pretty good battery life. A lot better than it used to be. No need to get bent out of shape.

EDIT:

The reason I got the Evo is so I have all that power there if I need it. Like if I get lost I have maps. If I need to look something up I have internet. Bluetooths and 4G are there if need be. I'm not the asshole who's constantly on my phone in public places and ignores everybody :P Just kidding, I am sometimes. But my point is, just because I don't have 20/30 awake hours doesn't mean I don't use it and I shouldnt have a smartphone. We all use things differently :)
[EVO 4G Android Development] thenewguy821:
6 1/2 hours awake time out of 31 hours up time, is still 20% usage. That fits into the "I have a smartphone AND a life" category. Sure, it may not be HEAVY usage, but it is still enough usage to see how the phone will handle "Real-World Usage". It shows that even with some more usage on a "Busy" day, you won't be looking for a charger halfway into the day.

On the other hand, the other pic, (14 hours up time, 30 minutes awake) doesn't really give an accurate idea on the battery life... 1 extra phone call a day can throw those numbers out the window.....

JMO
[EVO 4G Android Development] Rocklee99:
Well the only reason I said that I got that long battery was because I was really busy today for more than 13 hours
[EVO 4G Android Development] Unleashed2k:
I have Baked 1.5 and this kernel installed but wireless N does not work. I've tried g & b and both connect, but no go for when I force n. How can I get N to work?
[EVO 4G Android Development] freeza:
Let's try again:

Does. This. Kernel. Support. Apps2SD??
[EVO 4G Android Development] Biofall:
Hahaha I've seen you post this like four times.

What do you mean? I didn't think you mean like installing apps on the sd card
[EVO 4G Android Development] driguez:
Alright "stable Co" has not been so stable to me. I just had 3 random reboots while using the indeed app, while having 2 more earlier today, going back to 6 for now.
[EVO 4G Android Development] kingklick:
Go back to cfs then if bfs doesn't work well for you
[EVO 4G Android Development] cadbomb:
So I just wanted to share something that came to mind while reading these latest posts about battery life... It seems that a lot of us (including myself up til this post) have forgotten what our phones were like prior to having these wonderful kernels to play with... I remember having this terrible feeling... "CRAP! My battery's already dead? How? I've hardly touched my phone today...?!?" I'm sure many of you can relate... I think that the fact we're able to now get 20, 30, 40hrs out of a charge is SOOO much nicer... The great thing about these kernels is that they help preserve the battery when you're not using the phone, unlike the stock kernel. And I don't know about the rest of you, but the fact that I now have peace of mind that my phone is not going to drain itself in standby after 8-14hrs is outstanding... I can tolerate my battery draining if I'm actually using it, and I expect it no matter how much undervolting or underclocking I do, but not when it's in standby. That's a serious flaw that has been at least thwarted by these kernels. That's just one less thing for me to have to concern myself with on a daily basis... Questions of who's battery life is what and yadda yadda really isn't that important in the truest sense of battery vs performance. How you use your phone will always determine your individual battery life, as such there can be no true comparison between users and their phones. Each experience is derived from the user and the user alone.

Sorry, I just needed to clear the air.. slander away ;)
[EVO 4G Android Development] cadbomb:
Yes... I had this problem also with the screen off profile... set the governer to interactive with the same clocks your using for your screen off profile and see if you notice a difference... The Powersave governer forces the cpu to run at the min speed for a long period of time before stepping up in speed, or at least in my experience. Setting to Interactive seems to work better than OnDemand does from my testing. Look on page 227 for my setcpu profiles. I have almost no lag problems at all with it set like this, and battery life is still great. :)
[EVO 4G Android Development] DanBergundy:
I finally had my first good battery day ever on this phone. Using #6 now. Was on track to hit 15-18 hours! I would be soo happy with that! Hopefully tomorrow is just as good...
[EVO 4G Android Development] nugzo:
Never. Not even with a 3500mah battery. unless maybe you dont make any calls and its on standby/screen off the whole time. :(
[EVO 4G Android Development] Unleashed2k:
So with anyone that has wireless "n" working (and have tested they have speeds over 15 mbits/s) what 2.2 rom do you use? and you use CFS right?
[EVO 4G Android Development] freeza:
lol seriously dude people like to just flat out ignore questions then get mad when you post threads about it!

I'm using a ROM that supports Apps2SD and i have an EXT3 partition on my microSD card with a bunch of apps on it. So, i'm wondering if this kernel supports apps2sd so that if i flash it, it will recognize my apps like netarchy's kernel does.
[EVO 4G Android Development] sqweez:
definitely a great kernel..currently clocking 1267 MHz....smoothly
[EVO 4G Android Development] srtpusher:
I had flashed 6 on top of stock deodexed 2.2 e2. wiped data, cache, and dalvik. it was freezing and rebooting whenever i would plug it in. it only lasted from 6am to 5pm with extreamly low usage. only stock apps loaded. gtalk turned off, facebook 1.32, agenda widget on homesccreen, auto sync off, but background data on, water live wallpaper running. my wife is a teacher and has the phone in a cabinet during the day. she doesn't turn it off because she can check to see if i texted her about something during quick breaks in the day. she doesn't want to have to wait to boot.

i wiped again and reflashed the same ROM and 6 again. wiped the DCD (data, cache, dalvik) the first time and cache x3 and dalvik x3 each other time. this time, no issues when pluggin and unplugging device, but the device will not run stable with setcpu on performance. it freezes everytime. that is why it was freezing when i would plug in the phone. charging was the only setting that i would use performance on. the rest were set to conservative. i am going to try other settings and see what happens.

my wife is going to kill me if i don't get this right soon. LOL!

***update***

#6 is still locking up on performance setting at 119 :( 115 runs fps2d at a consistant 54 with a lowest stdev of 1.7 and high of 3.14

ran quadrant and got 1544.
[EVO 4G Android Development] Djay45:
Are you overclocking with setcpu? Did you let setcpu detect the device settings? Also most people don't use performance governor for anything but running benchmarks. Use interactive or ondemand. Someone posted earlier that if setcpu is causing issues, uninstall it, reboot, re-install and re-detect.
[EVO 4G Android Development] srtpusher:
uninstalled and rebooting right now. will post results. my wife needs battery life out of this, so performace settings won't need to be used. jsut kinda irks me a little (very little) that it can't OC to 119, let alone 120s...
[EVO 4G Android Development] wings9130:
My Wifi is not working currently with the newest updates #6 and #7. Is there something wrong with wifi currently?
[EVO 4G Android Development] srtpusher:
ok.. uninstalling and reinstalling allowed me to set perf to 119, but the benchmarks are better at 115...
[EVO 4G Android Development] wings9130:
nevermind it works.
[EVO 4G Android Development] SteelH:
2.6.34 kernel is out. I wonder what's changed?
[EVO 4G Android Development] Djay45:
Not all EVO processors will be able to OC the same. The only common denominator is that they can run at 998 stable other than that ymmv. Some people have posted than can't get past 1113 and run stable. At least you are able to run 1152.
[EVO 4G Android Development] Biofall:
Well I know you can have apps2sd in these kernel, so I guess what I would do since people are ignoring you is make a nandroid and try it; it will probably work
[EVO 4G Android Development] godfirst:
#5 its a lot better on battery then#6
[EVO 4G Android Development] Biofall:
Thanks for the heads up. Recently, because of school and my limited time, I have been waiting for a couple of days after a new kernel release so that people can test it for me. I used to be an early adopter, but I just can't do it anymore, so I rely on the eager community of XDA.

All that I can request is that you post some usage so I can tell what you mean, but other than that, thanks guys, and thanks King!
[EVO 4G Android Development] skyarcangel:
#6

i try #6 with baked snack 1.5 and in my experience its good battery becouse... have 12 hrs use with wifi, calls, browser pages, 4 vidz, 5 photos; twitter & ebuddy moderate use .. with setcpu configs.. have 70% yet :p i am mexican user to htc evo and not use 4g only 3g but is very slow and not use much i preferend wifi :D

My hope is helpful as some of you

thx kingx
[EVO 4G Android Development] godfirst:
It drains a lot quicker, usually with 12 or so hrs of moderate usage I'm down to 48% with#5 and that's including using it at work, but as soon as#6 is 100% charged it starts to drop%.
[EVO 4G Android Development] Just_s:
Not that it really matters as you seem to be happy with your battery life, but setting the same priority on two different profiles (Charging AC/Full and Battery < 20%) is generally not advised. Under certain conditions, the setting for the present condition may stick.

For example, if you happened to be below 20% when you plugged the phone in to charge via AC, it would likely stay at the 576max/245min - Conservative setting. This is because there is no priority variance to instigate a change to the Charging AC/Full, 998max/652min - Interactive setting. I'd recommend moving one setting or the other up a notch. Just a thought.
[EVO 4G Android Development] Just_s:
I'm a little shocked that there are so many posts like this regarding #6. My battery has been phenomenal on #6. I loved #5, heck i loved #3, but I am getting at least 24 hours the past three days on #6. And that is at 43% use!! (30% standby and 27% idle)

Unplugged at 100% yesterday (Thursday) at 8:27am, didn't drop to 99% until 9:41am* (screen on five or six times to check time, notifications, weather) and it now sits at 10% (9:56am Friday). *This was the first time I trickle charged the battery in a wall charger BTW. What a frickin' difference, best $ I've spent!!

That is roughly 3-4 hours more than I was getting on #5, which was already amazing. Keep in mind that this is a well used phone. Last weekend I forgot my phone while it was running #5 and ended up with minimal use (18%), I made it 43 hours on one charge. I could probably go three days with minimal use on #6 (though the likelihood of minimal use from me is rare.) I consistently use my phone more than 40% of the day and often 60-70%, so if I'm getting 8+ hours I'm ecstatic. I remember squeezing the last bits of juice out of my iPharce to get to 6 hours and plugging in my Curve in at noon to keep my email coming.

I post a lot of these battery/usage comments because I see that the perception does not always match the reality in these forums. The reality is that the battery life on the EVO has improved dramatically since day one and it is already better than many smartphones out there. And through the efforts of Netarchy, King, Hero, Cyanogen and others, it continues to improve. The thing to remember is that you MUST give each change (ROM, Kernel, OS) a chance to stabilize before you judge the true performance. Some times you'll get a feel for a new kernel or ROM right out of the gate, but you really can't know how it will perform without giving it a good run over 24 hours. And ALWAYS wipe before flashing or you may as well be eating dinner on last night's dirty plate. All the leftovers will affect things. If you get a routine of checking the same things (settings, apps, wipe cache, nandroid, etc...) every time you make a major change, you should have pretty good luck with improved performance.

Screenies:

Focus on the Notification bar 100% at 9:39am, unplugged at 8:27am.

Again, focus on the Notification bar 99% at 9:41am, unplugged at 8:27am. That is 1h 14m at 100%!!

The "19h 2m 10s" indication is due to having to plug in via USB for a few minutes at Noon on Thursday to fix something. The true time is 8:27am Thursday to current (about 25 hours.)
[EVO 4G Android Development] Darian89:
So why am I not experiencing this 19+ hrs of 1 charge?! I wiped cache & dalvik before flashing 6....I'm running latest Fresh ROM with my these setcpu profiles

Conservative min 245 max 245

Screen off min 245 max 245

Charging min 245 max 1190

My battery drains instantly when I take it off the charger, is there anything I can change besides the ROM?

Sent from my Fresh Evo
[EVO 4G Android Development] Jsimon9633:
The rom is not what causes the immediate drain after taking off charger. Wont solve it to switch roms

Only real fix I have seen is using an external charger for battery
[EVO 4G Android Development] danrutenberg:
I'm having problems with pairing my blueant q2 Bluetooth headset. It's a regular one ear headset but pairs as a stereo device to get music and all sounds to play through it. My cheap plantronics Bluetooth pairs just fine. What gives? Anybody have similar problems or answers? Using newest fresh Rom with bfs #6 kernel
[EVO 4G Android Development] Darian89:
just reading the forums its dropped 12%! Seems like its getting worse as others come out...

Sent from my Fresh Evo
[EVO 4G Android Development] rebosxl:
I knowwwww! It's terrible, I mimic the same usage pattern I used to have since I got my phone and for the past few days I can't get to 1 pm without low battery. I used to get it after 6pm.

I have so many kernels on my SD card that I don't even know which one gave me the best battery life lol

Sent from your momma
[EVO 4G Android Development] YACO:
i guess it makes sense to blame the kernel for battery drain since most of us just installed a new one...

Truth is, there are a lot of other variables to consider...

Reception is a main one... if you're in poor reception your phone will keep searching for better signal and draining more battery. Email push does too... if your phone is set to update as you get more emails, guess what, the days you get more emails it will eat up more battery.

Just saying that you can't point out 1 thing when there are other environment items that could be affecting your battery... that's why it's most reports of battery usage are useless... since we can't account for all other variables.
[EVO 4G Android Development] cadbomb:
Actually, that's potentially true, but the "Battery <" is only in effect when unplugged and running on battery afaik. But good point either way, doesn't hurt to change it :) Good lookin' out!
[EVO 4G Android Development] mrvirginia:
i found that netarchy's 4.1.4 had vastly better performance and battery saving with my ROM over version 6 of BFS.
[EVO 4G Android Development] DataDork:
has anyone gone back to # 5 bfs to compare .. if so, did your battery drain decrease?
[EVO 4G Android Development] chino0131:
I agree with you. #6 does seem quicker though, to me at least. My quadrants are higher and overall scrolling doesnt have as much lag. Sense also performs a lot better with regards to scrolling as well. This is a disappointment to me though since I love LauncherPro.
[EVO 4G Android Development] fastv8:
I found battery life of #6 marginally worse than #5. But, the reason I went back to #5 is because my signal dropped to nothing when running #6. This is in my office where I normally have 2-3 bars.

I had read a post somewhere yesterday that undervolting to 825mV caused issues with the radio not being able work effectively (I'm paraphrasing). That seems to be the case for me.

Thanks to KiNgx for the rockin' kernels!! :)
[EVO 4G Android Development] godfirst:
#6 was a little quicker my quadrants where better on#5, as well as the screen was more responsive on#5. I only have to touch things once with#5 but number 6 multiple times. I'm swyping on my evo now.
[EVO 4G Android Development] meatgel:
All true, but if you have the exact same setup and are in the same areas/situations on 6 as you were on 5 and the battery life is drastically different ... must be the kernel. Right?

I even tried wiping battery stats and "calibrating" the battery with info found in other threads -- trying not to blame the kernel. I watched CPU usage in Spare Parts and nothing was amiss.

I was lucky to get 5 hours on #6 with the same usage I have with past kernels. I went back to #5 and am back to my regular battery usage and expect to get my average 12-hour battery life.

I don't doubt the kernel is better for others -- apparently some of it has to do with the hardware. That's what we need to keep in mind. I have never gotten more than 51 fps no matter what kernel I use. I cannot clock over 1113 or my phone locks up. There was just something about #6 my phone doesn't like.

Weird, huh?