yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] luckylui:
Merry Christmas Everyone!!!!!!!!!

May God Bless every single one :D

Sent from Point A to Point B
[EVO 4G Android Development] xlGmanlx:
mele kalikimaka
[EVO 4G Android Development] Undef:
v7 user report - (Success, with a question)

ROM: DamageControl "3.7" (3.6 updated by xXxViRuSxXx to latest OTA)

Set to "BatterySaver" profile

The attached results are after letting the first charge run all the way down to 1%, then (HTC stock) wall charger for about 10 hours. Removed from charger at 19:40 and returned to charger at 19:42.

I basically never see positive mA numbers as the charge approaches full. They hover around -4 to -8.

In all cases, since installing (first v4 then v7), battery percentage falls slowly off the charger, rather than the "normal" 10% in the first few minutes.

In other words, it seems to be working perfectly. Nice work, MS.

I'm still not convinced I've seen a good answer to why the voltage drops a huge amount when removed from the charger. I understand the charger voltage may be higher than the battery's, but I was seeing off-charger voltages of 4199 to 4204 before v7. Now, I only see numbers in the 4140 range off-charger. Is that expected?

Undef

P.S. to readers: remember that the point of this thread is not to give you "amazing battery life" or anything like that. It's to give you the 7-10% of "missing charge" that the stock charging logic won't give you. If you unplug your phone from charging, and the charge percentage falls for the first few percent at the same speed it falls for the rest of the charge, you got the benefit. This kernel patch won't suddenly double your battery capacity ;)
[EVO 4G Android Development] nate.spangler:
less aggressive

The newest build 12/23 says more aggressive and I was one of the people who couldn't boot on any of the more aggressive undetvolting kernels. Any chance of a less aggressive version?
[EVO 4G Android Development] yamaford:
Try v2
[EVO 4G Android Development] ms79723:
Were you seeing 4199 - 4209 off the charger with other builds in this thread? Or with other kernels outside this thread?
[EVO 4G Android Development] jhoffy22:
ms,

what time zone are you in? do you ever sleep? lol
[EVO 4G Android Development] ms79723:
haha Central time. So it's almost 3am over here. Idk when I'm going to go to sleep, I'm working on the charging logic for the Droid Inc's SBC kernel
[EVO 4G Android Development] ms79723:
I got a PM asking if I would recommend setCPU and here's how I replied:

I put this here because I want to know if anyone else thinks this makes sense..or maybe this is all in my head.
[EVO 4G Android Development] ms79723:
Yep its fine with the stock battery. You dont have to limit the charging to an hour. It trickle charges, so leaving it on for an hour or 8 hours should show the same results. Yep thats it and no problem :)
[EVO 4G Android Development] sd2649:
Wow! I just woke up to feed my baby and my battery voltage (extended) was at 4.155 off charger. It has never been that high! It was still charging, so it will probably go higher, but man! It was on 100% for a whole 2 minutes, never had that. Never. Great job!
[EVO 4G Android Development] timdawgdentist:
Re dl'd 1st one must have corrupted. So far so good.

TIM
[EVO 4G Android Development] yamaford:
I hate hotfile it's got me locked out for 14 minutes becouse I'm going to redownload 129. Just flashed it and my led comes on for a second then goes out. Oh well. Off to wipe and flash what I have.

After wiping and flashing it charges bur it thinks it already at 100 but it was 88 before flashing. Back to recovery to wipe battery.
[EVO 4G Android Development] ms79723:
Your voltage was probably higher than 4.155V. It depends on what app you used to read it. So far, the best app that I've seen to read voltage is OS monitor, it updates every 2 seconds. So off the charger, just let it sleep for a minute then check the voltage in OS monitor and you'll get the accurate voltage. When using battery indicator, it said my voltage was 4.125V off the charger but OS monitor read 4.17V.

No need to wipe stats, it charges to max capacity once it reaches 100%.

update: I've only gotten 3 hours of sleep! what is going on here? I've been on 100% with my extended battery for long a while now. This is greatness.
[EVO 4G Android Development] raznalab:
It was pretty hard to not keep checking the phone but I feel asleep so it was cool. I woke up and battery monitor was at 0ma. I checked the history and it pretty much worked its way to 0ma and stayed there I don't see the anywhere in the night it going back up to 32ma and working back down.

It was steady on 4194mV,Unplugged and went to 4140mV, stayed at 100% for 4 minutes while reading through xda. Went from 99 to 90 in 20 minutes and that's from going through and reading and refreshing in xda app. Seems to stay at each percentage for 1-3 minutes. I have stock battery.
[EVO 4G Android Development] PhantomHacker:
Will flash this and see how it goes. Thanks. Nice idea.
[EVO 4G Android Development] tonwarr.the.incredible:
13 minutes off the charger, been jamming on XDA and battery monitor widget and I'm down to 96% with 3500maH battery but must confess I live in a low signal area...

Here's the stats from right before and after I took the phone off the charger. What's weird is I have it polling every 50 seconds but from 6:11-7:04 and 8:05-8:10, just a few minutes before I woke up, there is nothing recorded then shortly after it looks like the charge spiked from 8:10-8:13 when I unplugged it.

update.....28 minutes and at 93%. For some reason, I don't think the XXL extended batteries are getting the benefit the stock batteries are...at least not to the same degree but, then again, this is only the first charge and really won't know anything until I've run a few cycles I'm sure...

update.....1 hour 31 minutes and down to 83% now with fairly heavy usage...
[EVO 4G Android Development] jfoster38122:
I could not flash 129

I will DL it again

maybe corupt DL

Once I get a good DL if someone wants it via email I can do that to several people if needed

Hotfile has me at like 14 minutes also
[EVO 4G Android Development] ceg1792:
Just reporting in on your newest build.

Clocking in at 4208 on charger.

About to take off charger, been on for 3 hours, 1hour being in the green.

Time logging.

8:40 unplug to automatic drain to 99%

8:50 ten minutes and just down to 97%

If rate stays current we are looking at 18% an hour. That is closer to a full days charge than most get, seeing as within two to six hours you'll more than likely have a chance to charge your phonefor a little while.

9:00 - 91%

Slightly quicker decrease, that was with game play though. Not a very intense game, nova activated.

9:10	- 86%

5 minutes of inactivity as I brushed my teeth.. Next 30 minutes I will do normal morning activity as showering and drinking a glass of milk, maybe check my facespace. I will report percentage at 9:40.

Hours use with average use.

9:40 - 80%

In an hour my battery decreased by 20%.

Not that bad on indicator in status bar. Its considerably less than my normal battery icon by the time I'm to work. I'm going to have to say congratulations. Thank you for this and I hope to see more of your hard work.

In this last 30 minutes I edited this twice, once for rom build once for previous log. I sent 3 texts and received 4. Looked at rom and kernel build,and tried to figure out what rom I last flashed. No luck.

End of log.

Note: excessive use without stopping. Haptic feedback is on with swype. **Using an aosp rom**
[EVO 4G Android Development] frenchy714:
My phone functions best with the Netarchy 4.2.1. havs less aggressive undervolting....Will be working on a kernel with this base?? Thanks for your time and I appreciate all your work! :D
[EVO 4G Android Development] jfoster38122:
Ok here is what I get when flashing 129

missing file

system/xbin/12ping

installation aborted

file size I DL is 2.91 MB
[EVO 4G Android Development] nikcers:
i was only able to install with clockwork, i received the same ping12 error
[EVO 4G Android Development] jfoster38122:
I know this is stupid but how do I check that?

It's been so long since I have rooted I don't remember LOL
[EVO 4G Android Development] ceg1792:
Do a wipe, previous kernel most likely causing some problems..

Sent from my
[EVO 4G Android Development] thadirty:
Sweet...going to give it a try.
[EVO 4G Android Development] brad65807:
If hotfile is being stubborn, here is a dropbox mirror for 129

http://bit.ly/huaMDv
[EVO 4G Android Development] SteelH:
Would be nice to see this done to the lastest stock kernel, v2.6.32.17-gee557fd htc-kernel@and18-2 #15 which can be found HERE. I'd bet quite a few people would want it.
[EVO 4G Android Development] ceg1792:
Not sure if any of you have stated using a 1500mah battery, youre mistaken unless they are refurbished from hero or a chinese battery.

I have 2 red ones, which read 1800mah and 3 black ones. 2 from china 1 from my hero.

Sent from an unknown rom.
[EVO 4G Android Development] ms79723:
thank ya thank ya :) I mainly use hotfile because I have an account. I should probably use that multiupload site.

I need the config file from that and im not on that kernel so i cant get it. if you can do this for me:

./adb pull /proc/config.gz

and upload that config.gz file, i can make that kernel for you in about 5 mins after receiving it.

Idk if they release their source code...well i see that netarchy updated his base to .32.26, but I myself dont know how to do that :/
[EVO 4G Android Development] jhoffy22:
In theory, using SetCPU or other underclocking app to reduce CPU clock should reduce the power draw from the CPU, therefore reducing battery consumption.

However, underclocking does not reduce the amount of work that needs to be done. That is to say, whatever app or kernel processing that needs to be done will still be done. When UC'ed, they will be done at a slower pace, therefore taking longer time. In some cases, the UI becomes sluggish, requiring more user interaction time as well.

If, at 1Ghz, a process takes 10 seconds to complete and requires 10mA per second. This task should consume 100mA. By underclocking to 500mHz, perhaps the CPU takes only 6mA, but the task will require 20 seconds to complete. Now the task actually takes 120mA (plus the longer screen on time).

What do you think about it?
[EVO 4G Android Development] ms79723:
So having said that, underclocking the phone while the screen is off could possibly use more power depending on whats going on in the background, and whether or not apps are actually inactive. Because I know that underclocking my phone to ~500Mhz and using the browser was just as fast as 1Ghz on text based sites. But once I loaded up a site that had a lot of images and other content, it took forever. Now in this time frame of "forever" it just hung there. I couldnt interact with much, so a ton of power was being used but I wasn't gaining anything since the page wasnt loading as fast. Now that could be happening with the screen off. And the longer it would take to do something in the background with the screen off, the longer it will take for the phone to actually sleep, which would just use up even more power.
[EVO 4G Android Development] knixx:
Interesting

So if I were to disable setcpu, what would you recommend for optimal battery usage from say 7:30 am to 10 pm? Light - Medium load
[EVO 4G Android Development] ms79723:
What do you mean?
[EVO 4G Android Development] knixx:
I was under the impression that severely underclocking would be beneficial but your theory does have a point. If I wasn't to use setcpu to save battery what would you recommend I do? Just run my rom and your kernel vanilla or do you have any tips?

Sorry if I'm being hard to understand :(
[EVO 4G Android Development] ms79723:
That's waht I thought you meant, just had to double check. It's 4am over here haha.

And that's a good question. With any kernel, I say just trust the dev and run it barebones without setCPU. Setting all those profiles seems like overkill, the only possible reason why anyone would want to do that is if they're constantly using their phone, but even then the help isnt that much. Underclocking is not a good idea and really, it doesnt help much. Battery draining is literally just a slippery slope. With the screen on for a long period of time, that will raise the temp, which will cause a drop in battery percentage like crazy. It's easy to avoid having to keep our screens on that long if we are running at 1GHz. If we're running at 800MHz or something, there's the possibility that a task will take longer to complete which means we'll have to sit and wait, raising the temp and killing the battery.

And the absolute best way to save battery is to just let the phone sleep (obvious answer), but I say dont set any profiles in setCPU. With the phone sleeping, your temp stays low which is great for turning the screen on and doing some work with the phone. It's pretty much impossible to get +6 hours of awake time and 7 hours of uptime because of the slippery slope. But its really easy to get +6 hours of awake time when all the time on the phone is spaced out.

Now AOSP or Sense...both are pretty much the same when it comes to using power. AOSP really isn't all that better at saving battery, I'm pretty sure it's just the placebo effect because both use the same amount of power with the screen on and with the screen off, Sense kernels are much better at saving battery than AOSP ones (Netarchy's kernels are insane).
[EVO 4G Android Development] knixx:
Thinking of trying no profiles then

What would you recommend min/max and governor settings to be?
[EVO 4G Android Development] sbmf66:
Well I can't post up a screenshot. I haven't made enough posts yet. I better work on that.

Anyway it has been 13 hours off the charger, mow at 52%.

I would say medium usage, a few texts, checking Facebook and XDA mostly, some YouTube.

Bottom line I have never seen my battery go this long without a charge!
[EVO 4G Android Development] Biofall:
My phone was unplugged this morning after being charged all night, and instanly dropped to 98, then 96. Rawr

EDIT: Also getting negative ma's while charging.
[EVO 4G Android Development] mlmob:
Time in state null?

I don't think I've seen anyone post this, but while running 4.1.9.1 v7, is anyone else seeing time in state "null" while in the info tab of setcpu? Don't think I saw this with the 4.2.2 build...
[EVO 4G Android Development] BAttitude7689:
after flashing this kernel now when i load up set CPU, the only governors i have are "on demand" ; "conservative" ; and "performance" .... where is smartass? or interactive? is this just my phone or am i missing something
[EVO 4G Android Development] chazglenn3:
This isn't a smartass kernal, so the option isn't there. I assume the same for interactive, but I'm not sure.
[EVO 4G Android Development] Unknownforce:
CAn we please get a non-havs or less aggressive one for the latest release? All the more aggressive ones lock my phone up.
[EVO 4G Android Development] thebeast614:
Ok so I know people have been getting some -mA's but I switched from my stock HTC charger, which puts out 1A, to my wife's Epic charger, which only puts out .7A, and I only got 2 or 3 -mAs the whole night...with the stock I would get -2 and -4 like every 30 mins...I'm sticking with my wife's!

Sent from my Warm EVO :-)
[EVO 4G Android Development] d11dog11:
I am using SBC-net-4.2.2-more-havs-v4.zip on fresh 3.5.0.1 and my battery life has been better than I ever had including aosp roms. Amazing work. On a sidenote I don't see the one I am using as a download anymore. Was it pulled for any reason?

Swyped with my Evo 4g
[EVO 4G Android Development] thebeast614:
Yea it had some major problems with some phones I guess...one guy had 3 hours of bootloops after flashing and rebooting...and I guess MS saw something similar and scraped it

Sent from my Warm EVO :-)
[EVO 4G Android Development] d11dog11:
Is v3 the version I should be using then?

Swyped with my Evo 4g
[EVO 4G Android Development] flipper12:
Count me in as one of the MANY that's looking forward to it....
[EVO 4G Android Development] jelive:
I've also been using the original V4 4.2.2 and no problems on Myn RLS4 and now RLS5...see no reason to change. He pulled it because some people had ROMs that "didn't like it" Seems you are OK as is.

Jim
[EVO 4G Android Development] thebeast614:
O would actually

I would actually recommend 131...so far that's the one I've seen most everyone have the best results...except for me...my phone doesn't play well with the new net kernel's

Sent from my Warm EVO :-)
[EVO 4G Android Development] xlGmanlx:
I am using version 7 with good results
[EVO 4G Android Development] thebeast614:
I am too...but almost everyone is looking to have the newer net kernels so I just tell them use 131...I like v7 the most

Sent from my Warm EVO :-)
[EVO 4G Android Development] Product F(RED):
I don't know if it's just because I have to let the kernel sink in but it's been like 3 days and I get good battery on v7 while the phone is asleep but not-so-great usage when it's in use after it goes under 100%.
[EVO 4G Android Development] Beejis:
How do I go about enabling this tweak on a different kernel not listed on the 1st/2nd posts? I would love to try this tweak with ziggys kernels!
[EVO 4G Android Development] gadean:
I'm having very good results with v7. Job well done, ms!
[EVO 4G Android Development] chummer360:
Running Calk 1.7.1 with SBC v7. Uninstall Setcpu and I have to say it's doing great.
[EVO 4G Android Development] intheb0x:
its the same with me, i think we talked about this in Myns thread a few months back, how it takes time for the kernel to adjust to your phone.. atleast 3 days.
[EVO 4G Android Development] chazglenn3:
I'm running the same, except I still have SetCPU running at 1Ghz max and 245Mhz min...I'll see how this works...so far so good.
[EVO 4G Android Development] mwielgosz:
In my testing, kernel 4.1.9 (whatever version) uses more battery than 4.2.2. Its a shame I had that issue with the charging stopping or id be using 4.2.2 all day. The spikes on 4.1.9 are rediculas...at least for me.

Evolved into a higher form of communication
[EVO 4G Android Development] Undef:
v7 voltage drop

Sadly, I hadn't installed Battery Monitor before this thread, and I don't have hard evidence of v4 behavior; only memory. I wiped the history file at v7 flash. However, on v4, I remember seeing the voltage stay at 4202 after unplugging. It no longer does that on v7.

In case it helps, here's more oddity with the v4 experiment. The voltage stayed at 4202 for a few minutes while I watched it. Then, I rebooted for some reason or another (radio update, or something). After reboot, the voltage read lower (around 4130), though the percentage still showed 100%. I put it back on the charger and it ramped down from 50 or 60 mA to 4mA (about ten minutes or so). I unplugged it and it again kept the high voltage reading (4199, I think). At the time, I just chalked it up to normal drain while flashing.

But now that v7 shows the lower voltage immediately on unplug, it's curious enough to mention it to you. :-)

The same thing happened when I flashed v7. Upon reboot, the new voltage reading was different than before, though the percentage meter remained the same.

This all is probably inconsequential, if the specific voltage readings are irrelevant. I'm getting correct behavior now on v7, as the voltage/percentage drops linearly off the charger (about 2-3% per hour for me, on "usable idle" (strong 3G signal (Airave in the next room), bluetooth on, wifi on, three email accounts updating in the background, receiving an SMS or two every few hours, etc.)). Right now, I'm 13 hours off-charger, down 33% (almost all idle, little actual use). Without your kernel, I would be about 10% further down, from starting lower off the charger.

As a side note, I'm not sure I agree with your SetCPU theory, purely on anecdotal evidence. Battery life is significantly higher on tiered CPU power, for me. Your theory is sound, given your example data (a task takes twice as long to complete, at 60% power draw), but I don't think that's the way it actually works in practice. Background tasks are probably never CPU-bound in the first place. Receiving SMS/email data is not dependent on CPU power, so throttled CPU has minimal/no effect on time-to-complete. But, even if it did, the power savings from all the time spent at idle outweigh the few times you spend longer at full CPU. Again, I'm running a DamageControl ROM, with tiered CPU settings, at 95% threshold to increase CPU. So, when the CPU can really be busy, it speeds up, anyway.

But the theory (for me) is that lowered power all the time makes up for higher draw some of the time. Especially, if you ramp up and down automatically based on load, CPU frequency tweaking should result in significant savings. It seems to for me, at least (and we all know how authoritative anecdotal evidence is...) :-)

Undef
[EVO 4G Android Development] ms79723:
hmm, why am I going to remove all builds in the second post?
[EVO 4G Android Development] mwielgosz:
That sounds rediculas...why would you ever do that lol

Evolved into a higher form of communication
[EVO 4G Android Development] chummer360:
Because you have something great, that you're putting up.
[EVO 4G Android Development] ms79723:
Correct! I just saved what I've done so far but it ain't done yet. Still getting my environment set up.

And btw, Netarchy just added the the SBC v7 charging to his github!
[EVO 4G Android Development] mwielgosz:
Maybe I misunderstood your reasoning for deleting the kernels in the second post. Nonetheless, great news on getting your work in netarchys github!

Evolved into a higher form of communication
[EVO 4G Android Development] mwielgosz:
Maybe this is a dumb question, maybe not. Did at some point you switch from using netarchy kernels to BCs kernels? Or is the bc for battery charge.

Dumb, I know, but I have to ask. If they are still netarchy, are they still based on 4.1.9?

Evolved into a higher form of communication
[EVO 4G Android Development] ms79723:
haha, I'm getting rid of the older builds (mainly to clean up that post) so that I can have room for the v7 builds
[EVO 4G Android Development] chummer360:
flashing!!!!
[EVO 4G Android Development] Mfeigley:
Should I use setcpu with v7? If so, what profiles? Screen off 245/245 on demand, battery less than xx% 245/806 on demand. That sound good?
[EVO 4G Android Development] DRUMSBH:
MS.... the only Kernels that are available to download are the ones listed under "AOSP Kernels" ? All the Sense ones are gone... can you confirm...

Great Work, Merry X-mas

EDIT: Nevermind... I see you just updated.. Thank You.
[EVO 4G Android Development] kenny111008:
does someone have another link for the v8 download for some reason nothing happens when i click the link oin the OP
[EVO 4G Android Development] EndlessDissent:
Srsly? Look 3 posts above yours. He just explained why they're gone.

Edit: you must have edited your post as I was writing mine. Sorry. But let this be a lesson to read at least the last couple pages of a thread before posting.
[EVO 4G Android Development] ms79723:
I wouldnt use setCPU. Just set the default governor to "Interactive" with max = *whatever you want the max to be* and min = 128

Yep. I'm updating all the kernels right now, So they'll show up in the order I compile them and upload them. This is taking a little longer than I thought haha.
[EVO 4G Android Development] ms79723:
Just tested it and I'm seeing the same results on my other comp, will reup in a min
[EVO 4G Android Development] DRUMSBH:
I tried v7 earlier this week and battery dropped quick.... Did you rebuild ths v7 or is it based off the same one as a few days ago?
[EVO 4G Android Development] BAttitude7689:
I was questioning this earlier, I dont have "interactive" as an option? is this something you just added with your newest version to v.7 that you uploaded today?
[EVO 4G Android Development] ms79723:
Which build are you using that doesn't have interactive? If not interactive, try out conservative, and if not that, then on demand.