yashsingh1/xdaforums huggingface dataset:
[HTC Inspire 4G] Wulamoc:
Background: I have had phone 11 months. I am very familiar with how the battery drain is while it is stock (WiFi ON all the time). battery lasted ~16h which is plenty for me.

Rooted phone, Battery Life on AR14 and IceColdSandwich (and others) was around 20h with WiFi on all the time and light use.

Recent Kernels (anything IceColdSandwich 3.0.0+ or AR 23+ (haven't tested between 14 and 23) cause a base of around 50mA of drain even when phone is locked. Battery life is ~8-10hours WITH NO USE. I have tried these ROMs without installing ANYTHING on them with the same results.

Current Widget does not identify an offending program from what I can tell.

WiFi off, the phone lasted 2d9hr of pretty light use.

I first started looking into WiFi when I forgot to turn off airdroid and unplugged the phone for 3 hours. I found AirDroid still running but could not connect to it via laptop or desktop until I tinkered with the phone a bit more and the WiFi connection cycled.

However during this time, the charge lost on the battery was a reasonable rate, and after the WiFi connection cycled it dropped like the usual rock.

What I've tried:

WiFix

WiFi polling interval increase

Cleaning/checking battery cover contacts

Changing battery covers

Battery Calibration (which is a myth from other reading I've done)

A couple of different programs like Juice Defender.

On the list to do:

Try a different Kernel

Root my friend's phone and trade him hardware (he says he never uses WiFi, so it won't be an issue for him)

/wrists

Thanks for all the suggestions and help so far. I understand that the problem is pretty obscure and seems rare.
[HTC Inspire 4G] :
on icecoldsandwich ive seen quite a few people show an improved battery draining using lordmods newer bfs kernel. maybe give that a try and report back?

http://xdaforums.com/showthread.php?t=1450962

kernel: http://goo.gl/ZqBZl

btw, very good informative question. its heart warming :) usually we get 'my battery sucks yo, fix it!' haha :)
[HTC Inspire 4G] Wulamoc:
Here is some irony.

Exitz ICS AR25 has been on the phone for a couple of days and has lost essentially 10% per hour when not on the charger (been off work in my house) After the 4th day, I installed AirDroid and AngelCamera. I took it off the charger last night...

92% 6 hours later AND the phone has been awake(?) all night...

Seems I left AirDroid 'running' but couldn't connect to the phone through AirDroid until after the WiFi cycled...

I will see how the drain is today. I'll out of the house all day tomorrow (half a day in Denver), toggle off the wifi for a day at home, and then try your suggestion Darunion.

Here are a few screen shots (first two are old), and honestly, I don't know how much I trust the battery stats.

IceColdSandwich 2.0.0 pretty much shows that battery life I have been used to for a long time including before rooting. Not AMAZING, but not fail. (WTF Proximity Recaibrator 29% of Drain on a 16 hour day?) Also note this is about the same rate of drain I experienced with Existz AR14 last week. Light use and ~16-19 hours of battery life. Not amazing, but I can live with it.

IceColdSandwich 3.0.0 pretty much shows the battery life I have been getting with any ICS roms since.. well 3.0.0 was released. Oh and the voice call that is 37% of drain lasted less than 10 minutes.

Existz AR25 (someofthedrain.png) the steep drop was a 20 minute phone call...

And Finally Airdroidwtf.png is the same install three nights later (this morning) If I could get battery drain like THIS on a regular basis...

Anyway, I'll keep trying to isolate this down to the specific 'area' of the phone that is causing it....

Edit: and as for Darunion commenting about the information I've included... I'm a patient person, I don't want to be a drain on the community, and I have no issue trying to solve a ROM, APP, Radio, RIL, Or watever issue. I'm only posting because the issue isn't unique to a ROM but is unique to a time frame AND the issue is not solveable via Google or XDA search :(
[HTC Inspire 4G] Wulamoc:
Right now it is looking like the 'extra' drain on newer ROMs is directly related to the wireless being on*.

Right now the phone is at 1day 19 hours with 14% left and the wireless was only on for the first couple of hours this charge cycle.

I never thought there would be such a considerable difference between battery usage on any ROMs.

I'm going to continue looking around and trying to solve things, and I haven't quite made it to trying the Kernel, Darunion. It is on the list after I toggle WIFI on and off throughout a day.

*The rest of this post is just back-story I have ran the phone on stock for 11 months before rooting it and during that time, I got used to leaving the WIFI running all the time simply because the battery always lasted through my longer days and my-typical light-use. I'm near WIFI that my phone connects to about 80% of the time.

So after rooting, I had a little increase in battery life and I never changed this habbit, or more to the point, I was leaving WIFI on as to make it one less variable in drain while testing various ROMs and different build dates.
[HTC Inspire 4G] ST3ALTHPSYCH0:
I was on battery for around 13 hours yesterday with wifi on for at least 8 hours of that and plugged my phone in with 51% battery remaining.
[HTC Inspire 4G] Wulamoc:
Yeah, I know this isn't a typical issue for most everyone, and am not implying so.

Likely it will end up being something very specific to the two WIFI networks I am at for 80% of the time OR something else that is very specific to my circumstances.
[HTC Inspire 4G] ST3ALTHPSYCH0:
Have you, by chance, removed and reinstalled your back covers? I know it's unlikely, but since they contain the antennae, maybe they've come a little loos, resulting in higher imepedence connections.
[HTC Inspire 4G] Wulamoc:
I have not specifically toyed with the covers as part of trouble shooting. I will be sure that I look at them after my battery finishes charging on WIFI.

It does seem to be more a software difference, (I've casually be at this for the better part of 2 months) as I have seen expected performance when flashing back to a ROM I've used.

Thanks, I like being able to limit variables and this will be one I check before charging the phone again.

(What I'd really love to do is convince my brother or one of two friends who have the Inspire 4g to let me root their phones so I can trade them phones for a week and really isolate out hardware issues :(
[HTC Inspire 4G] :
fyi if you are still running icecoldsandwich. 6.2 just was released. Maybe give that a try?
[HTC Inspire 4G] Wulamoc:
Right now, I'd like to figure out WHY my WiFi is so bad on battery drain with later AOKP releases.

I'll try to rule out hardware issues (I'll look into antenna and MAYBE convince a friend to let me root their phone and trade them for a week... if not then covers at least.)

But likely this is something about newer releases and how my WIFI is setup. I don't live in a high-density area, so it's not because of too much wifi trafficz (I can barely see a 2nd wifi with any device and it's on the opposite end of the frequency choices.... by my settings)

Anyway, I am a very patient person, so I'll continue working on this slowly so that I can be thorough and find the real cause of the problem.

What I would wish is for someone to point me in the direction as to how WiFi MIGHT drain the battery so hard for later releases but not earlier. I'll be reading up more on logcat and how to read it in regards to wifi... but searching and reading is hard because 'wireless' and what not are very vague terms :(

Now at 1% (still) and 2d9h... is MORE than double my record on the first roms I tried after rooting OR my stock rom. and MORE than quadruple my record on any of the newer roms :(
[HTC Inspire 4G] Wulamoc:
I've swapped battery covers with a friend this past weekend, and the WiFi being on still drains the phone considerably (~8%/hr) when turned on. So if it's a hardware issue, it's not in the battery cover.
[HTC Inspire 4G] dj sampson:
Wifi and blue tooth are very hard on the battery regardless. But 8% an hour seems pretty steep tho.

I would start by getting the current widget in Google market and put in on your home screen to monitor your Mili-volt ussage. If its running high like the 200+ constantly you have a lot of drain going on. When in sleep mode it should drop down to 0mv up to 8mv. If it stays high in the sleep mode you have apps waking your phone from sleeping. Which causes tremendous drain.

Next I'd try removing apps that have wifi permissions. To see if that drops your mv ussage.

Drop your notifications to less frequent times on your email and Facebook.

Remove any task managers or juice defender. They run constantly.

Google + is a massive battery drainer. Remove or limit notifications and sync as much as possible.

Also running wifi fix apk could also help. If you are knowledgeable enough you could also edit the build.prop to set the wife scan at a less frequent rate as well.

Last but not least get a toggle button widget for wifi and turn it off when not using.

I'd you follow these steps this will drasticly decrease your battery drain.

Sent from Soundwave aboard Nemesis.
[HTC Inspire 4G] Wulamoc:
Thanks for taking the time for this response!

I started by running current widget for about a week and with a 3 different roms AR23(?), IceColdSandwich 2.0.0, IceColdSandwich 3.0.0.

I was stock for 11 months, and ICS2.0.0 was a little better than battery drain than stock. AR23 and ICS3.0.0 were terrible and pretty much ran a constant 50ma drain asleep or awake as a baseline.

I'd really like to figure out what the difference is with the older AOKP and the newer AOKP, but that may never happen.

I've been testing with stock roms since a couple weeks before I posted this thread. This is because current widget didn't really show any specific program causing the issue, so I wanted to make sure that I didn't have some issue from my installed programs.

The most I've installed (out of necessity is AirDroid and AngelCamera) in the past few weeks. Both were installed when I ran without wifi on one charge for 2d9hrs.

(I don't have a google+ account, I don't have juice defender or any task managers aside from the stock rom)

I'll do this and see if that helps things. Thank you

This is likely going to have to be my solution. Just run cell data all the time unless I am doing something specific like downloading files or uploading pictures.

OR

Maybe I can convince my friend to let me trade him phones (root his and nand backup and then restore all his stuff to my phone) and see if it is about the same drain. His phone was bought a couple months after mine AND from a different vendor, so it isn't going to be out of the same manufacturer's lot.

Thanks again. I'll definitely try the wifix along with the rest of your suggestions that apply :)
[HTC Inspire 4G] young440:
I'm in the same boat you are. I'm running ics aospX ar-26 and I can barely get mine to last from 8 til 4. Wifi is pretty prevelent around here and I leave it on most of time. I guess I could try turning it off til I need it. Anyway I'll be following this thread.

Sent from the heavens using XDA
[HTC Inspire 4G] dj sampson:
You also might consider reading the threads on calibrating battery after flashing roms. I made the mistake of flashing a rom @ 40% battery. It jacked my stats all up. The new rom thought 40% battery was actually 100%. It had my stats all screwed up too. Except mine was Bluetooth. Showed running at 60% of battery ussage. So don't trust that system tool. Because the display is almost alway gonna be the biggest drain on the battery. An app called "spare parts" is a little more accurate.

I ran the gambit on this one finnally got my battery back to normal for me anyway. I've never seen a full days use with out charging. Get about 14 hours Max now. But the calibration steps is the way to go.

Sent from Soundwave aboard Nemesis.
[HTC Inspire 4G] Wulamoc:
I actually have read quite a bit about battery calibration... and before I flashed a new ROM, I've made sure that current widget has been tracking 0ma for a while. (Only reliable way to be sure you have a full battery from what I can tell)

The batterystats.bin file and calibration has been ... contended in a number of places, mostly stating that when taken off the charger 'full' the battery stats file is overwritten... which makes calibration a non-issue (assuming that you occasionally charge your phone for a while after it hits 100% from time to time)

The problem is that the WiFi mA draw is HUGE compared to what it should be (in theory from reading other people's logs), and it's not because of the battery cover. AND It's not as bad in older AOKP ROMs than it is in newer ones. SO it could be a hardware issue exacerbated by a change in how WiFi is handled, but the hardware issue was never noticed because the battery life Stock was sufficient for my needs.

I've been busy working so I haven't been able to continue troubleshooting the phone (damn my patience), but Mondayish, I'll likely have traded my phone with a friend and root it and flash a new rom and see how the drain is with completely different hardware from a different vendor from a different lot of phones.
[HTC Inspire 4G] dj sampson:
I had a similar issue with wifi. I changed the build.props wifi supliment scan from every 15 seconds to 180 and used the wifi fix manager apk. That seemed to help. Coupled with a proper battery calibration and I'm back to my display being the major battery draw.

So don't know if that helps but it seemed to work out my bugs.

Sent from Soundwave aboard Nemesis.
[HTC Inspire 4G] Wulamoc:
This I can do right now.. and given I'm on the same, unmodified AR24 release, I can observe it for the weekend before I annoy my friend about his phone.

Seems the WiFi scan interval was already set to 100... moved it to 180 anyway.
[HTC Inspire 4G] DynamiteRave:
I used to have this issue. I could literally see my battery draining while I was using it. I keep wifi on most of the time. I recently purchased an anker battery online. It is AMAZING! My old battery wouldn't last more than 6 hours or so. Right now I'm at about 14 hours on this charge, and I'm at 47 percent. Try swapping his battery for yours for a day or two. Another thing to try is different radios if you're losing power to cell standby.

Zombies ate my Inspire
[HTC Inspire 4G] Wulamoc:
The phone ran for 2days 9hours with WiFi off and lasts for 8-10 hours with WiFi on. I am pretty sure that it's not a Radio/RIL or a Battery capacity issue. ;(
[HTC Inspire 4G] msellars2450:
Changing your kernel seems like a good idea, or calibrating your battery is said to work.
[HTC Inspire 4G] Wulamoc:
Haven't gotten around to Kernel stuff yet, nor have I been able to get around to stealing (trading) my friend's phone as I've been terribly busy.

It is not a battery capacity or calibration issue, it is a mA drain issue.

I hope to steal my friend's phone this Monday, so we'll see how it goes.

Updating/Updated first post.
[HTC Inspire 4G] marsdta:
Here are my idea. 1)kind of seems obvious but tends to be over looked sometimes. You don't have it constantly searching for wifi networks do you? For me leaving that box checked of notify when open network is available causes drain for me.

2)my battery seemed to drain faster when I had wifi always stay on. Changed the setting to only stay on when plugged in. And it helped alot. It almost seemed as if the always on setting wasn't allowing my phone to go into a deep sleep state
[HTC Inspire 4G] Wulamoc:
Oh yeah, That's what I'm currently doing when it comes to having 14 hour days at work.

I guess the reason I'm interested in tracking it down is because older AOKP roms had far better battery life with WiFi on than newer ones.

If it's a hardware issue, it would be nice to know about... and if it isn't, then maybe I can track if further and find out what changed to cause the wifi to be doing such terrible drain.

Thanks :)
[HTC Inspire 4G] young440:
You could try installing CPU spy and see if your phones going into deep sleep. It sounds like its not doing that. If its not then you can get a app on XDA called betterbatterystats and see what's causing your CPU not to go into deep sleep. I've found ondemand governor seems to work the best IMO. Just a thought
[HTC Inspire 4G] Wulamoc:
Been terribly busy. So much so that I haven't been able to test things in a manner consistent enough for my liking.

I've traded my phone with a friend (rooted his, nandroid backed up both and restored), neither of us has seen a difference in battery life (he never, ever, uses wifi... and doesn't us much data as it is).

WiFi *still* drains the phone... base drain seems to be 50ma on a good day.

young440 is correct to an extent, the phone doesn't make it to deep sleep while wifi is on. I have not installed anything other than the ROM and running WiFix (until today it has been nothing at all. Pretty much makes my phone less functional than I like, but I hate to overlook things causing drain) and aside from 4 gmail accounts, 1 contacts and 1 calendar I have no synchronizing*. I have swapped between various Existz and LorD ClocknaN roms over the past month off and on with the same results.

AR14 and before STILL has significantly less battery drain while WIFI is on (about 1/2 as much battery drain), but I haven't bothered to use early IceColdSandwich roms recently.

So, essentially it does not appear to be a hardware issue (tried: Different covers, different phone manufactured in a different lot, etc).

However, I'm closing my own ticket because I will continue to be very busy for the next 2 to 3 months. Battery life with WiFi off is amazingly fantastic, and my data usage is well within my 2gb limit.

I'd love to help solve the issue of how my battery drain is so terrible with newer AOKP, but there are two significant problems:

1) very few seem to have this complaint

2) I don't have the 'availability' to ensure that various variables are isolated.

So, for those who have replied to this thread, thank you for your help and efforts; I am still willing to try various solutions but I won't be trying to get this resolved through the community any more.

You all stay awesome and keep being the best community on XDA!

Wulamoc

*Even with doing quite a bit of non-video web surfing via tethering this past month, my data usage was somewhere around 400mb
[Thunderbolt Q&A, Help & Troubleshooting] monho:
So, I bricked my thunderbolt. RUUs did not even help.

Here is what I did:

1. I unlocked the bootloader via the official method at htcdev.com.

That removed the security warning and allowed me to access recovery. However, I had flashed clockworkmod recovery and nothing I did with any version of clockwork or Amon Ra would allow me to boot up past the HTC splash screen.​

2. I erased the recovery partition and restored the original recovery, from the nandroid backup I had made, via fastboot.

fastboot flash recovery recovery.img

3. I rebooted into the stock recovery. It did something and rebooted, but still not past the splash screen.

4. Back to fastboot. I used fastboot commands to boot clockworkmod recovery without installing it. I then used clockwork to restore my original nandroid backup, and reboot.

fastboot boot clockwork.img

Still not booting past the splash screen, but I did gain ADB access.​

5. I decided that since I had everything back to stock, I would try revolutionary again. I used the instructions from their website. It actually worked this time, unlike before. When it finished, I had S-off and a custom clockwork-mod recovery.

With S-off, I was able to flash a rom of my choosing after wiping data and both caches.

That is all it took to go from an expensive paperweight to a fully functioning Thunderbolt. This process may work for other HTC devices also.

I hope I have helped you.
[Droid Pro Android Development] Raioneru:
Hello guys,

before I send this phone in for repair, I thought I might ask for some help.

phone not detected by computer so can't go into adb and mess around.

phone is brand new with stock rom, it boots, goes to 1st home screen (where you chose the country and stuffs) and it almost automatically reboots.

does that in a loop, I can get into recovery, but thats about it.

any of you got an idea?
[Droid Pro Android Development] hashtowent:
you might try doing a hardreset

you might flash sbf with android 2.3.6 .

second will cost you possiblity to use ics or cm7.

[untill theres root-exploit for it]

but this might work
[Droid Pro Android Development] dettofatto:
remove battery. then press power button and s until the end...

you'll boot in safe boot...

but you can't access to the recovery mode? power button and r + m?
[Droid Pro Android Development] Raioneru:
so like I said I can get into recovery, but don't know else to do.

I got into safe mode but it didn't do anything. it rebooted too :(

will flashing sbf void the warranty? (i'm unfamiliar with this procedure, this is why I ask.)
[Droid Pro Android Development] dettofatto:
go into recovery, then press @ or volume button choose wipe data and then reboot...
[Droid Pro Android Development] Raioneru:
thats the 1st thing I tried, and it didn't work.

I got into fastboot mode I think. dunno what I can do there . . .

also my computer can now see the phone but it asks for "fastboot MB632 S" drivers

which I don't have. I tried installing motorola usb drivers from their website but it doesn't do the trick.

does any of you have fastboot drivers for the pro?
[Droid Pro Android Development] aymanfoa:
i have this problem since 3 months and no body know to to slove it
[Droid Pro Android Development] Raioneru:
got the fastboot drivers, does anybody have an idea what I can with fastboot?

flash a stock rom maybe?
[HTC EVO 3D] Sinerr:
I'm using Infected Eternity sense 3.5 nightly build and my native screenshots do not appear in my album. When I press power+home it says it saves to a screenshot folder on my SD card. The files within that folder are all corrupted or say can't load image. So I think changing the directory to Camera Shots would work but I don't know. On previous roms it works perfectly fine. Help!
[HTC EVO 3D] laie1472:
Your screen shots should save in your

"DCIM" folder.

#Root-Hack_Mod*Allways\
[HTC EVO 3D] Sinerr:
Well yeah thats my problem they save to a "screenshots" folder that it creates by it self when i Power+Home
[HTC EVO 3D] GrimReaper24:
If you wanna take screen shots another way that is easy and free is DDMS.bat in your tools folder where you installed SDK on your computer :D Does the job everytime...
[HTC EVO 3D] Rydah:
I believe I know how. I'll have that exact answer in the morning. Well actually, yes you can, but I don't remember what edit was made. That, I will post in the morning/afternoon. :)

Sent Using My HTC Evo 3D, On The Now Network From Sprint!
[HTC EVO 3D] Sinerr:
Thanks, looking forward to your post!
[EVO Shift 4G Android Development] Andy:
EVO Shift 4G - Development Sticky

This thread will list and link to all threads worthy of being "stickied", it will be the only sticky in the forum (bar one).

Please leave your suggestions for new threads [with the thread link please] to be added to this list below and I will check & add as necessary.

This thread will be cleaned once the suggestions have been added, so please dont be offended if your post disappears.

Any thread that starts with [Q]..will be deleted. Please post your questions Q&A section.

------​

Attention ALL Developers - GPL Compliance​

------​

-- Root and downgrade for Android 2.3.4 {Script included - ShiftySonofA script dl added)

-- {GUIDE} Perm-rooting the HTC EVO Shift!!! Recovery added

-- Hboot information and downgrading

-- [WIKI]HTC Speedy Your One Stop Shop for ROMs and Rooting

-- [TOOL] [Linux] Splash Screen creator / flasher

-- [Instructions] Boot Manager

-- [GUIDE] 2 Step unroot back to stock
[EVO Shift 4G Android Development] CNexus:
Root 2.3.4 latest OTA (2.77.651.8)

http://xdaforums.com/showthread.php?t=1932788

EDIT: Please and thanks :)
[EVO Shift 4G Android Development] prboy1969:
+1 to being stickied. Please and Thank you :) .