yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] chrisjaggeruk:
Working great here mate perfection at last thanks.
[Desire HD Android Development] EmptyArea:
* bins his current widget *

Thanks mad.

Btw I know it's pretty well known and variable by location and network, but the latest radio doing the rounds is fab for me on signal and battery joint with this patch cm7 is out living sense

Swyped on transparent XDA app.
[Desire HD Android Development] hibeatles:
Flash build #9 to the miui 1.3.18, but wifi can't work :(
[Desire HD Android Development] Johnny T:
+1 I'm using the latest radio with cm7 #22+battery fix, so far so good today.
[Desire HD Android Development] Rosjer:
May ask you your radio version number?

I'm currently on the leaked 2.25 GB sense one: 26.08.03.07_M

and i got very incosistent mA values, varys from 5mA all the way up to 50ish mA :(
[Desire HD Android Development] Johnny T:
That's the one I am on too, I'll look into it in detail when I get home. ^^
[Desire HD Android Development] hypnz:
Thanks mad:) the fm radio its fixed?
[Desire HD Android Development] chrisjaggeruk:
anyone else getting high drain with bluetooth turned on and connected to bluetooth car kit? was getting between 0-4 ma without it and working perfect but turned bluetooth on and paired with car and getting 27ma peaking at 195ma without making a call.
[Desire HD Android Development] mad-murdock:
quick status update:

working on integrating fixes into nightlies - repositories created, with much luck its inside tonight's nightly, else tomorrows...

and i need you again. right now we are on 2.6.32 kernel - we just tested 2.6.35 and it seems to run great - but we would prefer to test it in a small circle (aka you) before pushing it to nightlies...

good news?
[Desire HD Android Development] Rosjer:
sweet, bring it on, maybe it works better with the leaked 2.25 radio
[Desire HD Android Development] EmptyArea:
Game on.

Swyped on transparent XDA app.
[Desire HD Android Development] mad-murdock:
latest radio changes a lot - you mean that test one? maybe you link the one you refer to...

edit: just noticed its already been answered... well, time for fastboot flash radio it is....

edit2:

whats your experience?
[Desire HD Android Development] mad-murdock:
my work is done...

kali currently compiles a new kernel and uploads it...

hope its in next nightly - if not, its in the nightly after it...

http://review.cyanogenmod.com/3987

http://review.cyanogenmod.com/3985

http://review.cyanogenmod.com/3984

reason to party - this was a long and partly depressing journy...
[Desire HD Android Development] Rosjer:
Most impressive work m8, big thx to you and who ever else participated to make this happen. Beer money is on the way soon ;)
[Desire HD Android Development] Nilu23:
Mad lil ot but what widget do you use for the mA showing on your homescreen? And which theme for the nice blue Signal and battery in your notification bar.

And is this batt fix already included in the latest cm7 nightly?

Sent from my Desire HD
[Desire HD Android Development] EmptyArea:
Cool screenshot.

But what will you be adding and when will you be back home lol.

Swyped on transparent XDA app.
[Desire HD Android Development] EmptyArea:
The theme is honeybread. ;)

Swyped on transparent XDA app.
[Desire HD Android Development] mad-murdock:
battery monitor widget from market.

honey bread theme alpha 4 here from market

Swyped with cyanogenmod 7 powered HTC Desire HD. Excuse typos.
[Desire HD Android Development] Chezbel:
The battery widget is cool. If that's what you are adding, I will definitely use it.
[Desire HD Android Development] dr4go:
It's called "Battery Monitor Widget" made by 3c06. Search on the Market for it... ;)
[Desire HD Android Development] Chezbel:
Thanks, I though Mad Murdock was saying he cooked that up himself. Anyway, I've got that installed now.
[Desire HD Android Development] lynxboy:
The theme is honeybread but AFAIK it is not on the Market yet, although haxzamatic has said that it will be being launched soon. For those wanting the theme now, please see my thread here.

Regards.
[Desire HD Android Development] itscro:
Yeah, the md5 matches so I installed without the check.
[Desire HD Android Development] raecarter82:
Did su and the other bit it says status power off.
[Desire HD Android Development] FernandoMiguel:
honeybread is not yet in the Market. only XDA
[Desire HD Android Development] gillepy:
just a quick post to confirm it is all working. Thanks Mad-Murdock
[Desire HD Android Development] itscro:
dmesg | grep aic3254 show it to be working here too, thanks. I'll keep an eye on battery logs and report back. :)
[Desire HD Android Development] hammer31:
how can use it? flash it and done?? tx
[Desire HD Android Development] itscro:
Once you've installed it via recovery, activate google voice to initialize the battery savings. You'll have to start google voice again if you reboot (I think).
[Desire HD Android Development] mad-murdock:
power off is correct. not power off = drain (:

i just typed wrong while writing on the road in a hurry (: sure you are right - alpha v4 is only here on xda and will be added to market later.

about #5

- it will add itself to custom_backup_list.txt and not require reinstall on installing new nightly

- it will not need to use voice dial or anything like it anymore

- lets roughly say, i expect #5 to be around in the next 24 hours.

- if it is tested for 1 or 2 days, i will upload the patch to cm and notify miui team.
[Desire HD Android Development] alexmason14:
Mine still stays aic3254 power ON? Although the battery drain is gone?

Using #4.
[Desire HD Android Development] EmptyArea:
Whoop, whoot!

Swyped on transparent XDA app.
[Desire HD Android Development] Rey-619:
thx man :) this would be very nice!!!
[Desire HD Android Development] mad-murdock:
it stays power on, when you actually play something or use the microphone. as soon as you stop playing/recording, it should toggle to status off in max. 20 seconds.

not using the kernel is not supported - dont expect anything to work without the patched driver - espcially the status will not show up properly - next version might even crash.
[Desire HD Android Development] arielext:
Awesome work! This makes cm the premium rom for the dhd. Well done and thank you for all the work and time
[Desire HD Android Development] Rosjer:
Right, just wanted to share how my mA values behave with the leaked 2.25 GB radio, with my old i had 4-6 pretty consistant while idle with wifi on, now i get this:

2011/03/18|23:04:55|9mA|100%|4191mV|25.0ºC

2011/03/18|23:07:55|-12mA|100%|4184mV|25.0ºC

2011/03/18|23:10:55|-33mA|100%|4184mV|25.0ºC

2011/03/18|23:13:55|-31mA|100%|4184mV|25.0ºC

2011/03/18|23:16:55|-30mA|100%|4174mV|24.0ºC

2011/03/18|23:19:55|-29mA|100%|4174mV|24.0ºC

2011/03/18|23:22:55|-6mA|100%|4174mV|24.0ºC

2011/03/18|23:25:55|-7mA|100%|4174mV|24.0ºC

2011/03/18|23:28:55|-9mA|100%|4174mV|24.0ºC

2011/03/18|23:31:55|-21mA|100%|4182mV|23.0ºC

2011/03/18|23:34:55|-8mA|100%|4182mV|23.0ºC

2011/03/18|23:37:55|-6mA|100%|4182mV|23.0ºC

2011/03/18|23:40:55|-22mA|100%|4182mV|23.0ºC

2011/03/18|23:43:55|-8mA|100%|4182mV|23.0ºC

2011/03/18|23:46:55|-7mA|100%|4182mV|23.0ºC

2011/03/18|23:49:55|-11mA|100%|4182mV|23.0ºC

2011/03/18|23:52:55|-8mA|100%|4182mV|23.0ºC

2011/03/18|23:55:55|-8mA|100%|4182mV|23.0ºC

2011/03/18|23:58:55|-8mA|100%|4182mV|23.0ºC

2011/03/19|00:01:55|-9mA|99%|4172mV|23.0ºC

2011/03/19|00:04:55|-8mA|99%|4172mV|23.0ºC

2011/03/19|00:07:55|-10mA|99%|4172mV|23.0ºC

2011/03/19|00:10:55|-15mA|99%|4172mV|23.0ºC

2011/03/19|00:13:55|-6mA|99%|4172mV|23.0ºC

2011/03/19|00:16:55|-35mA|99%|4172mV|23.0ºC

2011/03/19|00:19:55|-4mA|99%|4172mV|23.0ºC

2011/03/19|00:22:55|-16mA|99%|4172mV|23.0ºC

2011/03/19|00:25:55|-6mA|99%|4172mV|23.0ºC

2011/03/19|00:28:55|-7mA|99%|4172mV|23.0ºC

2011/03/19|00:31:55|-10mA|99%|4172mV|23.0ºC

2011/03/19|00:34:55|-6mA|99%|4172mV|23.0ºC

But still it seems like its about 1% loss in 1,5-2 hours idle with wifi on
[Desire HD Android Development] flo90:
After some test my wifi not work with the battery fix on CM6... Sorry for my last feedback!
[Desire HD Android Development] mad-murdock:
and here goes kali's patched kernel...

i already begged the gods of cyanogenmod to merge it with my patches...

http://review.cyanogenmod.com/3988

i am pretty convinced, this is done.

as i mentioned before, i would love to use you experimental-friendly-guys to test the 2.6.35 kernel which i will probably post tomorrow on this thread (but not on post #1)
[Desire HD Android Development] Rosjer:
would love to help test that out and see if mA values stabalise a bit
[Desire HD Android Development] Chezbel:
I will definitely try it when I see that you've posted it.
[Desire HD Android Development] Chezbel:
Some people are commenting on the latest radio, I assume they mean 12.35d.60.140fP_26.08.03.07_M (the fP part might vary for you). I've been running that for 2 or 3 days. Here is last night's current widget log using that radio, nightly #23, mad #9 and wifi on all night. The full log is attached, but here is the top and bottom.

10 hours with 6% battery loss = 0.6% per hour.

2011/03/19 01:43:48,4mA,100%

2011/03/19 01:46:32,-4mA,100% <-- unplugged from charger

2011/03/19 01:49:20,-15mA,100%

...

2011/03/19 11:48:16,-6mA,95%

2011/03/19 11:50:16,-159mA,94%

This log doesn't show many spikes, but that has been discussed in this thread. So far in my experience if I turn off wifi I will get more spikes, but the % battery loss is similar.
[Desire HD Android Development] Locster126:
Ok so what's arcee's solution? What did he do different to u?
[Desire HD Android Development] xgrind:
Found a bug,

When I connect earphone to the phone and talk on connected calls, the other party cannot hear me. Seems that the mic is muted when I connect earphone to phone.

Wonder if anyone else experience this.
[Desire HD Android Development] pattsy:
Yeah. I got that too... useing bt-headset...
[Desire HD Android Development] legents:
Hi all,

Just want to find out what app do you guys use use to get is kind of statastic?

Thanks
[Desire HD Android Development] Rosjer:
I'm using Battery Monitor Widget, history shows in widget after collecting data or just copy the Battery_History.txt file from sdcard to PC
[Desire HD Android Development] Bornin:
This patch kills Wifi on Cronos Ginger 1.3.0

Anything I can do?
[Desire HD Android Development] legents:
Thanks for the quick response, I will check it up.

Do you what would cause wifi to stop working after applying Pacth #9?
[Desire HD Android Development] AdrianM:
Not the patch itself. I have no problem.
[Desire HD Android Development] timstanley1985:
+1

Sent from my CyanogenMod Desire HD
[Desire HD Android Development] Nilu23:
Flashed #9 right now and in terminal emulator the command "aic3254pd Status" doesnt work anymore.

Sent from my Desire HD
[Desire HD Android Development] mad-murdock:
never ever do tests starting with a battery level of 100% - the numbers can be very inaccurate at that high level - best is 90% or below to start. i bet everyone has notices his battery staying at 100% for a while and then much faster droping to 99, 98, 97... thats not even a callibration issue, more that 100% can be anything from 100-110%

well, that patch created a lot of discussion. we will work it out internally. i am not convinced arcees idea got that many advantages.

can you confirm that doesnt happen without this patch? i am not sure its connected to the things i changed. please try without patch and report back.

install cm7! or get your rom maintainer to borrow this code/solution from cm7 - they probably did borrow 1000 times before, as all roms on all phones do. but better install cm7!

you sure you run cm7?
[Desire HD Android Development] mad-murdock:
read post #1
[Desire HD Android Development] Chezbel:
Damn. Sorry. Noted for next time.
[Desire HD Android Development] Nilu23:
The gscript shortcut gives me the message broke pipe and aic not found any help

Sent from my Desire HD
[Desire HD Android Development] mad-murdock:
enter the correct command.
[Desire HD Android Development] Rosjer:
right, here is another output from my history file:

2011/03/19|11:40:55|-7mA|86%|4047mV|28.0ºC
2011/03/19|11:43:55|-20mA|86%|4047mV|27.0ºC
2011/03/19|11:46:55|-22mA|86%|4047mV|27.0ºC
2011/03/19|11:49:55|-9mA|86%|4047mV|26.0ºC
2011/03/19|11:52:55|-7mA|86%|4047mV|26.0ºC
2011/03/19|11:55:55|-7mA|86%|4045mV|25.0ºC
2011/03/19|11:58:55|-9mA|86%|4045mV|25.0ºC
2011/03/19|12:01:55|-6mA|86%|4045mV|25.0ºC
2011/03/19|12:04:55|-32mA|85%|4033mV|25.0ºC
2011/03/19|12:07:55|-6mA|85%|4045mV|24.0ºC
2011/03/19|12:10:55|-10mA|85%|4045mV|24.0ºC
2011/03/19|12:13:55|-9mA|85%|4045mV|24.0ºC
2011/03/19|12:16:55|-5mA|85%|4045mV|24.0ºC
2011/03/19|12:19:55|-9mA|85%|4045mV|24.0ºC
2011/03/19|12:22:55|-11mA|85%|4045mV|24.0ºC
2011/03/19|12:25:55|-9mA|85%|4045mV|24.0ºC
2011/03/19|12:28:55|-8mA|85%|4045mV|24.0ºC
2011/03/19|12:31:55|-6mA|85%|4045mV|24.0ºC
2011/03/19|12:34:55|-106mA|84%|4004mV|26.0ºC

as you see its about 1 hour log, it's very inconsistens in drain and does about 2% drain in 1 hour, this is with the leaked 2.25 radio, if it matter anything.
[Desire HD Android Development] c2y:
aic3254pd: not found

su

aic3254pd status

It gave me:

aic3254pd: not found

Thanks a lot!
[Desire HD Android Development] Rosjer:
wich battery build are you using?

any build after #5 dont use that anymore, look at original post
[Desire HD Android Development] kshting:
With radio 26.08.03.07_M_Test, mine was 3-5mA with #9 patch except for a few spikes. So it was pretty good (1.25% an hour). However, battery temperature would shoot up to 35 degree Celsius very quickly with light use only.

So have gone back to 26.06.04.14_M_Test, now battery temperature is back to normal and yes, 3-5mA as well.
[Desire HD Android Development] lynxboy:
mad-murdock

Could I suggest you change your avatar to the below image?

Because in my eyes, you are now the King of the DHD Dev section.........

:D

#9 Working brilliantly, -1mA minimum drain in 3G areas.

Regards.
[Desire HD Android Development] xgrind:
Hi Mad,

I upgraded from #5. Before that it was fine.
[Desire HD Android Development] kshting:
ace: update prebuilt kernel and module (android_device_htc_ace): Yup, Looks like we are going to have the battery fix in the next nightly built.
[Desire HD Android Development] EmptyArea:
Could you please follow this procedure, this is what I would do in your shoes.

*(now or at the end if not working) Check your md5 sums for both CM7 download and bat patch.

Boot to CWM recovery.

(Nandroid if you must but I wouldn't as I've done these procedure many, many times and never lost anything)

Wipe cache.

Wipe Dalvik cache.

Flash CM7

Boot

Test everythign works. (If not stop: post back)

Reboot to CWM recovery flash bat. patch 9, boot.

Check everything is work (99.9% sure you'll do happy dance)

if tests fail, in CWM wipe dalik, fix permissions, reboot.

if tests still fail, post back here & consider doing a full wipe flash.

BoL
[Desire HD Android Development] vinnieminnie:
Srsly, -1mA minimum is ridiculous! I'm very happy with my own -3mA, but whatever radio I choose or settings I change, I'll never get -1mA. You must live about 2 feet away from a radio tower or something!
[Desire HD Android Development] hedayat7:
try it via airplane mode, maybe u can get 1mA hopefully :D
[Desire HD Android Development] lynxboy:
I'm on Phunky's last build, IJ and -1mA is the 'minimum' drain, I average around -3mA depending on area and WiFi bumps it up to around -4mA with minimums of -2mA. I use profiles with SetCPU and my screen off (where the -1mA occurs) is 245-368.

As for being 2 feet to the cell tower..... I work for a major UK network and yes, there is a mast literally 30ft above my head!!

/Regards.

EDIT: Just to add, my battery life on CM7 now outperforms any Sense ROM thanks to this fix..... it's been a long road getting here but definitely worth the wait.
[Desire HD Android Development] CamoGeko:
Was using #5 for a about a week, got some great results!

I flashed #9 today, checked the status 20 secs after boot and it was powerdown already.

Thanks to all the awesome people that are making CM7 as good as the original Sense roms. If not better ;)

Mad-murdock you rule!

Proudly sent from my HTC Desire HD using the XDA App.
[Desire HD Android Development] mad-murdock:
like said before, the difference between 3ma and 1ma is that small, its near the boundaries about what you can measure. dont pay that much attention to 3ma vs 1ma, because it also contains kinda luck factor imho.

yes, i saw 1ma myself, but its rather rare. thats why i posted a screenshot with 4ma, so not everyone wants to get that low (and i dont have to retry and retry to get that screenshot)

about king of dhd scene - well - i disagree. i had help and it was kali figuring out the initial cause for high bat drain. if anyone, kali is the king, because his work behind the scenes drives big parts of this whole community. he just isnt a forum guy.

the only credit i can take is that i finally decided someone has to care about this problem and started getting my hands dirty. without my initial tests/work hrkfdn wouldnt have looked at the driver and well - we would have 11-15ma for some more months....

bumble-bee (apache14) got great bat life results with .35 btw - seems like its even a bit better in points of battery usage... but i wont look into .35 until this is merged to cm7...
[Desire HD Android Development] arielext:
the patch is accepter into the repository right?

So if i build my new CM7 nightly i won't have to add the patch to it?
[Desire HD Android Development] arielext:
Enjoy your bratwurst btw mad

25N357337T4915847
[Desire HD Android Development] mad-murdock:
the kernel is in, yes - the bootfix not yet - its still part of discussion - but i am looking forward to get into it in the next couple of hours... like i said, internal discussion.

ordering bratwurst now! thanks (:
[Desire HD Android Development] arielext:
Then I'll wait untill it's in before i sync my repo! Thx for the explanation.
[Desire HD Android Development] kshting:
@mad-murdock, does that mean the workaround is still required in the next nightly?
[Desire HD Android Development] odin13:
thnx mad-murdock!

running cm nightly 22 with latest radio and fix #9 results in a 1% loss per hour in standby with wifi on

really nice :)
[Desire HD Android Development] mad-murdock:
remember rule #1 - just check the changelog when next nightly is done.
[Desire HD Android Development] EmptyArea:
Mad, I'm being special today, can you confirm your not uploading 2.6.35 for us to try today?

Swyped on transparent XDA app.
[Desire HD Android Development] mad-murdock:
yes, i dont intend to upload it today... i want nightlies to contain all batfix-patches first. also, i guess the nightly thread is better suited for this?!?
[Desire HD Android Development] EmptyArea:
I see, goods news thanks, I keep my eyes on the c log.

That's your prerogative, I can't fault it either.

Swyped on transparent XDA app.
[Desire HD Android Development] arielext:
When the fix is fully functional in nightlies there's no need for this thread anymore.
[Desire HD Android Development] samuel2706:
Thanks for the fix mad murdoch it works fantastic! but there was no need for the comments to the guy in that other thread, it's a free world
[Desire HD Android Development] mad-murdock:
if its a free world, i am free to express my opinion about KANG'd roms, right? especially if the creator is such a bright guy...
[Desire HD Android Development] mad-murdock:
its done! all merged! next nightly should include all fixes - if nothing went wrong, since kmobs was in a big hurry with only 15 minutes notebook battery left. test-building right now...
[Desire HD Android Development] samuel2706:
Yeah i suppose ill leave it at that, great work anyway! makes my DHD battery efficient, i feel sorry for those souls who have stock roms and bad batterys!
[Desire HD Android Development] mad-murdock:
wont be in next nightly anymore - we were a bit too late - but will be in the nightly after... so - aehm - #26 is uploaded right now, #27 should include it if i am not wrong.

i will ask a mod to close this thread - we can discuss spikes in nightly thread.

again:

thanks to all your feedback on this topic
[Desire HD Android Development] kshting:
That's odd.... aicbootfix and updated kernel have been included in #26 as per changelog http://cm-nightlies.appspot.com/

:confused:

Anyhow, since this thread is going to be removed soon, just wanna say THANK YOU for all your hardwork to have the battery issue resolved/fixed!
[Desire HD Android Development] LorD ClockaN:
Great news for cm merging!!

Is it merged in cm7 kernel or via another way? Can we now use other kernels here for cm and still have battery drain fixed? Or the only way is to get kernel from git and than do desired modifications like undervolting, BFS etc...??
[Desire HD Android Development] mad-murdock:
the reason probably is the nightlies beeing build about the same time when the merge was, but beeing uploaded a tiny teeny bit later.

still wondering what to do to close this thread!?!
[Desire HD Android Development] alexmason14:
I'm using your latest version which includes the modified kernel yes? I have waited twenty seconds, sound off but when going though terminal it still says the chip is on?
[Desire HD Android Development] mad-murdock:
hmm, did you do the voice search work around from first post? it should switch to off once you activated voice dialer once

Swyped with cyanogenmod 7 powered HTC Desire HD. Excuse typos.
[Desire HD Android Development] maddler:
hmmm... > 300mA... there has to be something wrong somewhere...

perhaps the time to clean has come...
[Desire HD Android Development] alexmason14:
Yeah I have done the voice search and microphone steps, same result, power equals on.
[Desire HD Android Development] maddler:
Same "issue" here.

Any clue or check I can try?

export here="CM7#14"
[Desire HD Android Development] Chezbel:
Will try that as soon as I see it's available. And once again, awesome work!
[Desire HD Android Development] Nilu23:
Tried #4 do the voice dialer work around, checked in terminal emulator and Viola Chip Status = off

Nice work mad, hope this is getting included very soon into cm 7 nightly

Sent from my Desire HD
[Desire HD Android Development] mad-murdock:
zero idea.... could become a problem... apps in background?

Swyped with cyanogenmod 7 powered HTC Desire HD. Excuse typos.
[Desire HD Android Development] apowers:
Ugh, I hate to be a n00b, but I just joined the Android world. How do you apply this patch? I've tried searching the forum+wiki+Google and there doesn't seem to be a tutorial. I have ROM Manager installed, I have access to adb and fastboot, and I have the .zip. Just not sure how to make everything come together. Thanks in advance to anyone willing to help.
[Desire HD Android Development] hedayat7:
from rom manager -> boot into recovery -> install zip from sd card -> choose zip -> flash .. ;)
[Desire HD Android Development] EmptyArea:
The same way you should have flashed cm7, if you haven't got cm7 then STOP and start testing everything you can ;)

Swyped on transparent XDA app.
[Desire HD Android Development] Chezbel:
You need to get the .zip file onto your sdcard in one of 2 ways. In both cases you need to connect your phone to your PC.

1) You said you have adb so you can do:

adb push mad-#4-aic3254pd_signed.zip /sdcard/

2) You can connect to your phone to your PC as a USB drive and just copy the files to the root of that drive.

Then you can go into the recovery screen and choose "Install zip from sdcard" then "Choose zip from sdcard" and then confirm that you want to install it. Once that is done you can reboot.

If you need more info just ask.