yashsingh1/xdaforums huggingface dataset:
[Desire HD General] CitizenLee:
Hehe, sorry! :)

I probably sound like I'm obsessed by the battery but I just want to find the right rom, radio, kernal etc that gives me best battery and best performance so lately I've been a little bit OCD about it!

Anyway... the kernal I am using is Buzz 1.22GHz OCUV 1.2.2, which is the one which comes with Android Revolution HD 2.0.9 ROM:

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

I think with Buzz 1.22GHz 1.2.0 it would be even better though (this was best for me on ARHD 2.0.7 & 2.0.8) ... but I've done enough testing for now so am just going to stick with my current set up until ARHD 2.0.10 is released.
[Desire HD General] 20mark:
WTH CitizenLee,congratulations! yesterday i 've manageg to run for 25 hours. Now i've upgraded to the latest radio and set max freq. to yours (1036)

the thing that drives me crazy is that almost everytime my phone is in standby and i unlock it to see battery % network is sending and receiving data,and i dont understand what my phone is doing,what process keeps connecting to network. maybe i can monitor this from osmonitor logs ?:)
[Desire HD General] Black1982:
Sceen brightness and other tips

Thank you for this thread!

I have a few suggestions!

The screen is the biggest consumer of battery in our beloved device, so it is also where a large improvement can be made!

Sure you can manually set the brightness, but thats a pain in the ass imo.

Also I think the lowest auto brightness setting is too high!

So maybe you could mention the possibility to change the auto brightness values!

I know you can set your own values in CM roms and there's a mod you can flash for the Revolution roms. CAUTION! I tried to flash that mod but got a bootloop, so make a nandroid first! So haven't tested this yet!

I wish there was a custom brightness wizard for android like LUMOS for WINMO!

Also for people experiencing high drain I recommend using Watchdog app to watch for runaway processes etc.

You can also use something like seepu to monitor your CPU load on your status bar.
[Desire HD General] leith51:
Guess you not tried leedroid custom Rom auto brightness adjusted and lowered

E=Mc2
[Desire HD General] Black1982:
Cool I'll check it out soon! Thanx for the tip! I'd like the lowest auto setting just as low as the lowest manual one.
[Desire HD General] ys222:
excellent Post

I'm using the Juice Defender - it solve all my problems :-)

in basic approach, you can see that the display is consuming 40-50% of each cycle, so no metter what U are going to do, this is it .....

short timeout of the dispaly is sometime annoying as well as too low britness is also usless in day light

my advice is to try keep yourself closer to "charge" environment and pray to better future of battery technology :-)
[Desire HD General] leith51:
My battery lasts me a full day every charge with normal use so I don't worry about being close to a charger

E=Mc2
[Desire HD General] Hrti:
Thank you so much for this informative thread. I've never had any huge issues regarding battery drain, but this thread gave me more knowledge about correct calibration and optimization regarding the battery in general. After correctly calibrating a fresh install of ARHD 2.0.9 my battery now lasts me two days with normal use, and I don't feel the need of charging every night just in case someone should give me a call that lasts over 5 min ;) The display is the #1 battery consumer with about 50-70% of the use. In standby my phone uses 3mA, which I'm happy with. At least the display usage can be modified by me :)

My setup:

ADHD 2.0.9 with Buzz kernel 1.2.2 O/C to 1.22Ghz smartass governor

Facebook for HTC sync once a day

Two exchange accounts (push in peak times, 1hr intervals off-peak)

Google account (contacts and calendar)

Snowstorm weather widget with 60min update interval

Wifi always on

Mobile network always on (GSM/WCDMA auto)
[Desire HD General] psych0t1c:
Very good thread.

I went right in and let it charge overnight and then wanted to do the minimal charge setup measuring (no wifi, no BT, just data) but forgot to toggle so my measuring reflected the usual state my phone has when I am at home - wifi only, nothing else.

What I was getting (nor surprised) is about 10 percent battery drain per 6 hours, I then did it again with WIFI off but phone data connection ON and I was able to get something like 2-4mA drain per minute which sounds about right.

I will keep monitoring this, but my actual question is: is there any system setting which I can use to edit the WIFI sleep policy? I mean whenever I download a file to the phone vie Astro File Browser with SMB client function and it accidentally goes into screen timeout the transfer failed, so I was thinking that screen off disables wifi and kept it always on assuming it will act like being toggled off battery drain wise. This seems to not be the case.

So how to change that sleep policy to resemble screen-off == wifi-off? Can this be done barebone or do I have to resort to setting up a Tasker rule for that?

Other than that, awesome thread, definately a lesson learned here and there.

Also, I can highly suggest Batterygraph which does a very good (maybe better job) at graphically displaying battery drain in a graph, it is not as detailed as a CurrentWidget log or graph, but it should make for an awesome "before-after" comparison.

Additionally for people being on the run often and not finding time / location to recharge (I try to avoid short charges like when I drive for twenty mins in the car I won't give it a half-assed charge but rather go down to 30-40 and then refill all the way) I can only suggest a portable extension battery like the Gum Battery pack, which allows you to comfortably carry about 3 charges (4800mAh) abd push them into the phone at 1000 or 1200mA (wall charger speed). Beats USB charging in the office by far.

Thanks for the thread.
[Desire HD General] burimii:
Have anyone tried this battery http://cgi.ebay.com/1600mAh-Standar...597794?pt=PDA_Accessories&hash=item3f04ed4362
[Desire HD General] leith51:
Don't do it dude heard bad things like they no better than stock battery plus they start losing charge quicker to be honest stick with stock battery and use custom Rom I'm getting a full day + depending on usage

E=Mc2
[Desire HD General] burimii:
Go to

Menu - Settings - Wireless & networks - Wifi settings - Menu - Advanced - Wi-Fi sleep policy
[Desire HD General] CitizenLee:
Agreed... eBay batteries are never worth it.

I've used a few for phones, mp3 players etc and they always end up loosing their charge quickly, and eventually just stop holding a charge altogether.

If you need a spare get an official HTC spare ;)
[Desire HD General] DN41:
i like mine as well :)

standby about 3-6mA...

what i hate are the windows in my school...

they are well "isolated" and it's hard to get mobile connection in their.

sometimes, my phone loses the connection and tries to reconnect to the network..and tries and tries... :D

the bad thing: this happened today for about 90 minutes...the log of currentwidget shows around 70mA consumption in this time.

bad bad guys who made those glasses...

DN41
[Desire HD General] chrisr27:
Nice post ...have had DHD since October and has always been pretty good with Battery, then all of sudden this last week the battery drains over night even from full when it isnt even being used. I go into battery stats and it says the display is using most of teh power, and the screen isnt even on all night...really frustrating.

I updated a few apps this week and trying to decipher which updates have suddenly caused this prob , was having prob with the market as it kept crashing and wouldnt show my apps...uninstalled and reinstalled it so hoping maybe that was it but will see..

Guess its a case of trial and error when you've updated loads of apps then get a problem, cos cant remember which ones exactly i updated, but know the prob is with one of the updated apps.

**Those interested, uninstalled Yellow pages, fancy widget, battery dr and 3g dog and battery probs solved...one of this evil buggers was the power draining culprit following recently applied updates. Removed at 4pm and 6hrs later battery has hardly moved :D
[Desire HD General] lws803:
Hmmm does overclocking to 1.22ghz affect battery life on buzz's kernel? 0.o
[Desire HD General] qazokm123:
THis week, same weird unexplain drastic drain at nite depletes my batt, (logged with current widget).(battery stats shows phone idle & cell standby combine use >=90%)

Hard reset does not solve the problem still.... testin testin more....

:(
[Desire HD General] colonel_lp:
does anyone know if it is possible to keep the batterystats.bin file from a calibrated rom and keep using it. I ask this as i am using the CM7 nightlies and have to constantly recalibrate.
[Desire HD General] arielext:
you can store that file on your pc and copy it back to the phone after you flashed the rom; although i don't recommend it; a rom can have a big influence on the battery.

if you want to copy it back be sure to understand how the /system partition of the phone works and then remount it with write rights, push the file back with adb and reboot the phone
[Desire HD General] BorisDeviant:
The aim of calibrating (your battery, your joystick, etc.) is to make your system accurately measure values (battery %, joystick movements, etc). So, porting a "calibration file" from one rom to another is not a good idea. You should take the time to do the whole process each time you flash a new Rom ;)
[Desire HD General] blaze0303:
Dude your awesome
[Desire HD General] Tapori_UK:
I've posted in two other forums but might as well try here:

Excellent guide that I have followed to the nth letter;

Had a Rooted, Radiod, LeeDroid Rom since Dec with no problems.

Suddenly last week, Wi-Fi acted up on standby, regularly rinsing 60mA

Without Wi-Fi it was the standard 1-4mA.

- It seemed to happen after a big app update from market;

But even after fully wiping (CWM Wipe Data/Factory Reset) and re-instaling LeeDroid (Newest one) I still have the Wi-Fi draining the battery.

Anything else I should do, or is it a hardware fault? Would hate to have to send it back...
[Desire HD General] leith51:
WiFi always drains battery doesn't mine always has stock or custom Rom if you got it on then your phone going to sync your stuff or if your downloading its going to drain it using WiFi is like using 3g the difference is its always on and being used cause it set to find signal every 90secs on leedroid which is a big improvement as stock Rom set every 15secs so I read

E=Mc2
[Desire HD General] Tapori_UK:
Thaks Leith51; I know Wi-Fi will drain, but LeeDroid and other RoMS significantly improved the Wi-Fi battery draibn, like I said:

There has been a considerable random degradation in battery performance since last week, and its linked to the WiFi in some way.

Again, before last week:

Standby, screen off, WiFi on: 1-4mA - Battery lasts about 24 hours with heavy use, 2-3 days with light use.

Wi-Fi off = 1-4mA " " " "

After last week:

Standby Screen off WiFi on: 60-90mA - Battery lasts like when I bought the phone, about 12 hours on standby with wiFi.

Standby Screen off, WiFi Off: 1-4mA, and theres some degradation in battery life in general even with Wi-Fi off compared to before last week.

Thanks again for any other help; Maybe its those Solar Flares! lol
[Desire HD General] pikipirs:
You might have the suspend process issue. When your battery is mostly empty, and you've noticed unusually fast drain:

- go to Settings->About phone->Battery use

- search for "suspend" or "System process"

- check for "CPU Time"

Is it excessive? Like a couple of hours per battery charge? Then you have this issue.

You can also check it this way:

- go to spare parts

- select Battery history

- select CPU usage and Since last unplugged

- search for suspend

There is no known solution that would work for anyone. Some have to disable sync, some have to disable wifi, some have to reboot, some can't get rid of it at all. For some the issue gets back within minutes, for others it doesn't reappear for a couple of hours. It doesn't seem to be dependent on a phone (yes, it happens on all phones) or on an Android version, other than that it is Froyo every time.

I've had this issue, I fell into the "can't get rid of" category. Finally, after updating the hboot/radio to the latest and flashing gingerbread, the problem disappeared, so I reckon one of these things did it. Also, go to your inbuilt browser's settings, and set plug-ins to "on deman", that might help.

Google for suspend process android to see the spread if this issue. Google knows about this already, but has yet to give a solution of even aknowledge the awareness.
[Desire HD General] Tapori_UK:
Thank you; Will look into this.

What baffles me more than anything is that for nearly 2 months everything was fine, then this problem seemed to appear pretty randomly out of nowhere.

Other discussion very much welcome.

P.S. - Just for ref purposes which radio/Rom combo did you use that fixed your version of the problem?

----

Just checked; Doesn't seem to be the suspend problem, as its listed but only lasted 27s.

Also, When WiFi is on but in standby, in SPare Parts-Other Usage-Since Last Unplugged

I have listed, both:

WiFi Running - 95 percent

WiFi On - 95 percent

? - So say you had it on standby for 30 minutes, shouldn't one of those not be being used for that entire duration?

----

Used Spare parts to check whats using the Network UID:

Accounts & Sync

Android System

BrcmBluetooth Services

Clock

Google Backup Transport

HTC Checkin Service

HTC Function Test Program 1.03g

HTC Hub

Settings

Settings Storage

Setup

Upgrade Setup

VPN Services

com.anddroid.qxdmlog
[Desire HD General] lampz:
really gingerbread fixes this kind of problem? hmmm the syncing problem? when our DHD is on idle?
[Desire HD General] Tapori_UK:
I think I've narrowed it down to something preventing the Wi-Fi from sleeping when in standby mode.

Trouble is I don't know what that is;

Its certainly not the radio or Rom as they've been working fine for 6 weeks, its just last week something changed during a routine App update and now the WiFi just won't go to sleep like before... Even after A Full wipe and a clean re-install.

It has to be something that is installed as standard (no extra apps)?
[Desire HD General] leith51:
Are you running 2.2.2 Rom with lateset kernel ?

It could be the lateset source maybe ask lee about the wifi it might need looking at as Im not getting low scores like 1-4ma either with WiFi on
[Desire HD General] Tapori_UK:
Thanks Leith - Its probably the the Kernel, yeah.

I am using the full 2.2. LeeDroid Rom Package that comes with the latest Kernel.

Will Try Kamaa Kernel, Buzz 1.2 GHZ 27/2 Kernel, LeedDroidBFS Kernel.

Flashed 2.0 LeeDroid - Tried all Leed Droid Kernels post 2.0 with this Rom;

Wi-Fi still at 60-90 mA, which means its not sleeping.

Tried Kamaa 2.x = 35-40 mA

Tried Buzz 1.3.3 = 40-45mA

So yeah, Kernel is affecting it I think.

Will Flash 1.5 Rom later If I can DL it)

Tried R3mix Rom - Same problem

Only had one Nandroid Mid December pre-Leedroid backup;

After restoring Wi-Fi was 30-40 mA.

Did a
[Desire HD General] lampz:
so your result?
[Desire HD General] kaleun:
Even works for my poor HTC Tattoo :-)
[Desire HD General] rubenswing:
A question if you may

I installed the said app (Current Widget), but its not creating any log file on the sdcard. Do i need to do something to get to the log file, and yes I have uninstalled and reinstalled the app. I am using a custom ROM by Android Revolution HD 2.1 on HTC HD
[Desire HD General] ultimatepichu:
put the widget on your phone home page, then go into it, check the box "log file". Should be logging data with default 30s.

Press view log to view your files after a long time.
[Desire HD General] rubenswing:
Sir, Please bear with me. Let me tell u the steps I have done. I downloaded the widget Current Widget on my HTC Desire HD, after it installed I then long pressed the app and dragged it to the home screen of the DHD, on the home screen I then clicked on the app and followed the instructions given on the first post of this thread. After 4 mins I went back to the and clicked on the show log... it keeps saying No Log file found, I checked on the SDCard for the log file too, but there is none there. Why is this happening, am I installing it wrong or is there some other problem. I have even flashed back to my stock ROM OS VER- 1.32.720.5, but still the same thing
[Desire HD General] rubenswing:
Ok I got it. I downloaded using the QR code from the author's site, it installed and then created a shortcut on the desktop, everything is working the way it shuld.... thank u
[Desire HD General] pikipirs:
Rom: Android 2.3.2, kernel 2.6.32.28, CyanogenMod-7.0.0-RC1-DHD

Radio: 26.04.02.17_M2

Suppose so. Maybe a stupid question, but what's your Wifi sleep policy? Settings->Wireless->Wifi settings->(menu button) Advanced. It should be on When screen turns off if you want it disabled.

Otherwise, I can hardly believe it's any of the system app's fault, especially if it started happening after an update, and it keeps happening since, even after a wipe (though it is true that system apps are set to automatically update in the market). In fact I'm quite surprised that it's not the suspend issue, seeing as how you basically described my story of how it all started. Some people think it has something to do with their google account. Try turning sync off to see what happens: Settings->Accounts&sync->(disable)Auto-sync.
[Desire HD General] ultimatepichu:
btw, you shouldn't long press the app and drag to homescreen. You're not supposed to add shortcut at home screen to your app, but add WIDGET. At home screen, click menu >personalise and add currentwidget under widget menu. :D
[Desire HD General] leith51:
For issues with current widget

1 download the app

2 long press homescreen to bring up menu

3 choose widget

4 find current widget its blue lightning flash and press it

5 it will bring screen up make sure the the green tick is in log file

6 back out and your widget will be on your screen

Current widget is set at 1min as default

If you want to view log (obvious give it time to make one)

Go in app draw open press current widget app press view log it will then give you option on how to view if you have anything else other than quickoffice make your choice then it will load

Don't forget when screen off and left the phone goes in to sleep mode so if your Rom is good your current widget will not log every minute which is a good thing
[Desire HD General] andreasy:
Very very helpful. I now know that the reason of my battery drain is because I have it on GSM/CDMA auto and indeed there is no good 3G coverage and my phone constantly switches from 3G to GSM. Whenever my palm covers the SIM card cover where the antenna is located, my 3G signal drops to 0 and it switches to GSM. If I switch to GSM only, there is no problem but most of my calls are lost.

I want permanent Internet connection and I have a data plan so, I have wi-fi on all the time together with data. When wi-fi is unreachable, I am automatically switched to Data. That's the way I need to work. I believe that GSM only cannot co-operate with Data connection and when there is data transmission, the phone just can't receive calls. As a result, 90% of my incoming calls are lost.

Any knowledge on that?
[Desire HD General] leith51:
Choose a better network with better coverage than the one your with now maybe ?????
[Desire HD General] antonaq:
Help me

Hi at all,

maybe that my feeling with the English is low but I can't understand when to delete the statistics file:

1) when the LED is green but Current Widgets reports that the battery is still in charge (non equal 0 mA)?

2) When Current Widget shows 0 mA?

Thanks for your helping.
[Desire HD General] leith51:
When you get to number 2 take off charge and delete as soon as you do
[Desire HD General] Locster126:
sorry bit off topic but I suggest changing the thread title to something like "extend your battery life"...

everytime this thread pops up with "NOT SPAM: ENLARGE YOUR...." I happen to think of all the emails I receive in my spam with similar titles saying "enlarge your p3nis" stuff..

and back on topic

great thread, very helpful information to be found here!!
[Desire HD General] leith51:
Hmmm is it really your spam emails Lmao
[Desire HD General] Drew442:
I got my DHD about 4 days ago and I'm running CM7 nightly builds (where is 13 damn it!) and would like to load a kernel with lower minimum clock and smartass governor. Does anyone know if the kernels built for Froyo ROM's work?

My battery life is aweful by the way. Just started the process in this thread to try to work out what's draining it.

Great thread!
[Desire HD General] leith51:
Try leedroid Rom plus kernel works great and good battery life you can get a good day to 2 days
[Desire HD General] lampz:
but the spikes can go 300ma :|

and it drains almost 5x on normal...

whats in JD tasker adwlauncher and widgetlocker.

no other running apps excpt this..

checkd the service too..

hmmm what could go wrong?

with my leedroid ROm? hmmm..

im planning to go to coredroid.. hope it would be good there.
[Desire HD General] Drew442:
That's a Froyo ROM isn't it?

I just need to get a day, not two.

What is your radio dbm in the location that the phone spends most of it's time idle?

What baseband version do you have loaded?
[Desire HD General] Drew442:
After a wipe and fresh install of CM7 nightly 12 I'm getting -11~12mA idle with the screen off.

93% after 3 hours. A few texts a few calls.

Baseband 12.39.60.19P_26.06.04.06_M

Kernel is CM7OC1.3.2

Clock is ONDEMAND 122-1017mhz

Getting there but not that happy. I want to the idle current to be half of what that is.
[Desire HD General] leith51:
You answered your own question mate those 3 apps you got are the cause of your battery drain 1 widget locker always on partial wake all the time adw launcher not sense so different script plus most of it themed and useing tasker will need to stay awake to identify whats happening

So answer is uninstall all 3 leave for 2 hours then come back
[Desire HD General] leith51:
Use leedroid Rom 1-4ma idle
[Desire HD General] tingardz:
wow! :eek: 3mA on buzz kernel at best (ARHD2.1)
[Desire HD General] kuceens007:
i have FC if i want to use batterry history ?!

and i have 100 -200ma when i m using phone,its normal?
[Desire HD General] BumAround:
Anybody care to try THIS kernel? Read the instructions carefully, though.
[Desire HD General] brantje:
Hi guys I use Spare parts app to check on which apps use up my battery and stuff, well this UID 10072 pops up most of the time under "partial wake usage", so I'm guessing it's one of the important or everyday use apps, but just can't figure out which one it is. If anyone knows please enlighten me.
[Desire HD General] username666:
Thanks

Very useful post.
[Desire HD General] 160bpm:
Very handfull,

Learned more about battery drain and how to find out what app is the problem.

Also add in my tasker app a profile to disable autosync and every hour enable it for 2 minutes.

After the tutorial and the profile action my battery is +50% after 9hours, data connection on and within a building where signal is not that good...
[Desire HD General] stuart0001:
Whilst charging the percentage will instantaneously jump from 94 to 100%

I've tried deleting battery stats but no change

Any advice?
[Desire HD General] asphaltkiller:
For your info i have found a soft on the market : system monitor. Ignore the error message click on menu then view device info. Scroll down and you ll see the battery charge in mah!!"" You can now be sure of you battery calibration if you d ont reach 1230mah!
[Desire HD General] marosige:
Cool guide!

I write an app for step 1.2- Calibrating the battery

[APP] Battery Calibration - EASIEST WAY!

Check it out if you want ;)
[Desire HD General] stuart0001:
It's now doing it at 90%. Any advice?
[Desire HD General] stuart0001:
Is there any hard evidence that the batteystats.bin file actually affects battery performance and doesn't just contain the "Usage Statistics" that you view in Settings>...>Battery Use