yashsingh1/xdaforums huggingface dataset:
[Desire HD General] LennoX32:
Hello guys.

I am an owner of an HTC Sensation XE, S-On,Not rooted,Stock ROM,and I got some pretty high values on standby.

If you wish,you can check my overnight log and see for yourself.

Spoiler content hidden.

I logged my processes there too. So the question is : What can I do about it ? :)
[Desire HD General] shaw6096:
Let me try it. It seems useful.

The 1230ma battery is very low for using.
[Desire HD General] fahemjd:
Battery problam

i did every thing which mentioned in your post but my htc dhd shown 67 ma average on current widgets at deep sleep mode over night
[Desire HD General] memnoc:
Find the culprit

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Desire HD General] coolpixs4:
Very strange with the phone behavior

Sometime, the battery consumption drop drastically even the phone in screen off and deep sleep

I use battery monitor widget pro to monitor the battery, in the history shows that it consumes -180mAh all the time from 21h~22h24',

before 21h I just used camera then turn off and screen off.

but the battery usage shows that no awake or screen on from 21h~22h25'

So, what is used the battery ?
[Desire HD General] memnoc:
Download GSaM battery from playstore, it has a good function to see apps usage

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Desire HD General] coolpixs4:
I cann't find GSM battery

Did you mean this app: GSam Battery Monitor

https://play.google.com/store/apps/...?t=W251bGwsMSwxLDEsImNvbS5nc2FtbGFicy5iYm0iXQ..
[Desire HD General] memnoc:
Indeed sorry mate autocorrection can be tricky:/

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Desire HD General] schlager P.:
Hi, I just did everything stated in the guide up to:"--Let the phone in charge, untill you see 0mA on current widget (or elixir)--", but even as it is freshly installed (ultimate HD 3.0.2) Current Widget reports 163mha, it just never reaches 0. Should I proceed or am I doing something wrong?
[Desire HD General] schlager P.:
proceeding, can't wait
[Desire HD General] fazi78:
See log history if there is any 0 in some time?

tapatalk ruleezz with firmawirlandii
[Desire HD General] indial:
Brilliant. A big thank you.
[Desire HD General] desire+hd:
thanks.good
[Desire HD General] luks_p:
Same here. I've plug in to the wall all night but never reaches 0mA. The less is 9mA. On my previous rom, it can reaches 2mA but not 0mA. Is it good to just calibrate?
[Desire HD General] memnoc:
If you let it plug a long time and did it on a fresh install without any downloaded app yes do it, could be a ROM issue, but be sure you're absolutely free from drain apps

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Desire HD General] luks_p:
Yes, I did on fresh install. Without setting up any account. I also turned the phone to airplane mode and the screen to the less brigtness.

But before it reach 0, it increase to higher then decrease again very slowly but never reach 0.

I've tried on 3 times fresh rom installation. Strange.
[Desire HD General] memnoc:
Well, it is a bit weird, but the thing is mainly charge it to the max monitoring anomalies like high amperage in sleeping states, this way you can see what is causing the drain if you combine monitoring activity with a fresh installation

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Desire HD General] luks_p:
Finally I got 0mA after almost 5 times get 2 or 4 then increase again. LoL

What I did were:

- Fresh install MIUI 3.5.10 (format all part except sdacrd => wipe data => wipe dalvik+cache => install zip => reboot);

- Turn all connection off and screen brightess to less;

- Turn almost all apps and services off (in Setting-Apps-Running Apps), except Home, Setting, and Keyboard

- Install CurrentWidget and Battery Calibration

- Check the current "mA" then turn the screen off. Turn the screen again to check the current "mA" then turn off again. Check several times until 2mA (was happy) but then going back to 4 then 6. OMG. Turn the screen off again and wait. When it reached 2mA, I decided to just calibrate it (2 is better than 4, right? LoL).

- Restart the phone and keep waiting for 0mA. When it show 4mA, I set the refresh time of the CurrentWidget to 10 sec (I don't want it to back to higher mA without my control. LoL).

- And ..... foilaa... it show 0mA. I run Battery Calibration immediately and did calibration and rebooting.

Now, will see how the battery life.

Big thanks to u memnoc.
[Desire HD General] luks_p:
3 to 4 full charge until 0mA or just 100%.

Sorry for keep asking.
[Desire HD General] memnoc:
0mA would be ideal, but you just try to get the lower mA possible, some devices/ROM don't ever get 0 mA

PS.forget the part about deleting battery stats

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Desire HD General] xChr11s:
wow, nice Tutorial. I have some problems with my battery and will try your steps to improve that (:
[Desire HD General] memnoc:
Good luck!:)

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Desire HD General] Ramdanih:
Great tutorials..

Easy to listening..
[Desire HD General] SirXro:
Thanks for the guide, few of the steps I was allready doing. Now I'm gonna get a new battery for my DHD for sure. Thanks again
[Desire HD General] dach.kojiharu:
going to give it a try
[Desire HD General] memnoc:
Current widget, but honestly, I don't need to check this anymore;-) with this guide, you'll find your best settings, and quickly checking if something goes wrong...keep in mind that I flash every ROM on this section, aosp and sense, and my average battery drain is still the same;-)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] brundlefly01:
Just strange during night you lose 2 % in 4 hours and then all hell breaks loose.
[Desire HD General] Dad Pee:
now current widget says 2mA display 66 mA on 9h54m23s on battery.

here is my home screen configuration

messages widgets

all acounts widget

people

agenda

digital clock and 8 apps on two pages nothing esle

edit Is it normal to be always almost above 66 on display?
[Desire HD General] memnoc:
That's the point mate...something wakes up (an app) and still runs in background..that's the reason why sometimes battery drain is perfect, and then is a mess;-)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] memnoc:
66% it's normal, it could be even higher, till 75% or so that's fine..

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] SQ3.0dotJP:
Try using the stock one for your carrier. From the ruu or a rom made specifically from your carrier. If u have softbank japan i can post u mine.

I also had to add a couple build.prop lines of script
[Desire HD General] michelD:
Ok thanks I will try to recover the one installed when I purchased my phone...If I recover the backup I made long time ago before I switched to AOSP ROMs...

And what are these lines you add in build.prop please ??????
[Desire HD General] memnoc:
Deleted, ot
[Desire HD General] memnoc:
Please guys, stop spam the thread!

If you don't like it, don't post here, that's the rule and the correct behaviour!

I'm not asking anything, isn't necessary for me that my thread stay here, or in another place! I've done this guide to share something that I guess it useful for people and if you see thanks and comment, it is! I'm not looking for fame in dev thread;-) I don't need;-) If you continue to spam this way, the thread will be closed, and I don't want it, cause it's a lot of work, and deserve respect, like any other work here!

Please don't answer to this post, and stop spamming ot, my point is clearly write in the first part of the op, there's no reason why to talk about it again and again..let the mods decide what should do, that their job, not yours! If the thread will be moved, I'll be happy anyway;-)

Better if we talk about battery drain;-) Thanks to all;-)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] M_T_M:
I smell trolling and spamming :cool:

Listen to the OP or infractions will start flying up in here.

Last and only warning ....

Regards,

M_T_M

PS: This thread will remain here cause I like it here ....capishe?
[Desire HD General] samuel2706:
M_T_M moding? ;) Lika a bawws!

Hahaha, editing my comment you troll you

Trollface
[Desire HD General] memnoc:
Thanks a lot;);)

LOL:-)

thanks to all partecipants, now the thread can continue!!;)
[Desire HD General] SQ3.0dotJP:
You need to bounce your roms build.prop off the stock one. My carrier had specific code just for my network
[Desire HD General] aankun:
good one

nice tutorial, thanks.

one question, sometimes the current widget log jump above 10mA. Is it normal when I get email or text. Because i get a lot :P

here the log content :
[Desire HD General] dsnunes:
Hi, guys.

I tried the method you suggested and it seems to be working, thanks. Anyway, I can't say it for sure because my CurrentWidget is not logging or showing the current drain in "mA" (it always shows "0mA" while discharging).

I'm using Elixir to check the battery current and it seems good (between 4 and 15 on deep sleep, except when sync'ing), but I couldn't find an option to generate logs about it. Is there any other app/widget to do that? I would like to be able to analyze the data afterwards.
[Desire HD General] ghandil:
Just wanna say thanks for this amazing share
[Desire HD General] memnoc:
Thanks mate;-)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] muscad:
Thank you memnoc for this informative thread. Have noticed a slight improvement in battery life especially after draining battery after calibration.
[Desire HD General] memnoc:
Thanks mate, it works;-)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] hichem512:
Thank's a lot :D
[Desire HD General] HDPC:
Thanks

Ill give it try, hope it will increase :)

Thanks alot.
[Desire HD General] memnoc:
OP has been fixed with some extra information and linguistic fixes. If you want to thank me, please click the thanks button in OP or in one of my posts, and keep posting, I'm always here to help if needed and add useful information as soon as I find them, thanks everyoone:good:
[Desire HD General] wangzhuoyu:
Big Big thanks
[Desire HD General] redmingo:
Very nice:)
[Desire HD General] MiikO:
It's really work?

Wysłane z mojego HTC Desire HD za pomocą Tapatalk 2
[Desire HD General] memnoc:
Yes

Inviato dal mio Galaxy Nexus usando Tapatalk 4
[Desire HD General] engabdelazem:
OK I will try:confused::confused::confused::confused::confused:
[Desire HD General] benbechirselim:
u rock bro
[Desire HD General] silentvisitor:
Hi,

First of all BIG THANKS for writing this up.

I am having severe battery drain issue and haven't been able to fix it. Maybe you could help me.

My current setup :

1. Android firewall

2. Custom HOSTS file

3. Greenify

4. XPrivacy

5. Wakelock detector

6. GPS, 3G, Locations, Auto-Sync - OFF. WFi ON 24hrs.

I came across your and other linked article.

I was on Sense 4+ on HTC Sensation and my reading was consistently between 285mA - 886mA. I decided to try your method.

I flashed CarbonRom (JB 4.3) with FULL WIPE (I always do). Put CurrentWidget and voila.............reading is still between 84mA(yup improved) - 668mA :(

I am running WLD to gain some wakelock statistics to show me.

Another thing is that my battery wouldn't show Charged even after 7hrs but if I reboot its 100%. Sometimes I keep it on charging for 2hs (from 2%) and then reboot and it will mostly show 100% and Green LED.

Need advice !

Thanks to everyone in advance !!!
[Desire HD General] grigoriisi:
How old is your battery? Maybe its time to change it? Ussually they last about 1000 charges. Just my 2 cents.
[Desire HD General] silentvisitor:
Battery and Phone are just 1 year old.
[Desire HD General] ramsharmjarm:
on mA i have a huge number (134100) on current widget? how can i fix this
[Desire HD General] computervip:
Thank you, good job
[Desire HD General] Nyt_Wolf:
Just the post I was looking for... Brilliant work!! :good::victory:
[Desire HD General] lml666:
Nice informations thanks alot :D
[Desire HD General] dario_pet:
Thank you, now i can calibrate my battery, I've bought a new chinese battery and figures 790 mha -.-
[Desire HD General] hijack :P:
Does different rom's have different battery life or it only depends on usage?
[Desire HD General] memnoc:
Generally you can't see a huge difference but sometimes you actually can notice a huge drain in some portings, for example, compare an aosp ROM builded for an HTC device with the same identical version for a nexus..the HTC one will always drain remarkably more than the nexus one

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[Desire HD General] hijack :P:
Thanks :)
[Desire HD General] tanglang1:
I've tried all the options you mentioned here but I still have problems with the battery.

I charged it overnight and in the morning it showed 100% battery. But the moment I disconnected it from the power source it changd to 80%. I checked my Battery management apps and found out that the voltage is dropping gradually after reaching the maximum even though the percentage still shows 100%.

Any suggestions on how to solve this and why does it happen?

Attached is a picture of Voltage, percentage and currency (in that order)
[Desire HD General] icyxwindz:
this helped me thank you
[Desire HD General] milad192:
whats this???
[Desire HD General] nittoorineeraj:
Battery stats

Hey mine discharges 11% with wifi on in the idle mode within 8hours on Android revolution 40.0 rom.Is that a normal case or can i try improving battery by cleaning that file???....Thanks!
[Desire HD General] memnoc:
That's interesting..yes your final conclusion sounds very possible to me, it looks like is a battery issue dued to the old age of the battery itself..I'm actually trying one thing on my Gnexus that gives me like one hour of screen more than the usual..so practically I found out that google play services.apk (the icon is like a colourful piece of a puzzle) keeps the phone awake, so much that I loose a lot of my battery because of the tracking position process (geo targeting) if you disable the geo tracking in settings/account/Google account you should see a huge boost in battery life..this process has been brought to my attention by a friend of mine that owns a Note3, and it actually works on mine..keep in mind however, that disabling geo tagging leads to a non functional issues with some apps like maps or Google Now or Weather app..said that, you can always enable it when you need it, and disable it back when you don't..as for your battery, the whole result is not that bad to me anyway.

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[Desire HD General] nikocc:
Best way to store it?

Sorry for this question. I have the Desire HD like reserve (it had been my first Android :)). Which way is the best to keep it stored? Keep the battery inside or take it out? With 100% of charge or less? Any recommendations? Thanks.
[Desire HD General] ashu2087:
Hey guys, this thread is really amazing. Ive used it for my other phones and never faced a problem.

On my galaxy S3 however, I cant get this to work properly.

I was experiencing serious battery drain. Full discharge in four hours on standy. I did a full wipe and flashed android revolution. No other apps. Didnt even sin in with my google acc. All I installed was current widget and battery calibration. This is the log file after a whole night with no apps running.

I think the battery needs replacing but there is no visible bloating on it.

Please advise. Any help is greatly appreciated.

Ps while typing this post I lost 10%
[Desire HD General] desirerr:
quite a few steps there. but will definitely give it a go once i have some free time. thnx for the advice!
[Desire HD General] SANBOR1991:
Hi guys!

this helped me thank you
[Desire HD General] cowboysgz:
How do I re-mount the partition after format clean? Thanks.
[Desire HD General] RASTAVIPER:
Add the screens from Betterbatterystats from Partial Wakelocks and Alarms and then we will find the draining problem.
[Desire HD General] czecx:
Sorry for stupid question...your new battery is original?
[Desire HD General] gabyif:
preety sure it is,I mean I bought it from a trusted Samsung partener.
[Desire HD General] memnoc:
That's a perfect log mate;-) it's perfectly normal;-)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] memnoc:
I guess cpu monitor could do that..try! And let me know, I'll add in the op;-)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] fknshwow:
I was asking if anyone could confirm if this fixed the battery issues
[Desire HD General] xT4Z1N4TRx:
Mines always around 100 MA :(

Sent from my Desire Z
[Desire HD General] SQ3.0dotJP:
I like juice plotter and battery monitor widget
[Desire HD General] aliff:
Here is my log file (I have only included part of it during the night, coz it is pointless to seek for battery drain when you are using your device all the time)

Did all the steps from the first post including 3 wipes, factory reset and battery callibration.

Then I have instaled apps one by one(current widget, shazam, smart shortcut and lockscreen widget), but nothing changed much

As I posted before I am using VUnity 2.33b. Wifi was enabled all the time. In addition I have received few messages during night time (as I understand it should force phone to "wake up").

Overall, my phone last for about 11 hours without charging.

P.S. For those of you who would like to post your LOG file, please use

tags. It will help to keep thread clean and easy to read.

Best regards.
[Desire HD General] xT4Z1N4TRx:
Wifi on, screen off i get 28ma :s

Sent from my Desire Z
[Desire HD General] Dad Pee:
Thanks memnoc since I started using ur suggestions my battery life is improved much switch of many hidden connections in apps I have not even taught off please stick to this good work has helped much.

Dad Pee posted on XDA App with DesireHD
[Desire HD General] memnoc:
You're welcome;-)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] samuel2706:
Ahh that's because your a wolves fan ;)

post the log i'll take a look, also if you have a chance do a ADB LOGCAT

something might be looping

also uninstall all your apps, then install them one by one and check in between to see which cause drain!
[Desire HD General] Karish1989:
Is it normal that that apps like shoot me, dolphin browser, maxton, youtube google uses a lott of sensor of my dhd ... 'cause my stanby drain with wifi is 50+ ma....
[Desire HD General] swgastro:
Amazing

I installed the RCMix3d 234 Rom and the first thing I noticed was my battery would be lucky to last a day! I ended up taking my charger to work just to be safe.

When I tried the information in this thread I was a little bit sceptical about the claims.. How wrong I was!

I can't believe the how long the battery lasts now. Its never been this good since day one.

Highly recommend everyone follows this guide. Well done memnoc.
[Desire HD General] Laddiobolocko:
Hi,thank you very much for this Guide,i have a question.

I have the last revolution rom with no sense end the kernel with this rom,i use set cpu.

What is the best scaling for a good mix of performance (when i use the phone) and battery life(when is screen off)?

Now i use in screen off conservative and for normal use smartass..

And you??

Thanks
[Desire HD General] mattiadj:
Hello, thanks for the guide. Followed it and now my battery drain is around 5 ~ 16 mha at 2g, screen off, wifi off, data off, and 422-233mhz smartass when screen off.

During use I have up to 380~450mha!!!!

But during screen off often I saw 42 50 mha!

So my question is how can I understand wich application drains battery???

I have a lot of applications but most of these have notification and background update off.

Also I have disabled htc information, fota and htc phone finder.

I have noticed that in gb i don't have the indication of cpu usage by application! So how can I discover the cause of drain???

Thanks!

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] aliff:
Dude, why are you using SetCPU on the last RevolutionHD ROM? It has a nice built in app, that allows you to control you states for CPU and governers. As far as I know, this OC deamon is much better in terms of performence comparing to the apps like SetCPU (acording to some devs here).
[Desire HD General] xT4Z1N4TRx:
LMAO nahh that cant be it, we just won Fulham 2-0, now we're top of the premierleague ;) but yeah im going to flash CM7 tonight, so i wont restore any data ;P thanks

Sent from my Desire Z
[Desire HD General] BumAround:
Seems like people confuse mAh with mA, which one do they refer to, actually?

mAh = capacity (power)

mA = current (drained)
[Desire HD General] aliff:
Most people here are talking about drain (mA), but I can't say for everyone.
[Desire HD General] Hawks556:
Here's a previous thread of the same subject if someone's intrested

http://xdaforums.com/showthread.php?t=937080
[Desire HD General] alexkruyer:
My batt has been good . I would say almost as good as when I ran Windows phone 7.(in hd2) Based on drainage seemed same .
[Desire HD General] memnoc:
Sure mate...if you see the comments, you can find the answer on your own..

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] memnoc:
I suggest you not to use any profiles, and use no frills, it's much more Better...anyway, I use 1152000 freq max and 122MHz freq min or 235 or so..that's the best way for me mate;-)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] Karish1989:
Anyone?
[Desire HD General] mattiadj:
Up...

Inviato dal mio Desire HD usando Tapatalk
[Desire HD General] SQ3.0dotJP:
sweet

but this is with the libhtc_ril.ro swap and .prop edits too. before swapping the ril even with these fixes:

after

:eek:

its geat to not have to carry a charger everywhere you go. i leave wifi and gps on now too
[Desire HD General] Alskarl:
In full idle I got in 12 hours 8% battery drain. Is that good?
[Desire HD General] memnoc:
mA(milliampere) mate, you're right when you clarify this point..
[Desire HD General] memnoc:
good mate;) you're ok!
[Desire HD General] memnoc:
@mattiadj

"So my question is how can I understand wich application drains battery??? "

You have to control apps one by one...install, and check phone behaviour...than install another app and do the same...that's the only way...
[Desire HD General] memnoc:
it seems an huge improvement mate, uh?;)
[Desire HD General] memnoc:
mm....sounds weird mate...try to uninstall all the "suspected app", and then install them one by one...check wich app keep your sensor awake..isn't normal at all..
[Desire HD General] BumAround:
Thanks for the response.

Secondly, it's pretty much useless (IMHO at least) for people to say "my phone drains this much percent battery over this many hours" without mentioning (a)which apps are running, at least whether they have wifi/push email/gps on or not, and (b)what is the average signal strength, 2G or 2G/3G or 3G etc, during the observation. You can virtually have amazing amazing batt life if you have nothing going on (wifi/push email/gps all off) and your signal strength/quality is constantly above, say, 60dBM with 2G only. ;)
[Desire HD General] ted77usa:
Hi,

i have two different battery both original,one of them if great battery life...about 30-36 hrs normal use....but the other battery only 12-15 hrs same use and same setting any idea why do i get two different battery use with same htc OEM battery...?

Virtuous Unity 1.27 with lee kernel oc daemon 1267_499_245