Wiping battery stats? - HTC Sensation

Does wiping battery stats too often due to flashing alot of roms reduce stock battery performance ?? Being curious..
Sent from my HTC Sensation Z710e using xda premium

No. The battery stats file is only used for determining battery drain. It does not have an effect on battery life one way or the other.

dallashigh said:
No. The battery stats file is only used for determining battery drain. It does not have an effect on battery life one way or the other.
Click to expand...
Click to collapse
Thanks and while were at it dont wanna open a new thread is there any script for disabling the charging led ?? It gets very annoying at night in the bedroom :/
I remember i had such a script on my old x10 ... Thanks in advance
Sent from my HTC Sensation Z710e using xda premium

wiping battery stats does nothing to your battery and actually the battery stats are wiped automatically every time u fully charge ur phone:
Dianne Hackborn said:
Deleting it is not going to do anything to make your more device more fantastic and wonderful... well, unless you have some deep hatred for seeing anything shown in the battery usage UI. And anyway, it is reset every time you unplug from power with a relatively full charge (thus why the battery usage UI data resets at that point), so this would be a much easier way to make it go away.
Click to expand...
Click to collapse
source: Dianne Hackborn - Android Framework Engineer on Google+

PuscH said:
wiping battery stats does nothing to your battery and actually the battery stats are wiped automatically every time u fully charge ur phone:
source: Dianne Hackborn - Android Framework Engineer on Google+
Click to expand...
Click to collapse
If the battery stats get wiped every time it hit 100 how one can keep the same battery life daily ?
Sent from my HTC Sensation Z710e using xda premium

The only way to really preserve a battery is to fully discharge, fully charge. Mine was going great until I slacked on it. I started only charging a little, fully charging from 40%, etc etc. Now, I'm on 100% for two hours. Then I drop fast to about 80%. Then I float around 80 to 60% for a few hours but once I go below 60%, boom, 20%. The last 20% go quick too.
Don't get me wrong, my battery life is basically the same, but now it's really inaccurate. If you start to feel this, the best thing you can do is fully charge, fully discharge. Do that a lot, over and over. It might help correct it, might not.
But to reiterate, no, wiping battery stats does nothing.

sshede said:
The only way to really preserve a battery is to fully discharge, fully charge. Mine was going great until I slacked on it. I started only charging a little, fully charging from 40%, etc etc. Now, I'm on 100% for two hours. Then I drop fast to about 80%. Then I float around 80 to 60% for a few hours but once I go below 60%, boom, 20%. The last 20% go quick too.
Don't get me wrong, my battery life is basically the same, but now it's really inaccurate. If you start to feel this, the best thing you can do is fully charge, fully discharge. Do that a lot, over and over. It might help correct it, might not.
But to reiterate, no, wiping battery stats does nothing.
Click to expand...
Click to collapse
Okay thanks alot but can a custom rom really make that much difference on battery life's performance ?? On my old x10 no matter how many scripts tweaks for batttery they would add i would always get same battery life is it the same here ?
Sent from my HTC Sensation Z710e using xda premium

Related

Battery won't charge to 100% on stock phone

hi guys. I'm having a pretty simple problem - my phone will charge up to full according to the battery icon when it's off, and when it is on it says charged on the lockscreen, but it says 96% on the battery widget that I have and as soon as I unplug it it drops to 96% on the lock screen. I know this is a problem common if a tomorrow was flashed with a not full batt, but I haven't flashed anything. I have only rooted. Deleting batterystats .bin didn't seem to do anything.
Thanks in advance. Hopefully it's an easy fix.
Sent from my rooted Nexus S using XDA App
No problem for you. It's made to charge up to 96% to "extend battery life" or whatever. Don't worry about it.
Some kernels provide a cosmetic fix that shows 100% charged, but it charges only to 96%. Another alternative is to bump charge the battery (explained here on the forums) but I don't see why you would do that. Not much to gain anyway.
Sent from my Nexus S using xda premium
it's safety feature in order to protect battery
That extra 4% - not that significant. I've tried to bump it to 100% (have to wait significantly long), but not much gained in term of extra uptime.
flodb113 said:
No problem for you. It's made to charge up to 96% to "extend battery life" or whatever. Don't worry about it.
Some kernels provide a cosmetic fix that shows 100% charged, but it charges only to 96%. Another alternative is to bump charge the battery (explained here on the forums) but I don't see why you would do that. Not much to gain anyway.
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Ah cool. Thanks for the info.
It's not like that extra 4% is a big deal, I was just curious if i needed to recalibrate or not.
iamtheculprit said:
Ah cool. Thanks for the info.
It's not like that extra 4% is a big deal, I was just curious if i needed to recalibrate or not.
Click to expand...
Click to collapse
Nothing to worry about. Just enjoy your NS with ICS
read here : http://forum.xda-developers.com/showthread.php?t=1040229
and try installing Nexus S charger app in the market, got 100% charged on my Nexus S 4G !!
acutally , for Li-ion battery , if you everytime drain it to 0% or charge it to 100%, would damage it and short its lifetime...
If you wan't charge 100% use a custom kernel or Rom.
Exemple : Peter Alfonso : http://www.peteralfonso.com/

[Q] High battery drain (50-100 mA in current widget in sleep)

I have an unlocked T-Mobile Sensation 4G and I've tried a lot of different rom (with Sense and AOSP, GB and ICS).
I had made battery calibration every rom change (Full charge -> wipe battery stats -> do some full discharge/charge circles in normal use).
Every time I have 50-100 mA battery drain in "sleep" according to Current Widget and another battery widget (tried another to commit that Current Widget tells truth).
The phone settings are maximum power-saving:
Fixed small brightness
2g only
Data and auto-sync are turned off
Wifi only if needed
CPU is downclocked to 1.2 gHz
Battery is stock. Phone is two months old.
In my regular usage (1 hours of calls, 10 min wifi) phone dies in 12 hours after full charge.
It is not my first android and I'm not a total noob. My Desire HD with one year old battery live 2 days with my usage.
Also I notice, that sometimes battery left is not accurate and changed after reboot to a bigger value. For example, 80% left -> reboot -> 82% left.
Any suggestion?
Thanks in advance!
Sorry for my poor English...
My suggestions:
1. Use system tuner or a similar app to check up on which apps are draining the most power (keeping the CPU on, etc).
2. If no culprit can be found, full wipe and reflash your ROM, and refrain from downloading any apps, see if that improves battery drain. If it does, slowly install more apps until the battery drain goes up again, and you'll know whats causing it.
3. If reflashing does not help batter life, you might want to try another ROM or kernel.
4. If none of those help, or even if they do, I highly recommend an ANKER battery, it'll at the very least boost your battery life a few more hours.
5. If the battery life still sucks, then it might be a hardware issue and you might want to get it exchanged or whatnot.
I used to have the same high battery drain problem, but after flashing new ROMS/Kernels and switching to an ANKER Battery, I now get 2 days of light/medium use out of my Sensation.
Currently using Insert Coin 4.5.0 with 1.5GHz overclock+undervolt if you're interested in trying.
MoodyTunic said:
My suggestions:
1. Use system tuner or a similar app to check up on which apps are draining the most power (keeping the CPU on, etc).
2. If no culprit can be found, full wipe and reflash your ROM, and refrain from downloading any apps, see if that improves battery drain. If it does, slowly install more apps until the battery drain goes up again, and you'll know whats causing it.
3. If reflashing does not help batter life, you might want to try another ROM or kernel.
4. If none of those help, or even if they do, I highly recommend an ANKER battery, it'll at the very least boost your battery life a few more hours.
5. If the battery life still sucks, then it might be a hardware issue and you might want to get it exchanged or whatnot.
I used to have the same high battery drain problem, but after flashing new ROMS/Kernels and switching to an ANKER Battery, I now get 2 days of light/medium use out of my Sensation.
Currently using Insert Coin 4.5.0 with 1.5GHz overclock+undervolt if you're interested in trying.
Click to expand...
Click to collapse
Thank you, I will try.
How much does your battery actually drain overnight? Should be around 1% per hour or less if all is well. Disregard currentwidget in deep sleep mode as the Sensation has a very broken meter.
Sent from my HTC Sensation Z710e using XDA App
Kameeeleon said:
How much does your battery actually drain overnight? Should be around 1% per hour or less if all is well. Disregard currentwidget in deep sleep mode as the Sensation has a very broken meter.
Sent from my HTC Sensation Z710e using XDA App
Click to expand...
Click to collapse
I'll check it this night.
With jumping battery meter I don't know if these values will be correct. But when the battery value reaches 0% the phone shuts down immediately and don't turn on. So 0% it counts well.
i think im also having the same issue . i checked current usage when in sleep mode.its between 50-80
Sent from my HTC Sensation XE with Beats Audio using XDA App
12hrs with the standard battery is actually very good for a sense build, without sense it should go around 15 - if the battery is in good condition. The battery driver for the sensation is very buggy and you won't get accurate results with any measurement app. Don't worry about the standby or inuse readings as they will both be wrong.
If you're battery drains faster than 1% per hour in standby, assuming you are in a good signal area, then use a system info app to see which program isn't sleeping, then uninstall that program.
But it doesn't sound to me like you have a problem.
According to the log file it drains 1-2% in hour (now I'm using aosp build, MIUI). I think, new Anker battery is the only way. Thanks to all!
Maybe in the future we'll get a more accurate battery driver...

[Q] battery calibration

Hello,
I am trying to install some custom ROMS onto my phone and I just found one that I want to use. But I did read something that you should recalibrate your battery after installing custom ROMS. Is this true?
And my 2nd question is how to do this. Because I found an app: "Battery Calibration", but I don't know if this will do the trick. I know you can calibrate the battery with Clockwork too, but is this the same as the app?
Thanks in advance
Mathi
The purpose of recalibrating the battery is too get an accurate estimate of battery life. When you switch roms the processor usage changes. Your cell phone doesn't recognize this though and continues to estimate according to the old ROM usage.
I don't know about the apps, i've always done it the manual way.
Sent from my DROID BIONIC using Tapatalk
battery Cal.
this app works if you follow the 3 steps, charge to 100% then calibrate it unplug your phone then let it discharge fully then when you recharge it don't unplug it until it hit 100% for the second time then you should notice a slight improvement in your phones battery life i am sure the app and cwm method are similar, but with this app you should have no problem its really easy to use, hope this helped, happy tweakin
Hans5849 said:
The purpose of recalibrating the battery is too get an accurate estimate of battery life. When you switch roms the processor usage changes. Your cell phone doesn't recognize this though and continues to estimate according to the old ROM usage.
I don't know about the apps, i've always done it the manual way.
Sent from my DROID BIONIC using Tapatalk
Click to expand...
Click to collapse
How do you do it manually? Let it complete drain out and fully charge ?
From the recovery menu.
Sent from my DROID BIONIC using Tapatalk
All sources have said that Battery Calibration is reliable.
Also keep in mind that with Li batteries, every time the battery dies, its life is shortened by a small amount; therefore, every time you drain it completely, you're actually losing a little bit of battery life.
Other than that, I would be that Google can pull up quite a few results.
According to Google dev blog, wiping batterystats.bin is unnecessary and is in fact useless. You can Google for the link....
Sent from my PC36100 using Tapatalk 2 Beta-6
everytime i flash a rom also never do the battery calibration,it is necessary?
weiloon1234 said:
everytime i flash a rom also never do the battery calibration,it is necessary?
Click to expand...
Click to collapse
Not necessary at all, when you charge your battery 100% its already calibrated (status refreshed)
I've been using the battery calibration app ever since I started flashing ROMs and have done it every time I flash a new ROM. Can honestly say I notice a difference. Not always immediately as its advised to do a couple of full drain recharges before assessing your battery life

[Q] Battery Drain *Please Read*

I love to flash different roms from the devs here on this sensation forum, but when I do try anything thats AOSP Or that AOKP even miui it seems like my battery drains faster then it does on the htc stock roms. I would love to try to Jelly Bean roms that im sure are gonna start popping up very soon but afraid they will give me the same results in battery. anything i could do to fix it?
After every new rom flash you should drain your battery to under 10% then give it a full charge and wipe the battery stats from recovery. This is to calibrate your battery. By doing this the new rom gets to know your battery more or less, and will give you a much more accurate usage and drain.
Sent from my HTC Sensation 4G using xda app-developers app
Sloopjoshb said:
After every new rom flash you should drain your battery to under 10% then give it a full charge and wipe the battery stats from recovery. This is to calibrate your battery. By doing this the new rom gets to know your battery more or less, and will give you a much more accurate usage and drain.
Sent from my HTC Sensation 4G using xda app-developers app
Click to expand...
Click to collapse
Please stopping spreading this FUD. Don't wipe battery stats unless you have noticed a decrease in battery life that would give you reason to believe that your battery needs recalibration. Wiping stats too much does not extend battery life. If anything, it hurts it.
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
I was merely passing along what helped my battery drain issues when dealing with a new rom and faster than normal battery drain. I have seen countless times this recommended in the forums here.
Sent from my HTC Sensation 4G using xda app-developers app
moto211 said:
Please stopping spreading this FUD. Don't wipe battery stats unless you have noticed a decrease in battery life that would give you reason to believe that your battery needs recalibration. Wiping stats too much does not extend battery life. If anything, it hurts it.
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Click to expand...
Click to collapse
I beg to differ; I've experienced it.
Here's something to read:
http://www.guidingtech.com/12739/android-battery-calibration-what-how/
The reason you wouldn't have experienced this problem is probably because some ROMs contain a "battery auto-calibration script".
My knowledge of this is quite limited, but I think the auto-calibration script is only present in Sense based roms.
battery drain
maybe i think your battery is old.
sensation is eating many battery.so your battery have many battery cycle.
If your battery is one year, you recommend to get a battery
moto211 said:
Please stopping spreading this FUD. Don't wipe battery stats unless you have noticed a decrease in battery life that would give you reason to believe that your battery needs recalibration. Wiping stats too much does not extend battery life. If anything, it hurts it.
Click to expand...
Click to collapse
Please stop spreading this FUD. Batterystats.bin has nothing to do with your battery life in any way, shape or form. It is there solely for reporting purposes.
It doesnt make the battery last longer, that is true. But it absolutely can help the battery percentage to be more accurately reported.
And since the phone will auto shut down at 1% battery, accurately reported stats CAN make the phone stay on longer even if nothing has been changed about how much current flows in and out of the battery.
That said, you cant judge battery life on a new rom for several discharge cycles. When I flashed cm9 the first day the battery lasted 12 hours. The second day it was 24. Now its 40 on average. Give it a week or so before deciding battery life suck.
Sent from a rebel ship by storing the message in an R2 unit. (Help me, XDA. You're my only hope)
No it can't. It has nothing to do with the battery %age.
It's (only) purpose is for the battery use info in settings.
Skipjacks said:
It doesnt make the battery last longer, that is true. But it absolutely can help the battery percentage to be more accurately reported.
And since the phone will auto shut down at 1% battery, accurately reported stats CAN make the phone stay on longer even if nothing has been changed about how much current flows in and out of the battery.
That said, you cant judge battery life on a new rom for several discharge cycles. When I flashed cm9 the first day the battery lasted 12 hours. The second day it was 24. Now its 40 on average. Give it a week or so before deciding battery life suck.
Sent from a rebel ship by storing the message in an R2 unit. (Help me, XDA. You're my only hope)
Click to expand...
Click to collapse
Rusty! said:
No it can't. It has nothing to do with the battery %age.
It's (only) purpose is for the battery use info in settings.
Click to expand...
Click to collapse
What Rusty said. The file gets deleted after every charge to 100%, or drain to 1%. Then it gets made again. The only thing it does is provide the battery statistics in 'Settings' under 'Battery'. This myth was even listed on the front page.
with my myt4g when i had miui battery life was good without even waiting a few cycles. the sensation any stock or cooked sense roms i only notice a ggood battery life.i guess i'll just try to do what was suggested wait a few cycles before deciding battery life on the rom is no good
Rusty! said:
Please stop spreading this FUD. Batterystats.bin has nothing to do with your battery life in any way, shape or form. It is there solely for reporting purposes.
Click to expand...
Click to collapse
http://www.androidcentral.com/wiping-battery-stats-doesnt-improve-battery-life-says-google-engineer
I stand partially corrected as I misremembered the content of this article. But I still stand by the fact that recommending a batterystats wipe after every flash to maximize battery life is complete FUD. The best thing you can do if and only if you suspect that your battery has become miscalibrated is to run it completely dead and then completely charge it without unplugging it until its done.
moto211 said:
But I still stand by the fact that recommending a batterystats wipe after every flash to maximize battery life is complete FUD.
Click to expand...
Click to collapse
Correct, however that's not what you said, hence my repeat of your comment
Rusty! said:
Correct, however that's not what you said, hence my repeat of your comment
Click to expand...
Click to collapse
It's cool. Like I said, I misremembered regarding when batterystats should be manually wiped (never).
On a side note, my battery has lasted much longer now that I've completely stopped wiping batterystats. As has been stated by others, that file has nothing to do with actual battery life, but my perceived battery life is much better. My theory that by wiping batterystats manually, we hinder our phones ability to accurately report battery charge and adjust to maintain accuracy. So, if its inaccurately reporting 100% (fully charged) at 90% and reporting 1% (dead) at 10%, then almost 1/5 of the battery's full cycle is not being used. Therefore, when no longer wiping, the reporting can calibrate itself and "gain" back that 20%.
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium

About Samsung Service Center ( ... )

Ok on start I am sorry guys for my language. I am in UK only one year so I need to learn a lot
10 min a go I back from SSC because I have problems with battery/ charging and foulty speaker
Italian Job 1.0.0 - big battery drain and battery go dawn after restart by 30-60%!
XXMC8 - no battery drain but battery go dawn after restart by 30-60%!
Stock UK GB XXLK7 -no battery drain but battery go dawn after restart by 30-60%!
So I bought new original samsung battery 1500mAh - no changes
So I bought batttery 3500mAh with special cover - no vissible battery drain, this battery can handle my phone by ~ 20 hours of playing AVI movie, 720p in loop in MX Player so very good score but battery go dawn after restart by 30-60%!
All battery was tested in my Ace 2 and in my girlfriend Ace 2 (she have fully working phone with no problems) and she have good scores on all batteries but best is on 3500mAh with special cover ( above x2 than standard)
So i went to SSC and they: (stock GB, 0 flash counters)
- take my phone without documents on free guarantees (only box)
- I must come back for that phone in this friday
This above is for + but:
- they **** that work because I have in my ducuments copy a lot of bugs! (street , town)
- they checked my speaker in noisy room (it did not take nearly as booming)
- for those guys after restart when phone loses 30% battery power is normal!
So I go after tomorrow for my phone and we will see ( They will make updates to JB! and they change speaker/ charging module)
Photo for proof attached
If they dont repair my phone I do not buy samsung phone NEVER AGAIN!
EDIT: 3 hours waiting for a response about taking my phone!
EDIT 2: that 3500mAh battery must be loaded 8 hours to get 100% form 0%. (standard charger )
I really want to know what the whole battery dropping after restart thing is about, forever happening to me and sometimes the battery completely dies. It was the same on my original Ace S5830 I got a few years ago.
If you find out, please tell! haha.
After receiving the reply I upload it here
Have nfc version and ni problems with battery with much using and sometimes little bit playing i rech two days
I dont have problem with battery (any) but with phone hardware
I must agree with you guys regarding battery drain. It's suspicios and I am also aware of a fast battery drain from 100% to 65% in just a couple of hours, or very fast after a restart.
Maybe this is the way android should work. I was thinking there was a problem with my phone, but seeing similar behaviour with yours, it must be something related to the android system.
I'm on JB me1 and i haven't this battery dran problem. After the night i just lose 3-7% battery
When I have 100% and I off my phone and turn on battery go down to 50-60% immediately in one secund! It must by hardware foult...this is not normaly working android, for me
Really i don't have sth like that so that isn't real android
Shadowcareful said:
Really i don't have sth like that so that isn't real android
Click to expand...
Click to collapse
What?
I said i think it's not normal that you have this battery drain
Yeah I know ...
michal89chz said:
Yeah I know ...
Click to expand...
Click to collapse
well i dont have that
sometimes when i reboot my phone it goes from 45% to 47%
and some times from 45% to 44%
This is ok
I thought that is not really a battery draining. But it just about battery calibrating. Your phone need to calibrate the battery. Thats the problem.
riyosakura said:
I thought that is not really a battery draining. But it just about battery calibrating. Your phone need to calibrate the battery. Thats the problem.
Click to expand...
Click to collapse
lol actually "calibrating" is just a myth. It doesn't really do anything.
Sent from my GT-I8160 using xda app-developers app
Dr01nE said:
lol actually "calibrating" is just a myth. It doesn't really do anything.
Sent from my GT-I8160 using xda app-developers app
Click to expand...
Click to collapse
Really??
However, I've never done any battery calibrating..but I read in some thread, need to calibrate the battery, so there will be no battery misdisplay on the battery icon...logically, I thought, our devices will some time miscommunicate with the battery because there are no battery parameter to make the system understand how much the battery stored....
But I don't know if it just a myth...
riyosakura said:
Really??
However, I've never done any battery calibrating..but I read in some thread, need to calibrate the battery, so there will be no battery misdisplay on the battery icon...logically, I thought, our devices will some time miscommunicate with the battery because there are no battery parameter to make the system understand how much the battery stored....
But I don't know if it just a myth...
Click to expand...
Click to collapse
its normal to see 99% when unplugging from charger, 3%-10%(Max) drop on rebooting. Battery is usually inaccurate after charging, what I do is plug it in then reboot. then it displays the right value after unplugging, usually my battery status is really inaccurate but it returns to normal afterwards (it'll show charging icon even when unplugged and charge to 100 then stops and returns to real level). I don't believe in this calibrations and have found enough proof its useless, I think most xda users agree too. Try searching some threads.
Sent from my GT-I8160 using xda app-developers app
riyosakura said:
Really??
However, I've never done any battery calibrating..but I read in some thread, need to calibrate the battery, so there will be no battery misdisplay on the battery icon...logically, I thought, our devices will some time miscommunicate with the battery because there are no battery parameter to make the system understand how much the battery stored....
But I don't know if it just a myth...
Click to expand...
Click to collapse
Dr01nE said:
its normal to see 99% when unplugging from charger, 3%-10%(Max) drop on rebooting. Battery is usually inaccurate after charging, what I do is plug it in then reboot. then it displays the right value after unplugging, usually my battery status is really inaccurate but it returns to normal afterwards (it'll show charging icon even when unplugged and charge to 100 then stops and returns to real level). I don't believe in this calibrations and have found enough proof its useless, I think most xda users agree too. Try searching some threads.
Sent from my GT-I8160 using xda app-developers app
Click to expand...
Click to collapse
Actually you don't even have to search xda, there you go fellows: https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT If this isn't enough then I don't know what is.
My phone back to me from SSC with xxlk7, so no JB...(after 24hours in service)
If someone want to know how good is 3500mAh battery please go to my battery thread in general section.

Categories

Resources