How to Optimize battery drain? - HD2 Android Q&A, Help & Troubleshooting and Genera

Hello,
I use Tytung's ICS 4.0.4 for my T-Mobile HTC HD2 (NAND), I've been using this ROM for months.
As such there is no problem with functioning of the ROM.
But my battery drains at a very fast rate. With 6hrs of use it drains to 20% at lowest brightness and no major applications running (2 applications in background at most).
Data enabled (2G).
What to do? Please help!!
Sent from my T-Mobile HTC HD2 using XDA Premium.

Can you download CurrentWidget from the Play store and give a value in mA? If you mean 6hrs without any usage then that's pretty poor. Try turning on airplane mode to determine whether it's an app or one of your connections that's causing the problem.
In currentwidget, the values should be approximately 4mA drain in standby with any connections enabled and 2mA in standby in airplane mode. Screen on drain varies a lot more.

OK, thanks. will revert back soon.

With screen OFF, networks ON, 2g enabled....drain is 6mA.
With screen OFF, airplane mode ...drain is 5mA.
Sent from my T-Mobile HTC HD2 using XDA Premium.

That's high but shouldn't be causing a drain of 20% in 6 hours. It's probably just draining a lot when you're using the phone, and there's not much you can do other than turning the brightness down which you've done already.

try wiping battery stats through recovery...fully charge your battery then wipe stats and let your battery to get fully discharge before you connect it to a charger for about a week...My battery never lasted more than a half day before doing this...now it lasts more than a day...Hope this works

Okz.. will try this..hope this works.
Sent from my T-Mobile HTC HD2 using XDA Premium.

eliaskammas said:
try wiping battery stats through recovery...
Click to expand...
Click to collapse
I wonder if this myth will ever die..
Google engineer Dianne Hackberry has talked about several myths about the Android operating system, including wiping battery stats.
The reasoning behind that piece of advice was something like this: If you, at some point, did not charge your Android device fully (for example, only to 80%), it would supposedly remember that battery level as “fully charged” – in this case, you’d only ever get to use 80% of your battery, which is of course less than optimal. So, if you wipe the battery stats, usually done in ClockWord Mod Recovery, the device would “forget” the previous level, here 80%, and instead charge to the full 100% once again, thereby re-calibrating the battery. Or, as Hackborn puts it in more technical terms:
The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/ directory.
However, as she explains, that’s not the case. Because those battery stats, stored in the batterystats.bin file, are only used to maintain information about what is using the battery when not recharging. That is, it essentially holds the information displayed in the Settings > Battery screen. Nothing more, nothing less. Thus:
It has no impact on the current battery level shown to you.
It has no impact on your battery life.
What’s more, you’ve probably noticed that the battery usage data is reset once you recharge your device anyway. From this you can correctly deduce that the battery stats are wiped as well – every time your device is recharged. More or less every day. If there was any effect, you would’ve noticed it without going into recovery and doing that stuff. Typical placebo, eh?
---
I’m as confused as a baby in a topless bar...

^Whenever someone asks 'how do I reduce my battery drain', ten people immediately jump in with 'CALIBRATE!!11oneeleven!'. No hate directed at whoever posted that advice here, I understand how easy it is to be misinformed (as I was about using SetCPU ), I just think that rumours like this are too easily presented as facts.

NYLimited said:
I wonder if this myth will ever die..
Google engineer Dianne Hackberry has talked about several myths about the Android operating system, including wiping battery stats.
The reasoning behind that piece of advice was something like this: If you, at some point, did not charge your Android device fully (for example, only to 80%), it would supposedly remember that battery level as “fully charged” – in this case, you’d only ever get to use 80% of your battery, which is of course less than optimal. So, if you wipe the battery stats, usually done in ClockWord Mod Recovery, the device would “forget” the previous level, here 80%, and instead charge to the full 100% once again, thereby re-calibrating the battery. Or, as Hackborn puts it in more technical terms:
The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/ directory.
However, as she explains, that’s not the case. Because those battery stats, stored in the batterystats.bin file, are only used to maintain information about what is using the battery when not recharging. That is, it essentially holds the information displayed in the Settings > Battery screen. Nothing more, nothing less. Thus:
It has no impact on the current battery level shown to you.
It has no impact on your battery life.
What’s more, you’ve probably noticed that the battery usage data is reset once you recharge your device anyway. From this you can correctly deduce that the battery stats are wiped as well – every time your device is recharged. More or less every day. If there was any effect, you would’ve noticed it without going into recovery and doing that stuff. Typical placebo, eh?
---
I’m as confused as a baby in a topless bar...
Click to expand...
Click to collapse
LOL i was just gonna post but ya beat me to it
i will just add the link to the xda news post about it
http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/

Nigeldg said:
^Whenever someone asks 'how do I reduce my battery drain', ten people immediately jump in with 'CALIBRATE!!11oneeleven!'. No hate directed at whoever posted that advice here, I understand how easy it is to be misinformed (as I was about using SetCPU ), I just think that rumours like this are too easily presented as facts.
Click to expand...
Click to collapse
And I shall not tell you how many times I did erase that bloody file before I too learned the truth. :crying:
Kameirus said:
LOL i was just gonna post but ya beat me to it
i will just add the link to the xda news post about it
http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/
Click to expand...
Click to collapse
Want me to go back and erase it for ya? No biggie...

Lol...
When one doesn't know a thing, he can be easily fooled about it.
Anyways ...Learnt something new today... :thumbup:
Thank you everyone.
Sent from my T-Mobile HTC HD2 using XDA Premium.

NYLimited said:
Want me to go back and erase it for ya? No biggie...
Click to expand...
Click to collapse
LMAO no

sonalikagaur said:
When one doesn't know a thing, he can be easily fooled about it.
Click to expand...
Click to collapse
As I said to Nigeldg in an earlier post:
NYLimited said:
And I shall not tell you how many times I did erase that bloody file before I too learned the truth. :crying:
Click to expand...
Click to collapse
sonalikagaur said:
Anyways ...Learnt something new today... :thumbup:
Click to expand...
Click to collapse
And that is all that's important.

to sonalikagaur....
obviously as the guys say don't bother trying my advice
to everyone...
at least now I know not to tell anyone about battery stats again...but now there is a wonder in my head...what made my battery last longer than it did before? I wasn't kidding that it lasts half a day longer than before...obviously battery stats didn't make the job...what did.? :-/

eliaskammas said:
to sonalikagaur....
obviously as the guys say don't bother trying my advice
to everyone...
at least now I know not to tell anyone about battery stats again...but now there is a wonder in my head...what made my battery last longer than it did before? I wasn't kidding that it lasts half a day longer than before...obviously battery stats didn't make the job...what did.? :-/
Click to expand...
Click to collapse
I found out something.... usually I used to keep my 2G ON the whole day...but when I switched my data OFF when not in use...my 6hrs...20% battery remaining changed to 8hrs..n 75% remaining.
That's a huge difference.
Can anyone suggest a good app for this? Switching my data OFF automatically when not in use .!!
Sent from my T-Mobile HTC HD2 using XDA Premium.

I think Juice Defender has this functionality built in.

sonalikagaur said:
I found out something.... usually I used to keep my 2G ON the whole day...but when I switched my data OFF when not in use...my 6hrs...20% battery remaining changed to 8hrs..n 75% remaining.
That's a huge difference.
Can anyone suggest a good app for this? Switching my data OFF automatically when not in use .!!
Click to expand...
Click to collapse
I would guess that many so called "battery saver" apps might have it, not really sure.
I don't turn off data when not in use automatically but I do use Tasker to turn it off for several hours while I sleep.

NYLimited said:
I would guess that many so called "battery saver" apps might have it, not really sure.
I don't turn off data when not in use automatically but I do use Tasker to turn it off for several hours while I sleep.
Click to expand...
Click to collapse
Yeah Tasker can do this but it's a paid app. Juice Defender is free and can also do the same thing in this case. I agree that Tasker is awesome but not necessarily for saving battery, more for ease of use.

Nigeldg said:
^Whenever someone asks 'how do I reduce my battery drain', ten people immediately jump in with 'CALIBRATE!!11oneeleven!'. No hate directed at whoever posted that advice here, I understand how easy it is to be misinformed (as I was about using SetCPU ), I just think that rumours like this are too easily presented as facts.
Click to expand...
Click to collapse
Could your go into more detail about you're previous misinformation about SetCPU?
Sent from my ZeJstersHD2 using xda premium

Related

CM5 or CM6 Battery Life ?

Which provides more battery life.
Im on CM5 now and my battery dies SO FAST you can almost see it going down just watching the screen, i have the screen turned all the way down, use only 2g networks. ever tried to under-clock, when i check battery usage says system idle uses 49%
any ideas ?
Are you serious?
Better yet, don't use the phone at all, that might save the battery.
Dude with those settings its like having a 20th Century device.
Flash another ROM or something, try wiping battery stats, it has been suggested all over the forum...
Why do I even bother...when the mods see this youre a gonner anyway.
It's not so much the ROM, its the apps and widgets you have installed. Some are poorly written, some don't play nice with other apps or certain set ups.
All you can do is install a monitoring app like system panel, and remove the apps that are using alot of CPU.
That's what I have done.
eyegor said:
Are you serious?
Better yet, don't use the phone at all, that might save the battery.
Dude with those settings its like having a 20th Century device.
Flash another ROM or something, try wiping battery stats, it has been suggested all over the forum...
Why do I even bother...when the mods see this youre a gonner anyway.
Click to expand...
Click to collapse
listen pal what im saying is my battery doesnt last for **** since i flased CM5 so im wondering if thats to be expected with CM5 and maybe fixed in CM6. but yea ur super helping that for the sarcastic reply, next time dont bother. ooh and btw i dont have to use the phone for it to die with in like 10 hours it will be idle the entire time and it will die.
Edit : OH LOOKY (Dev)CM's2.6.34.2(NR-6.35)(v0.63_08/16)(git updated-08/16)
**ONLY FOR NEW RADIO MAGIC-6.35**
Updated comp to 2.6.34.2 code, mic works, power issue is gone
look a possible fix with CM6...smart ass
Rugga said:
It's not so much the ROM, its the apps and widgets you have installed. Some are poorly written, some don't play nice with other apps or certain set ups.
All you can do is install a monitoring app like system panel, and remove the apps that are using alot of CPU.
That's what I have done.
Click to expand...
Click to collapse
and thank you for your helpful reply i will look into the apps i have.
EDIT: Battery usage says system idle is nearly 50% of usage, even after i kill all the apps :[
LOL! Wow, someone's a little edgy...
It's definitely not a "CM5 issue" that would be fixed in CM6 (CM6 is still in RC, CM5 has had several stable releases!) eyegor's suggestion to wipe battery stats was probably good advice believe it or not. Charge full, power off, leave plugged in. Boot into recovery and wipe battery stats. Power down, unplug and start up, let it drain allllll the way.
Check out xda homepage even - a battery calibration post!!
Battery life is pretty variable as you can see in the numerous threads on this topic. CM's forum has one with a poll with most saying CM6 is better, but not a clear cut answer.
I used SystemPanel's monitor function to identify which app was eating battery. It worked great! My biggest offender was Weather and Toggle widget. I loved its customization but its battery gulping was just not worth it. Got rid of it and my battery life is much more consistent.
I also got a cheapie battery off eBay which helped.
Both CM5 and 6 run perfect on my phone. No battery drains.
My point was that you're in the wrong section, pal.
You also might want to watch logcat while the phone is idle or sleeping to see if there are numerous errors or warnings scrolling by when there should be very little activity.
I have a similar issue. Initially I had the rediculous drain, but as mentioned wiping battery stats from recovery fixed it for the most part. Once it says its fully charged and you turn the phone off, let it sit charging overnight. Then wipe the stats in the morning and don't charge again until the phone turns itself off. Only issue I have now is that when I've got my GPS turned on, in use or not, it kills the battery. While in use I get about 2 hours from a full battery to the phone turning itself off. Haven't figured that one out.
Sent from my HTC Magic using XDA App
ok trying the "recovery - wipe battery stats) lets you know how it goes
DonJuan692006 said:
I have a similar issue. Initially I had the rediculous drain, but as mentioned wiping battery stats from recovery fixed it for the most part. Once it says its fully charged and you turn the phone off, let it sit charging overnight. Then wipe the stats in the morning and don't charge again until the phone turns itself off. Only issue I have now is that when I've got my GPS turned on, in use or not, it kills the battery. While in use I get about 2 hours from a full battery to the phone turning itself off. Haven't figured that one out.
Sent from my HTC Magic using XDA App
Click to expand...
Click to collapse
thus far ur method has worked ! my battery so far seems to last longer then when i first got the phone LOL
i was playing music at the loudest volume for an our just to test it and it only went down 3 percent battery life
thanks man
No worries. It freaked me out when I first flashed 5.0.8. I use my phone as an MP3 player in my truck with it plugged in to my CD players AUX Jack. Did a 5 hour road trip and only lost around 10% including a few phone calls.
Sent from my HTC Magic using XDA App
eyegor said:
Both CM5 and 6 run perfect on my phone. No battery drains.
My point was that you're in the wrong section, pal.
Click to expand...
Click to collapse
Rar! Faux-mod is angry!

[Attn] battery life tips

As I've noticed people ate flooding the threads with battery issues
I thought some tips might help
1. Wipe battery stats once and only doing it when switching between liberated and cm6, don't do it everytime u flash over a newer version of the rom
2. Use minimal brightness and do not use auto, although it may seem like it helps it doesn't, someone told me this and explained basically using the sensor wastes more batter than it saves
3. Use minimal data and get into the habit of shutting it off right after your done or set it on 2g for those who need the notifications, yes it might take a few seconds more to download but its better than the phone being dead
4. Don't let the phone completely die its bad for the battery, I've got into the habit to charge it every night even if it is full and its shown improvement
5. Leave the thing alone!!! If you need the phone don't play games, or anything else that drains it
Sent from my Liberty using XDA App
To contribute: Lithium batteries are most definitely temperature sensitive. When possible, take it out of your pocket, bag, etc. The hotter it is, the more it drains.
4. Don't let the phone completely die its bad for the battery, I've got into the habit to charge it every night even if it is full and its shown improvement.
^ that is a very important thing as Lithium Ion batteries do not react well to being deep cycled. It is actually recommended that you charge at no less than 35% to prevent the battery " memory" from retaining half charge and reporting full. Almost all new lithium ion batteries are manufactured with a microchip attached to a PCB. This maintains battery function and also allows your phone to report what the current charge, temp, and health of your battery is.
http://www.batteryuniversity.com/partone-12.htm
See the above link for more info on how lithium ion batteries work.
Sent from my HTC Liberty using XDA App
superchilpil said:
As I've noticed people ate flooding the threads with battery issues
I thought some tips might help
1. Wipe battery stats once and only doing it when switching between liberated and cm6, don't do it everytime u flash over a newer version of the rom
2. Use minimal brightness and do not use auto, although it may seem like it helps it doesn't, someone told me this and explained basically using the sensor wastes more batter than it saves
3. Use minimal data and get into the habit of shutting it off right after your done or set it on 2g for those who need the notifications, yes it might take a few seconds more to download but its better than the phone being dead
4. Don't let the phone completely die its bad for the battery, I've got into the habit to charge it every night even if it is full and its shown improvement
5. Leave the thing alone!!! If you need the phone don't play games, or anything else that drains it
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
How do we set Aria to 2g ? I want to turn off 3G however not finding any option. Battery life is terrible with Aria.
if you are on stock/liberated use the dialer to put in *#*#4636#*#* (speed is neccesary)>>phone info>>prefered newtwork type>>gsm only
cm6 has a toggle in the network settings/power manager
I've seen a couple posts, in other forums, that a task killer will hurt battery life more than improve it. Is this true? If so, why?
Also, I wiped battery stats more than I should've. Did that do permanent damage or will it fix itself over time?
Anthony1s said:
I've seen a couple posts, in other forums, that a task killer will hurt battery life more than improve it. Is this true? If so, why?
Also, I wiped battery stats more than I should've. Did that do permanent damage or will it fix itself over time?
Click to expand...
Click to collapse
some programs you cant kill so it makes the cpu jump to 100% which drains the battery
i personally find out which programs pop back up and put them on a ignore list to make it drain less
it isnt permanent it will fix over time just charge it fully and dont let it go past 15% and it should improve over time
If your in a 3g saturated area the 3g will contantly swap towers even with screen off, when i first got my phone i could sit and watch the battery level drop about 1% every 10 seconds to get around this open phones dialer and dial *#*#4636#*#* and under phone status select gsm only you use same method to swap back to WCDMA prefered for 3g if you need to use wifi tether or need high speed but this was like a whole new phone for me battery wise. will be neet if there is an app that enables 3g for like browser or maps or something like that and then swapps back to edge when not using something that would need it. if there is already one out there lemme know i could use it.
ryan92084 said:
if you are on stock/liberated use the dialer to put in *#*#4636#*#* (speed is neccesary)>>phone info>>prefered newtwork type>>gsm only
cm6 has a toggle in the network settings/power manager
Click to expand...
Click to collapse
This worked .. Thanks . I wish there was a widget for this . I am on stock ROM.
if you are on stock/liberated use the dialer to put in *#*#4636#*#* (speed is neccesary)>>phone info>>prefered newtwork type>>gsm only
cm6 has a toggle in the network settings/power manager
Click to expand...
Click to collapse
This worked .. Thanks . I wish there was a widget for this . I am on stock ROM.
Click to expand...
Click to collapse
So download a toggle widget from the market.
Sent from my Liberty using XDA App
ioft said:
So download a toggle widget from the market.
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
afaik none of them play nice with sense, at least the few i tried didn't.
ryan92084 said:
afaik none of them play nice with sense, at least the few i tried didn't.
Click to expand...
Click to collapse
What ones have you tried? I know there is a pretty popular one but I can't think of the name of it.
smoda widget.
Sent from my PC36100 using XDA App
Chr0nicDreamz said:
4. Don't let the phone completely die its bad for the battery, I've got into the habit to charge it every night even if it is full and its shown improvement.
^ that is a very important thing as Lithium Ion batteries do not react well to being deep cycled. It is actually recommended that you charge at no less than 35% to prevent the battery " memory" from retaining half charge and reporting full. Almost all new lithium ion batteries are manufactured with a microchip attached to a PCB. This maintains battery function and also allows your phone to report what the current charge, temp, and health of your battery is.
http://www.batteryuniversity.com/partone-12.htm
See the above link for more info on how lithium ion batteries work.
Sent from my HTC Liberty using XDA App
Click to expand...
Click to collapse
but will charging it overnight bad for it? so it dosnt overcharge? i thought i heard someone say that so i try to charge it before i go to bed then charge more in the morning but i wasnt sure if Li batteries would overcharge or not
edit: nevermind i just read that it is not possible to over charge a batty but it is bad to leave it charging for more than 24 hours because it will over heat and can cause internal damage to battery and to phone
Some battery saving automation
Ran across this a couple of days ago:
http://forum.xda-developers.com/showthread.php?t=807989
Been running it on my Aria on CM6.1-RC1. So far running as advertised. In areas with weaker 3g coverage, switching to 2g has cut my battery usage in about half. I've really only used this to turn off 3g, as I need 2g on all the time for push gmail and im, and am using setCPU for cpu clocking.
DD
1. Wipe battery stats once and only doing it when switching between liberated and cm6, don't do it everytime u flash over a newer version of the rom
Click to expand...
Click to collapse
i am running Liberated FR006, and have no plans on switching to anything else (maybe the official 2.2 release, but not likely). when should/can i wipe battery data? i've had the phone since june and havent wiped it.
Cinderous said:
To contribute: Lithium batteries are most definitely temperature sensitive. When possible, take it out of your pocket, bag, etc. The hotter it is, the more it drains.
Click to expand...
Click to collapse
Interesting. I was wondering about this the other, thinking that perhaps my battery life has gotten worse since I put the phone in a silicone case. Is that perhaps holding heat in/creating overheating and battery drainage?

Wiping Battery Stats Doesn't Fix or Increase Battery Life.

Yup, I said it. Nothing. Nada. Zip. Well, deleting the .bin file does do something...it resets the battery stats. Wanna know what else resets the stats?? Charging your phone to 100%. So, whatever benefit you saw from deleting the .bin was a placebo effect. Don't get me wrong, deleting it won't hurt anything. But it doesn't help anything either, and it certainly doesn't calibrate your battery. The only thing that file contains are stats, such as:
1. info about wakelocks
2. info about partial wakelocks
3. info about screen on time
4. info about screen brightness
I'm tempted to get into how lithium ion cells work, but that is a boring subject. I will say that li-ion cells don't have a memory to them, so there really isn't a "calibration" process. I will say that if you have piss poor battery life, you should consider the following:
1. An application/process that isn't allowing the phone to sleep correctly (keeping this general)
2. Any SamSprint firmware or derivative thereof
3. Knock it off with the overclocking. If you wanna screw with frequency tables and voltages, or let someone else do it and flash their kernel, be my guest. But don't ***** about your battery life if you do
4. YOUR BATTERY!!!!
Wanna know how I fixed the ****ty battery life on my girlfriend's Epic? I bought her a new battery I nice new shiny Epic Touch 4g battery with 20% more capacity and BAM, 2 days of battery life easily instead of 4-5 hours.
Seriously though, so many things affect not only battery life, but battery lifespan e.g. age (many users have had this phone for 1.5 years), # of charge/discharge cycles, excessive heat or cold (I bet a lot of people keep their phone in their pocket or a purse, huh?), etc. And while there may be quality control standards in the battery manufacturing process, not all batteries are equal and it's very possible that a battery was well below its stated capacity even when it was brand new.
Anyway, I'm tired and I need a coffee. I'm interested to hear others chime in and add to the discussion. Flame on! jk
Ryan
Crap! This was supposed to go in general... Mods, please move
This is what I've been saying all along. You put a battery in. You charge it. End of story.
All these people wasting literally hours upon hours on "calibrating" their battery are tools who should not be members of a development forum.
http://www.androidcentral.com/wiping-battery-stats-doesnt-improve-battery-life-says-google-engineer
zeppelin481 said:
Crap! This was supposed to go in general... Mods, please move
Click to expand...
Click to collapse
lol was gonna say, the only flaming you should get for this is for being in the wrong section!
Specialksg1 said:
lol was gonna say, the only flaming you should get for this is for being in the wrong section!
Click to expand...
Click to collapse
It was a total accident. I had a thread I was writing and the session expired. Lost the whole thing. Rewrote and didn't pay attention to the section. I expect to be flamed for it
zeppelin481 said:
Crap! This was supposed to go in general... Mods, please move
Click to expand...
Click to collapse
maybe if you drank your coffee you wouldn't make noob mistakes!
I saw you asked to be moved to general, that was my first question as well
Many people will argue that wiping battery stats is actually WORSE for battery life while using the same battery. After cycling perhaps. I think switching batteries requires a stat wipe though.
ksmullins88 said:
maybe if you drank your coffee you wouldn't make noob mistakes!
Click to expand...
Click to collapse
You're probably right. And I technically had 2 cups today, just not my usual gallon! I hope a mod moves it soon because I feel like a huge tool now...
zeppelin481 said:
You're probably right. And I technically had 2 cups today, just not my usual gallon! I hope a mod moves it soon because I feel like a huge tool now...
Click to expand...
Click to collapse
Lol! Hey at least it wasn't a completely idiotic thread like some of the people post in developement so you get at least 1 point for that... on topic... completely agree anybody that sees better battery life after Calibrating their battery just didn't use their phone as much after doing so... now maybe everybody will quit telling the people with bad battery life to calibrate and it will fix their issues...
Sent from my SPH-D700 using Tapatalk
Here we go...
Wiping battery stats has NOTHING to do with battery 'life'. It does however effect time from a full charge if charged from the epic itself.
What the file that is removed does it tell android what the battery level is for logging and status info. When something changes like the battery strength (age) or life change from the rom/kernel/tweaks then you need to delete that file or else it will assume the older setup is used as a norm. Android uses the data to tell the battery to stop charging at a level of 95ish% and also to power down at 5ish%. If these values are incorrect the phone won't keep a charge as log or power off earlier.
zeppelin481 said:
You're probably right. And I technically had 2 cups today, just not my usual gallon! I hope a mod moves it soon because I feel like a huge tool now...
Click to expand...
Click to collapse
Lmao, I hope they leave it in here just because
Sent from my SPH-D700 using XDA App
marcusant said:
Here we go...
Wiping battery stats has NOTHING to do with battery 'life'. It does however effect time from a full charge if charged from the epic itself.
What the file that is removed does it tell android what the battery level is for logging and status info. When something changes like the battery strength (age) or life change from the rom/kernel/tweaks then you need to delete that file or else it will assume the older setup is used as a norm. Android uses the data to tell the battery to stop charging at a level of 95ish% and also to power down at 5ish%. If these values are incorrect the phone won't keep a charge as log or power off earlier.
Click to expand...
Click to collapse
But this is right... sometimes if you don't clear your battery stats your phone still thinks you have, for example, say 75%, when you really have something less, like 50%. Thus when you charge it, it will think its charging to 100 from 75 rather than from 50. Leaving you 25% less battery or whatever and your phone will seem like its dying faster. Only because you haven't "fully" charged the battery. So in some cases, calibrating the battery by removing the file is neccessary.
Sent from my SPH-D700 using XDA App
Moved......NooB
marcusant said:
Here we go...
Wiping battery stats has NOTHING to do with battery 'life'. It does however effect time from a full charge if charged from the epic itself.
What the file that is removed does it tell android what the battery level is for logging and status info. When something changes like the battery strength (age) or life change from the rom/kernel/tweaks then you need to delete that file or else it will assume the older setup is used as a norm. Android uses the data to tell the battery to stop charging at a level of 95ish% and also to power down at 5ish%. If these values are incorrect the phone won't keep a charge as log or power off earlier.
Click to expand...
Click to collapse
This. End of story, wiping does help in certain cases.
Sent from my SPH-D700 using xda premium
Next time someone complains about battery life I'm gonna tell em to order an epic touch battery, its really the only way
Sent from my SPH-D700 using xda premium
Battery stats do nothing... I never charge my battery. I swap out with charged batteries. You can NOT make your power on time longer with battery stats!!! I've proved that with swapper batteries versus charging and wiping stats... It's a myth only because there is a file which tracks status. That file is rewritten to and reset everytime I swap batteries.
IT'S A MYTH!!!
Sent from my SPH-D700 using XDA App
troyolson92 said:
Battery stats do nothing... I never charge my battery. I swap out with charged batteries. You can NOT make your power on time longer with battery stats!!! I've proved that with swapper batteries versus charging and wiping stats... It's a myth only because there is a file which tracks status. That file is rewritten to and reset everytime I swap batteries.
IT'S A MYTH!!!
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
This. The battery stats contain nothing about your battery percentage. Those who think that are misinformed.
I thought the percentage is directly related to the voltage left on the battery. So how could any stats affect that?
xopher.hunter said:
Next time someone complains about battery life I'm gonna tell em to order an epic touch battery, its really the only way
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
Look out! Here comes the Peanut Gallery! But seriously, my point was that most people don't stop and think for even a second that their battery might be the problem. If you have a 2 year old battery that you've put through the ringer and it you are getting ****ty battery life, you should quit being a cheap ass and buy a new battery. The Epic Touch battery is $18 on Amazon and a 20% increase in capacity. Kind of a no brainer. Unless you're a cheap ass. Or slow. Or you think that wiping a binary file will magically fix it. Or you're a cheap ass.

Battery Calibration?

I am kind of amazed with what I am seeing, and am wondering if someone on XDA can help me understand this. So I was running CM7.x on my MT4G for over an year, and this past weekend I switched to CoreDroid because I wanted to try out Sense.
I had a bad feeling about the battery usage because the ROM was "heavier" than CM7.x in terms of UI, Graphics (of course because of Sense 3.5). I went ahead and installed the ROM anyways.
Within a couple of hours, I went from being fully charged to 5% battery....it was draining faster than anything I have seen before. I read CoreDroid release notes and they had mentioned about this severely fast battery drain.
Based on their recommendation, I fully charged the phone once battery level reached 5%. This time, my battery lasted about 17-18 hours, and again I fully charged it when it reached 5%.
Now after the second recharge, its been about 24 hours and I am at 97% battery. I didn't believe CoreDroid release notes that battery life will become better after couple of recharges; I thought it was a bunch of bull to get people to install their ROM.
I am glad to say I was wrong Can someone please explain this battery calibration deal to me?
Oh boy... This is a highly controversial topic. Here we go.
Basically there are people who swear by it and people who say it does nothing. That its all in your head.
Even this lady at google who helped create Android says it does nothing.
https://plus.google.com/105051985738280261832/posts/FV3LVtdVxPT
Sent from my HTC Glacier using XDA App
estallings15 said:
Oh boy... This is a highly controversial topic. Here we go.
Basically there are people who swear by it and people who say it does nothing. That its all in your head.
Even this lady at google who helped create Android says it does nothing.
https://plus.google.com/105051985738280261832/posts/FV3LVtdVxPT
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Best link ever; most informative.
- I think everyone loves Dianne now.
- Someone has a flying car already ...
- In the middle of the most intellectual and technical discussion of battery usage that I have seen, someone asks what is the best facebook app - brilliant!
So...
1. Battery stats are calculated differently per phone and OS version.
2. Battery stats reporting is definitely not %100 accurate.
3. Battery percentage is calculated differently per phone and OS version.
4. Battery percentage reporting is definitely not %100 accurate.
5. On some phones, you can override battery charging limitations by 'bumping'.
6. 'Bumping' is not recommended as can shorten your battery life.
They actually did not cover the OP situation where you let that battery go below 5%, although I am always guilty of skim reading. Still, extremely informative and explains a lot of previously posted battery phenomena.
estallings15 said:
Oh boy... This is a highly controversial topic. Here we go.
Basically there are people who swear by it and people who say it does nothing. That its all in your head.
Even this lady at google who helped create Android says it does nothing.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Wow, that made up for intense reading - thanks a lot.
It can't be something in my head for sure, If the difference was say a couple of hours I probably would have agreed with "the lady at Google" But I went from 2-3 hours to 24+ hours, so yes it's not in my head
Thanks again for your feedback.
Homerbsharp said:
Best link ever; most informative.
- I think everyone loves Dianne now.
- Someone has a flying car already ...
- In the middle of the most intellectual and technical discussion of battery usage that I have seen, someone asks what is the best facebook app - brilliant!
So...
1. Battery stats are calculated differently per phone and OS version.
2. Battery stats reporting is definitely not %100 accurate.
3. Battery percentage is calculated differently per phone and OS version.
4. Battery percentage reporting is definitely not %100 accurate.
5. On some phones, you can override battery charging limitations by 'bumping'.
6. 'Bumping' is not recommended as can shorten your battery life.
They actually did not cover the OP situation where you let that battery go below 5%, although I am always guilty of skim reading. Still, extremely informative and explains a lot of previously posted battery phenomena.
Click to expand...
Click to collapse
Lol....yea that FB app question was pretty brilliant I'll try to get in touch with CoreDroid folks, and see if they can answer my question.
I mean it does work, it's almost like a miracle to me.
I know. I just can't figure out WHY. Its been really bothering me.
Sent from my HTC Glacier using XDA App
Jessooca said:
Which battery calibration app are you using?
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
None, I am just surprised to see improved battery life after couple of 'full-drain, full-charge" operations.
BTW, care to suggest a good battery calibration app? Much appreciated.
well, the best battery calibration app Ive used is Battery Calibration by NeMa, but now after reading this thread it seems that they dont really do anything
ajrulez said:
None, I am just surprised to see improved battery life after couple of 'full-drain, full-charge" operations.
BTW, care to suggest a good battery calibration app? Much appreciated.
Click to expand...
Click to collapse
The drain-charge cycles is just a way to calibrate the battery- takes more time to "forget" the old stats, so people either use an app or manually delete the battery statistics so one can start accumulating fresh statistics.
After a few days you get your statistics right, from then on the battery indicator will be more or less accurate.
Battery drainage has nothing to do, really, with how many times you'll calibrate or drain/ charge or whatever. It has to do with how much you use screen on, Wifi, BT, gps, partial wakelocks, apps syncing etc. In other words- use your phone and be assured battery is going to drain. Leave it alone, let it sleep- battery will last a couple of days...
Sent from my HTC Glacier using Xparent Cyan Tapatalk
just to clarify, and sorry for butting in, but there is no such thing as "calibrating your battery"... this has been debunked by many people who understand android's Linux kernel and even an android engineer at Google.
the batterystats.bin file is simply that, a bin. it does nothing more than collect dumped statistics of what exactly has been using your battery, how long, how much power those processes used, etc. it has absolutely nothing to do with your phone's ability to display correct information about how much juice you have left - that function is within the Linux kernel which monitors, and controls power throughout the device.
ask yourself this... ever flashed a ROM with say 50% power left on a charge? what happens after your first boot? does your phone suddenly have no idea how much charge is left? no. it doesn't. because the new kernel you just flashed with your ROM is picking up right where you left off.
wiping battery stats is useless. period. it.does absolutely nothing to better battery life. that is fact. that is your phone. that is your Linux platform and straight truth in how it works.
and since it is stored in the data directory, every time you flash a ROM and wipe data, you are wiping the battery stats... so why do you boot up and do it again... I know... good question.
Sent from EVO 3D using XDA premium
aznprodgy said:
well, the best battery calibration app Ive used is , but now after reading this thread it seems that they dont really do anything
Click to expand...
Click to collapse
Hehe, yes I doubt if these battery calibration do anything.
estallings15 posted a very informative link in 2nd or 3rd post (of this thread)....all these battery calibration apps simply delete the battery stats file at least thats what one from NeMA does anyways
cobraboy85 said:
just to clarify, and sorry for butting in, but there is no such thing as "calibrating your battery"... this has been debunked by many people who understand android's Linux kernel and even an android engineer at Google.
the batterystats.bin file is simply that, a bin. it does nothing more than collect dumped statistics of what exactly has been using your battery, how long, how much power those processes used, etc. it has absolutely nothing to do with your phone's ability to display correct information about how much juice you have left - that function is within the Linux kernel which monitors, and controls power throughout the device.
ask yourself this... ever flashed a ROM with say 50% power left on a charge? what happens after your first boot? does your phone suddenly have no idea how much charge is left? no. it doesn't. because the new kernel you just flashed with your ROM is picking up right where you left off.
wiping battery stats is useless. period. it.does absolutely nothing to better battery life. that is fact. that is your phone. that is your Linux platform and straight truth in how it works.
and since it is stored in the data directory, every time you flash a ROM and wipe data, you are wiping the battery stats... so why do you boot up and do it again... I know... good question.
Sent from EVO 3D using XDA premium
Click to expand...
Click to collapse
Yep, agree with your comments 100%. After reading the link posted by estallings15 earlier in this thread, the myth of battery calibration was busted
I agree with most that Battery Calibration is a joke, and doesn't mean anything. However, batteries in many devices (not just our Cell Phones) seem to benefit from proper discharge/full charge cycles. In fact, it's usually recommended in things like electric RC cars that you completely run down the battery as far as you can go (realistically of course!) prior to charging; also to prolong battery life. I always notice at least slightly longer use times if I don't always pop the thing on a charger at 75%. But go with what works for ya, and of course some roms DO drain faster than others. And less screen haha

[Guide] Calibrating battery

I found a guide somewhere on the internet on the best way to calibrate battery stats on a rooted device when I had my old hero and I use it a lot to this day so I decided to share the best way to do it here. If there is in fact a thread about this already in our forums I apologize but I could not find one. So here it is.
Step 1.
First and foremost charge the phone to 100%(Even if it says 100% wait about 5 minutes or so just be sure.)
Step 2.
Once it is at 100% go into data/system (using root explorer) and delete the batterystats.bin file there.
Step 3.
Unplug the charger and reboot to recovery, wipe cache and dalvik cache and wipe battery stats once more while you're there just to make sure they're gone.
Step 4.
Power the phone down and plug it back in. Charge it to 100% while it's off (the battery bar can be deceiving so even once it shows it's full give it five more minutes or so to be sure) and then power up.
*As a side note, if you are using stock kernel, or a kernel without the 100% battery mod then your only going to be at 96%. Thanks to Glennkaonang for reminding me of this.
Once it is booted to the OS you should now see that the battery bar is at 100%. (please note that when it's going through the "Android is upgrading" thing it can take 1 or 2% off the battery if you have lots of apps)
Final step.
Wait for the phone to die completely (to where it shuts off on its own) and let it charge to 100% while the phone is off and power it back up. Do this step at least two or three times.
After that you should have a fully calibrated battery and have no more messed up battery reporting.
Photo of my average battery life just for fun.
Everybody enjoy! If this helped you please hit thanks!
*Thanks to whoever it was that wrote this up in the first place. If I knew who it was I would give proper thanks.
Sent from my Nexus S 4G using xda premium
Unless my batt % reporting goes wonky between reboots, I don't ever wipe stats. It doesn't necessarily increase your battery life, but it does appear to fix incorrect reporting.
Sent from my Nexus S
Wipe batterystats and fix permissions working well after each kernel change but I will give a try.
GideonX said:
Unless my batt % reporting goes wonky between reboots, I don't ever wipe stats. It doesn't necessarily increase your battery life, but it does appear to fix incorrect reporting.
Sent from my Nexus S
Click to expand...
Click to collapse
I didn't think it would improve battery life either but it does. Maybe not a HUGE amount but it definitely does help a little. Plus it will give you the correct percentage rather than showing 100% when it's really only 95%. Lol. Anyways, to each their own.
Sent from my Nexus S 4G using xda premium
It thought someone from Google talked about this before and how it's unnecessary?
doa4ever said:
Wipe batterystats and fix permissions working well after each kernel change but I will give a try.
Click to expand...
Click to collapse
Yeah this is kind of a more in depth way of doing it and it seems to help a bit more.
Sent from my Nexus S 4G using xda premium
Charge it to 100% while it's off (the battery bar can be deceiving so even once it shows it's full give it five more minutes or so to be sure) and then power up.
It's not work on my phone
tuansyaz said:
Charge it to 100% while it's off (the battery bar can be deceiving so even once it shows it's full give it five more minutes or so to be sure) and then power up.
It's not work on my phone
Click to expand...
Click to collapse
Maybe it's not working on your phone because you're using the stock kernel which doesn't have a Battery Life Extender cosmetic MOD.
It's just cosmetic, actually it's still the same 96% as all other Android devices do.
CMIIW
glennkaonang said:
Maybe it's not working on your phone because you're using the stock kernel which doesn't have a Battery Life Extender cosmetic MOD.
It's just cosmetic, actually it's still the same 96% as all other Android devices do.
CMIIW
Click to expand...
Click to collapse
That's pretty much what I was going to say. Lol. I need to add that to the OP.
Sent from my Nexus S 4G using xda premium
This doesn't do anything other than fix incorrect battery logging, it DOES NOT increase battery life in any way.
Not even a tiny bit. Nada. Zip. Zero.
Dianne hackborne covered this on Google+ and said repeatedly that it doesn't extend battery life in the slightest. She would know as she wrote the code I believe.
Placebo effect in operation here. Plain and simple.
Thanks a bunch.
mabry said:
Thanks a bunch.
Click to expand...
Click to collapse
You're very welcome.
Sent from my Nexus S 4G using xda premium
Why do you insist on bumping this? No new information has been uncovered, nothing has changed.
The only reason I can think of is that you are looking to stock up on thanks.
I did this before I even found this thread, save for I use a Battery Calibration app from the market instead of deleting the .bin file. (App does it for me.)
This was the result.
Word.
Great guide! I haven't saw a calibrating guide either. I think it should be sticky!
Joshhayes801 said:
Why do you insist on trolling my stuff? Maybe you should spend your time doing something useful instead of wasting it on something that obviously doesn't matter to you. I bump it so new users can see it. If you don't like it, don't look at it. :thumbup:
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
I wasn't trying to troll your stuff. I appreciate that somebody created this guide (albeit now proved to be ineffective/useless) as an informative resource for others. That being said, this information is easily found everywhere, especially with search.
Please understand, if everybody bumped a thread they created every few days because they thought it was useful, nothing new would ever show up on the first page of the forum. It would be the same threads appearing over and over.
I wasn't trying to offend you, I just think that bumping dying/dead threads is counter intuitive to growing this forum community.
Thank you.
It is in a sense misinformation though. It doesn't calibrate the battery, merely wipes androids battery usage statistics, which are only for reference to the user not the system.
Although included, the only pseudo calibration is charge fully, discharge fully then charge fully. This process wipes battery stats anyway.
rhanks
Sent from my Nexus S
gear.h34d.2012 said:
I did this before I even found this thread, save for I use a Battery Calibration app from the market instead of deleting the .bin file. (App does it for me.)
This was the result.
Word.
Click to expand...
Click to collapse
I have never calibrated my battery and get almost exactly the same battery life as what you are getting. All this does is wipe the stats.
____________________
Just Flash It !!!

Categories

Resources