[Q] Battery Drain *Please Read* - HTC Sensation

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

Related

Wiping battery stats doesnt improve battery life says google engineer

You there! Android hacker! Stop screwing around with your battery stats!
OK, if you're not part of the small subset of rooted users who likes to mess around with things they shouldn't, you can probably skip the rest of this story and read something more interesting below. But if you have fiddled with battery stats on your phone, or used any of the rooted "battery calibration" apps in the Android Market, which do the same thing, it's time to stop. Google engineer Diane Hackborn has taken to Google+ to dispel the myth that wiping battery stats can improve your battery life, or the efficiency with which your phone charges.
This file [batterystats.bin] is used to maintain, across reboots, low-level data about the kinds of operations the device and your apps are doing between battery changes. That is, it is solely used to compute the blame for battery usage shown in the "Battery Use" UI in settings. That is, it has deeply significant things like "app X held a wake lock for 2 minutes" and "the screen was on at 60% brightness for 10 minutes."
It has no impact on the current battery level shown to you. It has no impact on your battery life.
So there you have it. If you want better battery life, you're better off trying more basic techniques like keeping tabs on screen brightness or anything that might be running in the background. Or, y'know, buy a bigger battery...
More: +Diane Hackborn
Click to expand...
Click to collapse
http://m.androidcentral.com/wiping-battery-stats-doesnt-improve-battery-life-says-google-engineer
draztikrhymez said:
You there! Android hacker! Stop screwing around with your battery stats!
OK, if you're not part of the small subset of rooted users who likes to mess around with things they shouldn't, you can probably skip the rest of this story and read something more interesting below. But if you have fiddled with battery stats on your phone, or used any of the rooted "battery calibration" apps in the Android Market, which do the same thing, it's time to stop. Google engineer Diane Hackborn has taken to Google+ to dispel the myth that wiping battery stats can improve your battery life, or the efficiency with which your phone charges.
This file [batterystats.bin] is used to maintain, across reboots, low-level data about the kinds of operations the device and your apps are doing between battery changes. That is, it is solely used to compute the blame for battery usage shown in the "Battery Use" UI in settings. That is, it has deeply significant things like "app X held a wake lock for 2 minutes" and "the screen was on at 60% brightness for 10 minutes."
It has no impact on the current battery level shown to you. It has no impact on your battery life.
So there you have it. If you want better battery life, you're better off trying more basic techniques like keeping tabs on screen brightness or anything that might be running in the background. Or, y'know, buy a bigger battery...
More: +Diane Hackborn
http://m.androidcentral.com/wiping-battery-stats-doesnt-improve-battery-life-says-google-engineer
Click to expand...
Click to collapse
Um.... what?
No one has ever (or ever should) claimed that resetting battery stats actually improves battery life. It only improves the accuracy of the battery readings.
Sent from my SAMSUNG-SGH-I777 using XDA App
seh6183 said:
Um.... what?
No one has ever (or ever should) claimed that resetting battery stats actually improves battery life. It only improves the accuracy of the battery readings.
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
This engineer is not saying improves life, says it does not give a more accurate reading
draztikrhymez said:
This engineer is not saying improves life, says it does not give a more accurate reading
Click to expand...
Click to collapse
Ok but you specifically mention in your first post "improves battery life".
Sent from my SAMSUNG-SGH-I777 using XDA App
Battery life or battery useage efficiency?
Sent from my SAMSUNG-SGH-I727 using xda premium
seh6183 said:
Ok but you specifically mention in your first post "improves battery life".
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
That whole post is a quote from the article not me
Entropy has had some really good posts on this
There are a few HTC phones that have some specific battery guage software/hardware that it is beneficial to...other than that the claim is that it does absolutely nothing
I don't have the tech skills to prove/disprove any of it haha
After alot of way to clear battery stats with nothing good now i have best way to clear it and i do it everytime i flash new rom:
you turn off your phone and charge it to 100%. After that you take the battery out and wait 5minute and put it back. Don't turn on your phone, keep it off and charge, you will see that the phone now not 100%. Wait to it charge to 100% and now your batter good to go!
Sent from my SAMSUNG-SGH-I777 using xda premium
I use Battery Calibrator from the App Market... What I do is I let completely the battery die and then full charge, then I use battery calibrator to calibrate and reboot and done!
draztikrhymez said:
http://m.androidcentral.com/wiping-battery-stats-doesnt-improve-battery-life-says-google-engineer
Click to expand...
Click to collapse
The OP is correct.
Wiping battery stats has got NOTHING to do with battery life, battery charging or anything of that kind.
Here is another good explanation. Wiping battery stats is a total MYTH !!!
https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT
chappatti said:
The OP is correct.
Wiping battery stats has got NOTHING to do with battery life, battery charging or anything of that kind.
Here is another good explanation. Wiping battery stats is a total MYTH !!!
https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT
Click to expand...
Click to collapse
Chappatti I'm very disappointed in you, resurrecting a 4 month old thread, tsk tsk
icenight89 said:
Chappatti I'm very disappointed in you, resurrecting a 4 month old thread, tsk tsk
Click to expand...
Click to collapse
Do you realise what a shock this is to me? And other folk who have happily been dreaming of great battery effects with battery stats?
EVEN IN THIS POST HERE, there is no critcal discussion, no devs have chimed in and this myth has remained for all to belieive. There is almost NOTHING a hacked ROM can do to improve battery life BY ACTUALLY AFFECTING HOW THE BATTERY CHARGES. This is a big statement. It is really a kernel thing, and all the claims that this or that ROM has great battery life is just a fluke.
I mean, if your battery is acting flaky, then there is a deep kernel issue, or even a hard battery problem?
I mean c'mon, how come this is not common knowledge? Or am I the only gut in the dark.....
Hey, If I had not found this post, I was going to start my own post, and SHOVE this down people's throats !!!!!!
Just because i feel like a fool !!!!!!
EDIT: OKay, so then, keeping a stock kernel in the ROM will makes MORE sense ASSUMING it has the best optimization of the wakelocks. So a custom kernel is only good for battery life if the dev has dajusted the wakelocks properly.....now I see the light !!
Well, since it was I who helped you see the light, I'll explain my friend.
Different roms MAY have different battery life depending on build.prop tweaks (control CPU scaling and power bias) as well as framework changes that may or may not cause wake locks.
Wake locks can also be present in a rom but never manifest themselves for cetain users, because of the apps they install. Often times they are extremely config specific.
Custom kernels on the other hand can help battery life significantly. They may eliminate certain wake locks, add different cpu governors that have better scaling, and of course the ability to under volt.
Battery status - it is only "battery status" in status bar. You need clear it if you changed battery on new or bigger. This is need for correct % information in status bar. That all.

[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...

Wiping battery stats?

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

[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

Battery issue's ....!!!!!!

Okay my phone said I had 34 percent battery I rebooted my phone now its reading 67 percent wth how do I fix this..
Sent from my HTC Sensation 4G
Use battery calibrator fron Play. Run it 100% and press "calibrate" in the app. Can also wipe battery stats as well.
Sindroid said:
Use battery calibrator fron Play. Run it 100% and press "calibrate" in the app. Can also wipe battery stats as well.
Click to expand...
Click to collapse
Who is it made by I see a lot of results when I search that.
Sent from my HTC Sensation 4G
Any of them will do. They all delete the same file to calibrate.
Once you calbrate, let the battery dtain all the way to power off for the first cycle.
Also, its not unusual for the battery percentage to jump alot on reboot. It will drop down ro the correct amount pretty quickly.
Sent from a rebel ship by storing the message in an R2 unit. (Help me, XDA. You're my only hope)
Skipjacks said:
Any of them will do. They all delete the same file to calibrate.
Once you calbrate, let the battery dtain all the way to power off for the first cycle.
Also, its not unusual for the battery percentage to jump alot on reboot. It will drop down ro the correct amount pretty quickly.
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
Thx for that info
Sent from my HTC Sensation 4G
It could be the first signs of a dying battery as well.
Sent from my HTC Sensation Z710e using XDA
You do not need to drain your battery completely down (until the phone powers off) to get an accurate calibration. Anything below about 15% will be good enough.
Although it is rare, letting a li-ion battery drain completely to zero can sometimes cause it to fail. There are sensors in these batteries that makes sure that they don't ever drain completely (even when we see zero, there is still some power left - similar to when your car gas light comes on but you still have a few gallons of 'reserve fuel) Sometimes these sensors can fail. If that happens, you have a bad battery.
Also, after calibrating give it a few full cycles to gain top accuracy. The jump you see after a reboot is normal, though it shouldn't be as severe as you mentioned.
Hi my friend,
Some say "battery calibration" app works some says it doesn't, don't really know but "wipe battery datas" in recovery does the same.
this happens when you flash different roms and some roms does not include battery calibration scrips. My rom does and i never have this issue, works very well.
this issue resolves by itself when wiping data and giving it 2 or 3 complete cycles.
Be patient then , all will comme back to normal.
I also saw a new app called "battery repair", i just bought it on market, but can not tell the results now because too early. i took it because it repair yes but most of all give you more time of use ...
cheers

Categories

Resources