yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] hoobledi:
After succesfully using the lights on - restart method for ca. 5 hours, I have to sadly report that my drainage is back at 60+mA :(

It started being too high after I established a bluetooth connection/switched bluetooth on for the first time.

I´ll try replacing the lights files next.

Edit: replacing the lights libraries didn´t work.

shubcraft 1.5 stock

elegancia gtx 3
[HD2 Android Q&A, Help & Troubleshooting and Genera] ugumba:
I've now tested booting with keypad lights on, with the original ( August) lights file in shubcraft 1.5, and standby current is fairly consistently below 10 mA. I'm very pleased!
[HD2 Android Q&A, Help & Troubleshooting and Genera] securecrt:
I also found shubcraft 1.5 stock still has 60mA even if use lights on boot.

but I can always get 6mA standby current with bangsters v1.1 since I find the amazing light on boot
[HD2 Android Q&A, Help & Troubleshooting and Genera] billgs:
<offtopic>

Thanks for pointing out the url.

Quoting from the site:

"The priority of each profile specifies the order in which it will be evaluated. If the conditions of two profiles are both true, the one with the higher priority will be set. For example, if you have both a Screen Off and a Charging profile and the screen is off and charging at the same time, the one with the higher priority will be set.

...

Some things to keep in mind: For multiple battery level profiles, assign the profiles with lower percentages higher priorities. For multiple temperature profiles, assign the profiles with higher temperatures higher priories. Generally, battery level profiles should have lower priorities than other profiles, and temperature profiles should have higher priorites than other profiles."

So now you know what is right. You can also refer to the screenshot example for setting priorities. If you are still not convinced, you should read

h**p://xdaforums.com/showpost.php?p=7743516&postcount=2986

from a fellow australian who knows a thing or two about stuff.

And please, be polite.This is a public forum.Keep the LOLs to yourself.

</offtopic>

Booting with the lights on for me doesnt make a difference. Some times the drain is minimal, and sometimes it reaches 60mA like before. I will try to investigate further.

Also, I think it would be interesting to have CurrentWidget results from actual android phones (Desire 2.2 or Evo 2.2) in order to compare and see what we MIGHT achieve (because maybe this is due to the OS itself, as I have read reports on the net that stock Desires havent got the best battery life)

Does anyone have an android phone?
[HD2 Android Q&A, Help & Troubleshooting and Genera] baderth:
7mA with sync/data on, Desire 2.2
[HD2 Android Q&A, Help & Troubleshooting and Genera] billgs:
This is truly impressive, given the fact that we run an early stage of the same version OS from SD on hardware that isnt meant for it!

Theoretically, this means that if we eliminate the 60mA bug, we could achieve 7 and something days of complete standby time (leaving the phone open doing nothing). Ok, I know this means nothing, but think that we can have 56mA loss (5%) during a good 8-hour night sleep, which is on par with the drain of some of the best cooked Winmo ROMs!
[HD2 Android Q&A, Help & Troubleshooting and Genera] sylau90:
sorry about that...but you can't just something are useless before you try...Anyway, I ggot 4-10ma when screen off always,very consistent...on shubcarft V1.5 origfont....7hours of sleep,battery reduced by 6%...good sign....

anyone using HTCCLAY build here?I have tried, its gonna burn my phone...

furtheremore,i found that when our device in high temparature, the battery level reduce very fast than usual, once you cold it down to 20++celcius...It'll back to normal...
[HD2 Android Q&A, Help & Troubleshooting and Genera] jdmitr:
Just wanted to share my experience and success in getting much improved battery life!

I am running the Clean Darkstone Froyo build on my HD2 with the 2.12XXX radio.

At first I had some bad battery drain issues like everyone else. After searching I found a similar battery thread and tried only the Gsensor calibration trick. Immediately I noticed a big difference with just trying this. I went from loosing about 10-15% on standby per hour to about 1-2% per hour. This was Great! I was running the Energy GTX rom.

I decided to flash to the minimal Chuckydroid rom and the battery drain issue was back...I tried the calibration "trick" several times and no luck. So I tried a few other roms and still no luck. It actually seemed to get worse.

I finally downloaded and installed Droid explorer and flashed to the Energy "reference" rom and then replaced the LED file fix in Android found in this thread. This did the trick!!! I now have VERY minimal battery drain...possibly less than on just WM alone!

I hope this will help some people.:)
[HD2 Android Q&A, Help & Troubleshooting and Genera] xlr8me:
I have been running overnight both the replace files and keypad light method. For about 8hrs standby it sapped 9% battery life. Current widget shows consistency with all results below 8mA with occasional spike to 16mA.

Now, which one to go for? I am going to do more testing with keypad light on bootup. I also liked the setcpu method and found very very low results with that method 3mA.

Also, will add that since replacing the two files method my issues with screen not awakening when pressing end hardware key have disappeared.
[HD2 Android Q&A, Help & Troubleshooting and Genera] xlr8me:
Just tried the keypad light on boot up method and getting 10~11mA in standby.

So in my testing the two best methods so far are:

* replace the two files method

And

*use setcpu method
[HD2 Android Q&A, Help & Troubleshooting and Genera] sev15:
radio?

Ok so I had 3 to 7 ma on standby for 2 days till I flashed 10 50 26 radio back to 60 so I'm going to flash back to 12 50 raido to see if raidio makes a difference in drain not sure if its the radio or the new energy Tom I flashed that did this I was on the chucky Tom when I had 3 to 7 ma I will find out
[HD2 Android Q&A, Help & Troubleshooting and Genera] hoobledi:
Seem to be experiencing sort of a delayed success with replacing the lights library file (put it in both directories). At first, it didn´t make any difference, still the drainage was at 60mA. Then, after a couple of reboots without really changing anything in the system (I only switched apps / background sync off and on once) , I´m suddenly at a fairly consistent 8 mA (lowest 6 - highest 15) over the last 11 hours now. I´m currently rebooting with the lights OFF.

elegancia gtx v.3

shubcraft 1.5 stock

Radio: 2.12.50.02_2
[HD2 Android Q&A, Help & Troubleshooting and Genera] aussiebum:
Fresh update! Pretty sure someone here mentioned it already, but I've just noticed another confirmed source of high battery drain during standby - the "Use GPS Satellites" setting in Settings. if you're not using GPS, turn it off.

On a normal Android startup, leaving the "Use GPS Satellites" setting on doesn't cause any high standby battery drain. However, just today some action I performed caused standby drain to jump up to 58ma until I turned off that setting. Suspects so far are: Market app, the *act* of turning on WiFi and using it, or playing the game Blow Up. Those are the particular actions I took and then noticed the drain problem afterwards.

I'm fairly sure if I rebooted, the drain would go away, but I can't be bothered rebooting and I shouldn't have to. For me, this just indicates yet another bug in the current Android builds - this time around the libgps.so file. Since we can't just go and delete the file (that would disable gps functionality!), have to go with a workaround.

I've updated my "lights" post with this information also.

EDIT: OH yeah, this was with a bootup of Android with keypad lights on.

EDIT 2: The starting Android with keypad lights on thing does seem to make a difference on standby power drain! To be specific, after getting the gps-bug, I rebooted twice with keypad lights off and it always started up with ~60ma drain. Rebooted once more with keypad lights ON when starting and sure enough, standby power drain fell to normal (~10ma or less) levels. Looks like let another bug in the keypad libraries then.... :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] vysus:
I have the same config, would you please share?
[HD2 Android Q&A, Help & Troubleshooting and Genera] xlr8me:
I have today tested the SetCPU method and for me it is the best right down to 2mA in standby..

I will stay with this for now..
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
I have been using shubcraft and without changing any lights file it was fine around 6-8mA standby. Last night I had the 60mA standby for first time. It seems random.

Was around %88 when I went to bed, was %38 when I woke up. I checked with currentwidget and it was 60mA for the first time. Normally it lost between %5-%10 while I was sleeping. (depnding on how long I've slept)

So it can happen even after days of usage. I will try to reproduce it.

The changes I did was disabling the g sensor with a script. (renaming akmd file and killing its process) and trying and then disabling bluetooth for the first time.

I think, the 60mA standby problem may be occuring because of more than just one reason.
[HD2 Android Q&A, Help & Troubleshooting and Genera] vysus:
I'v bought a brand new Trascend 8 Gb class 4 instead of a Sandisk 8 Gb class 2and disabled Gmail via the Exchange Server, according to a friend of mine.

Currently have over 300 mA while display on and more than 60 in standby with display off, battery drain is terrific.

I'll report if it works

I'll report if something change
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
I think your right sir. It seems very random but the ondemand setting seems to scale very well with cpu speed and battery life. last night I got about 1 to 2 percent loss an hr last night which is cool for me. I will refrain from making any changes and restarting lol.

I really love that we have gotten together and are actively working to find a solution. We can all help in our own little way.
[HD2 Android Q&A, Help & Troubleshooting and Genera] sylau90:
wish you all like the setcpu setting at the moment,I'll find more efficient setting and put it here...and share with you all...
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
I am working with this setting in setcpu,

Powersave Bias (ondemand only) - Setting this value higher will "bias" the governor toward lower frequencies. This is a percentage, where 1000 is 100%, 100 is 10%, and 0 is 0%. The ondemand governor will scale the CPU to a frequency lower than its "target" speed according to this value

I have it set for 500 seems a nice even number so far so good.
[HD2 Android Q&A, Help & Troubleshooting and Genera] hoobledi:
I´ve replaced the lights files in my shubcraft 1.5 stock and had longer streaks of low drainage (6-8mA). Then the 60mA+ bug came back. Can be reset to the low power consumption state by rebooting - BUT only a complete reboot with WM works, not the quick android reboot method by using the dev tools´ reset method ("bad behaviour"-> "crash system server")- I´m starting to see a correlation between activating bluetooth and a high drainage afterwards. BT activation/deactivation seems to trigger the high consumption state on my system.
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
Thats odd I have never not once used bluetooth on my system and I have the erractic drain. Its a ghost in the phone I tell you!
[HD2 Android Q&A, Help & Troubleshooting and Genera] simeezee:
Would you mind sharing your SetCPU settings? I have seen many different setups on the forum.
[HD2 Android Q&A, Help & Troubleshooting and Genera] xkravenx:
Just starting charging my HD2 after 24 hours.

25% battery left. Normal usage, some gaming, NYTimes reading, email, etc.

Not bad at all. :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] mb:
I'd agree with that too. I had amazing battery life with Dutty's, the WM power tweaks and Xcelsior's build. My 'droid lasted for 2.5 days! It's never done that again. Same setup, same tweaks.

Don't understand why. It's very random. By the way, are the LED tweaks here applicable to Xcelsior?
[HD2 Android Q&A, Help & Troubleshooting and Genera] yeche:
SetCPU

How do I run setCPU?

Is it a program that I need to download?
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
Setcpu is a donate app in the market and free here on xda!
[HD2 Android Q&A, Help & Troubleshooting and Genera] davebobson:
keypad suggestion fixed standy draining for me
[HD2 Android Q&A, Help & Troubleshooting and Genera] aarons6:
i think there is more to these power problems..

im running froyostones v2 build and before it had ok to not ok battery life, maybe 8 hours or so..

so today i unplugged my phone and for 2 hours it stayed at 100% for its been 5 hours now and im at 94%.

ive not changed anything :(

not using setcpu, and i didnt turn the lights on before i started android.

i dont use bluetooth, never even turned it on, same with wifi.
[HD2 Android Q&A, Help & Troubleshooting and Genera] xlr8me:
http://xdaforums.com/showpost.php?p=7977084&postcount=136

Enjoy and this is what I only use now and it works...
[HD2 Android Q&A, Help & Troubleshooting and Genera] simeezee:
Thanks. I tried the same SetCPU settinng, wm registry tweaks, boot to android with keypad lights on and file replacements. My result is also random like other members reported.

Rebooting android doesn't always make my battery drain down to 6ma.
[HD2 Android Q&A, Help & Troubleshooting and Genera] sylau90:
lol...you tried all at the same time?simultaneously?you should do it separately...
[HD2 Android Q&A, Help & Troubleshooting and Genera] anap40:
Just a quick update.

I had been at low batt usage (5-8mA) for almost 3 days then all of a sudden today it shot up to 60mA.

I rebooted the phone and started android with the keypad lights on like some suggested here - still had high drainage.

I replaced the files in system/lib and system/lib/hw and rebooted again (this time with the lights off) and now I have low drainage again.

EDIT:

I looked back at my logs and my battery drainage shot up when I was messing around w/ google maps and the GPS was enabled. I just tried it again and when I opened google maps and then went back to the home screen and put the device in standby the battery usage stayed at ~60mA. Then I went to settings then Location and unchecked use GPS. Without a reboot my battery drain went down to 6mA. I just noticed this one time, but maybe it is something other people can try and post back here with their results.

All my previous results that I have done in standby were with the GPS off according to the power widget, but with the box in the settings checked to use GPS
[HD2 Android Q&A, Help & Troubleshooting and Genera] xlr8me:
An update rebooted phone and still getting high 55mA in standby with SetCPU alone.

So now did the boot-up with keypad light ON and back down to 3mA.

Some interesting experiences.
[HD2 Android Q&A, Help & Troubleshooting and Genera] simeezee:
Indeed, but apparently none of them really fixed the problem. I'm still playing with it see what I can figure out.
[HD2 Android Q&A, Help & Troubleshooting and Genera] snomile:
Awesome man! I just turned off my GPS ,and the phone went back to 6ma when standby (which originally 60ma) . Hope others can try this , if it's the key ,we should spread it !
[HD2 Android Q&A, Help & Troubleshooting and Genera] sylau90:
I think this is as I said,android build inconsistency still has not solve yet...anyway...good luck...do it 1 by 1...If not,you gonna mess with the combination and confuse...
[HD2 Android Q&A, Help & Troubleshooting and Genera] deli_gt:
Made total SD comparison in first post check it out.
[HD2 Android Q&A, Help & Troubleshooting and Genera] hoobledi:
despite all these inconsistencies, at least we have found ways - workarounds, not solutions - of dealing with the excessive consumption in standby, even if we don´t understand how and why it´s working. Replacing the two files seems to be a safe bet for improvement for builds with the lights libraries from August, setCPU obviously works great when it works (haven´t tried it) and the lights-on restart has often proven successful as well.

A very small price to pay for having the latest and greatest, fully functioning OS on the best smartphone out there :)

My system is doing well in terms of drainage most of the time, if the bug reoccurs, a restart with lights on does the trick for me. I´ve tried to reproduce the bug today by:

Turning GPS, bluetooth, WiFi on and off, USB mass storage data transfers, background sync on/off, using browser, downloading apps from market, gmail usage, making calls...all without any results.

My phone is stubbornly keeping its low consumption (6-11mA) state today.

Well, can´t complain about that.
[HD2 Android Q&A, Help & Troubleshooting and Genera] advptg:
This question maybe too late in the day to ask.. but please help me.. how do i check the battery consumption when my phone is idle..
[HD2 Android Q&A, Help & Troubleshooting and Genera] deli_gt:
Read the thread xxxxx.
[HD2 Android Q&A, Help & Troubleshooting and Genera] hoobledi:
okay, I can reproduce the bug now on shubcraft 1.5 stock (with replaced lights files). The trigger for it is definitely the GPS, but only when turned on for the second time! First time is never a problem for me.

I encourage you to try it out by yourselves and report your results (state your setup):

after a fresh restart from WM with lights OFF, go to "location & security" -> turn "use GPS satellites" ON -> no 60mA+ bug

turn "use GPS satellites" OFF -> no 60mA+ bug

turn "use GPS satellites" ON once again -> 60 mA+ bug

turn "use GPS satellites" OFF -> bug is gone :)

from now on, the bug should consistently reappear/disappear every time the gps is turned on/off.

Looking forward to your results :)

Oh yeah, for those unable to read any threads completely ;) :

use currentwidget to monitor battery drainage in standby
[HD2 Android Q&A, Help & Troubleshooting and Genera] xlr8me:
Go easy on him he has only 1 post... LOL :P

To the noob check marketplace and download current widget.

Enjoy :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] faisalee:
Download Current Widget from market :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] sylau90:
LOL...how polite he is....treat newbies politely man...that is just his first post...

download CURRENT widget from the market...Long press the screen and add (current widget) on any page you want...
[HD2 Android Q&A, Help & Troubleshooting and Genera] 60redwood:
Ive been using the latest kernel and modules on shu8i 1.5 (2.12 radio, stock O2 winmo) and have tried various 'battery tricks' sometimes they work sometimes they dont, non are reliable and nothing seems to be consistent.

Typically in use current drain seems fine and setcpu can help control it (not bothered much with it so far though) but the issue is the drain in sleep mode, this should be (based on what I have achieved and others have said) down as low as 6ma but more often than not is 60ma or more. On a 1230mAh battery thats a difference between >120 hours standby and 20 hours standby (raw numbers, meaningless in the real world as a phone on standby that runs dead and cant be woken is no use to anyone).

I suspect, as do others, that this is actually a combination of issues with kernel, modules, drivers and really I think its where a focus of effort needs to be, if I may be so bold as to suggest :)

Until there is a reliable battery use cycle the phone while perfectly usable, will remain short changed.

All round I'm hugely impressed with Android on the HD2, I use it as my phone OS and have had almost no issues (screen freeze being the only one other than battery life, disabling auto rotate is NOT a fix, its a work around!) and I congratulate the developers and builders on their fantastic work.
[HD2 Android Q&A, Help & Troubleshooting and Genera] hoobledi:
I found GPS to be the culprit for my (and those of others) high battery drain in standby. check my post on the previous page. follow my steps and see what happens. good luck!
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
This is my best suggestion. Before venturing out for the day I would recommend checking your sleep drainage. I find my self demoing the fact that i can dual boot winmo and android. It pisses the people off who have problems with their hd2's

I then proceed to put the unit to sleep. I check my current and if its 60ma while sleep I restart. If its low like 3-7ma's then I call it good and go on about my day.

So far thats the way Ive found dealing with this problem.
[HD2 Android Q&A, Help & Troubleshooting and Genera] anap40:
try checking the GPS settings like it was discussed a bit earlier in the thread
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
My gps is never on I dont need it

And when I do need It I turn it on then turn it off.
[HD2 Android Q&A, Help & Troubleshooting and Genera] faisalee:
Thats strange... because my setup exactly the same including Radio. The only diff is WinMo => ChuckyDroidTMOUS

Memory card also the same Trsnscend Class 6 8GB Card.

My result is 5ma to 10ma in standby. But I am also using Set CPU with following profiles:

1. Screen Off: Min 245MHz, Max 245MHz, Priority set to MAX

2. Battery < 30%: Min 245MHz, Max 545MHz, Priority set to LOWEST

3. Frequency: 20000 and 30

But I DID format my memory card using ChuckyDroid provided tool before flashing :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] deli_gt:
My card might be bad as it was second hand other's wasn't
[HD2 Android Q&A, Help & Troubleshooting and Genera] pixine786:
x mA standby - 5mA

x WM ROM - kwbr 4.3 Android Friendly COM2

x Radio - 2.12.50.02_2

x Android ROM - mattc Leo + Froyo w/Sense 1.7 ppp

x Kernel - mattc 2.6.32.9 #4

x Micro SD - Stock SanDisk 16GB class 2 (which comes with T-mobile HD2)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Hd2Menace:
mA standby: 0-7mA

WM Rom: Chuckys GTX Lite

Radio: 2.12.50.02_2

Android Rom: shubCRAFT 1.5 regular

Kernal: Default shubCRAFT 1.5 kernel

Micro SD: Stock SanDisk 16GB class 2

Fully charged at midnight. Left it uncharged before i went to sleep and woke up at 10am with 85% battery life. Is that any good?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Gary.M:
I installed this build yesterday...

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

I toggled off the GPS, found standby current is 6mA. Using Setcpu with just a screen off profile.

Overnight drain was exceptional. When I put into flight mode and put it on the bedside table it showed 83% battery. When I got up about 9 hours later I checked... still 83%!!.

Current widget showed power drain had been 2mA during the night.

This build also seems very stable, and pretty much everything works... no freezes.
[HD2 Android Q&A, Help & Troubleshooting and Genera] bruce0126:
My current draw was less than 10 mA during idle. But today it jumped to 60 mA after turning on and off Google navigation, and the current never come back to the single digit level. As suggested by other user, un-ticking the "use GPS satellite" in android's location setting reduced the standby current back to 7 mA.

Try this if you see high standby current and report back. :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] simeezee:
I have tried that didn't work for me. Still get about 60mA drain during standby.
[HD2 Android Q&A, Help & Troubleshooting and Genera] xkravenx:
Most of the time I get from 5-10mA on idle. Sometimes if you reboot it be 60mA. The only way to get it back down is by restarting it again.

Dont know exactly what's causing it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] simeezee:
I'm using shu8i's 1.5 build original font.

The LED on the top of my phone is always on. How do I disable that LED completely? I don't really need it anyways.
[HD2 Android Q&A, Help & Troubleshooting and Genera] anap40:
Try a reboot with the use GPS unchecked. Sometimes just unchecking it works for me sometimes I need to reboot also.