Got the information from here
www.xda-developers.com/android/goog...-battery-stats-does-not-improve-battery-life/
Google Engineer Debunks Myth : Wiping Battery
Stats Does Not Improve Battery Life
There you have it, in the title. Google engineer Dianne
Hackborn, who has previously explained Android’s hardware
acceleration , took to Google+ again to clarify some myths
about the Android operating system. This time, it’s a point of
common advice that you’ll see in virtually every FAQ thread
about custom ROMs and flashing: wiping battery stats in
order to improve battery life.
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 knew about that ^^
Sent from my GT-I9100 using xda premium
dorian95 said:
I knew about that ^^
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Are we blindly following the myth then?
We already have this thread
http://forum.xda-developers.com/showthread.php?t=1444231
Closed.
I know there was a recent Google announcement regarding battery status wipe, however, I found the results otherwise.
Seems that many individual now trusted official Google's spokes person, I would like you take you back on our side regarding the battery reading issue.
Another reason for this post is to make sure all the ROM flashers out there understand that it is probably not the ROM's fault but the battery meter is off. On top of the above, due to the fact that recent comments to all the ROMs has been "battery for this ROM is horrible" or "This ROM has awesome battery life!" before they have fully tested the entire battery cycle.
What Google is pointing out is not necessary "wrong" but it is misleading. They are implying that users are considering the Li-ion batteries to have "memory" effect like NiMH, yes, some users may still believed so. However! To fully "wipe" the battery level, you must understand that the Li-ion crystals inside the battery does not have memory effect, it does have a "meter" that reports the battery status. This meter is used to make sure all the cells in the battery is equally consumed properly, but during a ROM install, CWM restore, these values gets confused from time to time somehow in the software level.
Now, you must think that I have no facts to say Android OS is responsible for controlling that meter's data, but my experiences has proved to be convincing.
A simple example for the case to be more clearly explained is something what I have experienced before. After new ROM installs or CWM restores, I have the following experiences regarding the battery percentage reading.
Case 1: Battery lasts almost another hour with screen on with ONLY 1% left.
Case 2: Phone turns off without reaching 0%, sometimes as high as 8% my phone turns off.
The above 2 cases happens usually when the new ROM is installed and usually would have a battery reading far off from right before the ROM install or restore. They usually result in battery not being able to be appeared fully charged or in some cases in CM9 that the percentage goes above 100%
I hope the above has convinced you that "battery wipe" is necessary from time to time or cases to cases, also note that pulling the battery when the phone freezes sometimes would case the same issue.
If you are convinced, you may use the following steps to "wipe battery status" or "calibrate" is more precised term here:
Run the phone until it turns off and cannot be turn on
Plug it into a wall charger and ONLY wall chargers (because computer USB ports will boot Atrix)
Wait until the big battery charging animation reaches 100%
Boot into recovery and wipe battery status
Reboot the phone
You should now have a "calibrated" battery meter at a hardware level where Android OS was not interfering with the meter AT ALL . You might be able to charge to 99% at most of the time, but that is fairly calibrated, can check if the voltage is at 4203mV to be sure.
My battery when on cm7 won't charge past 4196 but if I flash miui it hits 4204,it's weird.
One thing I do to is before and during flashes I make sure I'm at 100% and still plugged in on the wall charger. This helps alot.
Sent from my MB860 using xda premium
morrislee said:
I know there was a recent Google announcement regarding battery status wipe, however, I found the results otherwise.
What Google is pointing out is not necessary "wrong" but it is misleading.
Click to expand...
Click to collapse
Not trying to pick a fight, but I just wanted to point out that what they say regarding battery stats isn't misleading. Batterystats.bin and "battery status" are not related. The battery stats that everyone wipes in CWM are exactly what the Android Engineer said they are, usage statistics for battery consumption by apps. (which always get wiped any time you reach a full charge) Batterystats.bin has no effect on what battery life is being shown.
morrislee said:
Now, you must think that I have no facts to say Android OS is responsible for controlling that meter's data, but my experiences has proved to be convincing.
A simple example for the case to be more clearly explained is something what I have experienced before. After new ROM installs or CWM restores, I have the following experiences regarding the battery percentage reading.
Case 1: Battery lasts almost another hour with screen on with ONLY 1% left.
Case 2: Phone turns off without reaching 0%, sometimes as high as 8% my phone turns off.
The above 2 cases happens usually when the new ROM is installed and usually would have a battery reading far off from right before the ROM install or restore. They usually result in battery not being able to be appeared fully charged or in some cases in CM9 that the percentage goes above 100%
Click to expand...
Click to collapse
The battery reporting over 100% in CM9 was a kernel issue (checkout this commit). If you browse through the entire file for that commit, you will see the battery % reading is also handled there (search for battery_state), and you will see it's tied to the battery reaching 4200mV.
-----------------------------------------------------------------------------
Other than that, thanks for trying to clarify the "horrible battery" problem people always seem to think they have. Yesterday I saw someone asking about battery life 20 minutes after Notorious updated Neutrino, lol.
ghost_og said:
Not trying to pick a fight, but I just wanted to point out that what they say regarding battery stats isn't misleading. Batterystats.bin and "battery status" are not related. The battery stats that everyone wipes in CWM are exactly what the Android Engineer said they are, usage statistics for battery consumption by apps. (which always get wiped any time you reach a full charge) Batterystats.bin has no effect on what battery life is being shown.
The battery reporting over 100% in CM9 was a kernel issue (checkout this commit). If you browse through the entire file for that commit, you will see the battery % is also handled there (search for battery_state), and you will see it's tied to the battery reaching 4200mV.
-----------------------------------------------------------------------------
Other than that, thanks for trying to clarify the "horrible battery" problem people always seem to think they have. Yesterday I saw someone asking about battery life 20 minutes after Notorious updated Neutrino, lol.
Click to expand...
Click to collapse
haha yeah, i say that comment lol. I said it was misleading for that fact you stated above, but my point was to tell how people can fully recalibrate the battery first before considering roms have bad battery usage. Because people now thinks that android os has nothing to do with the bad battery.
Interesting for the ICS battery issue... i was able to get it to 99% and 100% when i do the above cycle though, no more > 100%. but it is good to see it has been worked on
ghost_og said:
Not trying to pick a fight, but I just wanted to point out that what they say regarding battery stats isn't misleading. Batterystats.bin and "battery status" are not related. The battery stats that everyone wipes in CWM are exactly what the Android Engineer said they are, usage statistics for battery consumption by apps. (which always get wiped any time you reach a full charge) Batterystats.bin has no effect on what battery life is being shown.
The battery reporting over 100% in CM9 was a kernel issue (checkout this commit). If you browse through the entire file for that commit, you will see the battery % reading is also handled there (search for battery_state), and you will see it's tied to the battery reaching 4200mV.
-----------------------------------------------------------------------------
Other than that, thanks for trying to clarify the "horrible battery" problem people always seem to think they have. Yesterday I saw someone asking about battery life 20 minutes after Notorious updated Neutrino, lol.
Click to expand...
Click to collapse
i try he method from the first post , and i feel mybattery is lasting longer than before i just let it die at 7:53 am from today , connect the wall charger, let charge full, because i don´t have CWM recovery , i used battery calibrator from the market to recalibrate my battery
at 8:32 pm from today with a lot of whats app facebook some games and call etc im on 70 %
thanks for the TIP !!!
So, yestarday I installed latest Russian Lollipop firmware for the i9500 (I9500XXUHOD4_I9500SERHOD4_SER) and battery, when using the phone, gives a decent SOT, maybe 3~4 hours. But when the phone is in standby mode Android OS and Android System procces take care of draining it hell fast (all of this with Save Battery Mode ON, always). Can I do something about this? Did I do something wrong? Is there another battery friendly stock Lollipop build? (Maybe one of those before HOD4).
The phone's battery is ok, it has at least 3 months of usage. It is not bloated or something like that but if you have another tip t check if its life is over I'll be glad to read it.
I neither installed some uncommon consuming battery apps, just the regular things. Even I tried to optimize it by installing Device Control and Kernel Adiutor to change some values but I had no luck so far. I have GSam Battery Monitor to check what's darining battery and Better Battery stats (although I don't really know how to use it) because I can't get Wakelock Detector to work on Lollipop. I have my phone rooted and with TWRP installed.
Cheers.
PS: SOT and general battery stats differ in 1% of battery because I first took the battery stats screenshot then put it to charge and 5 mins later I thought it would be better to add SOT to give you a refference of the use the phone has had. Not big deal.
XXtremiXX said:
So, yestarday I installed latest Russian Lollipop firmware for the i9500 (I9500XXUHOD4_I9500SERHOD4_SER) and battery, when using the phone, gives a decent SOT, maybe 3~4 hours. But when the phone is in standby mode Android OS and Android System procces take care of draining it hell fast (all of this with Save Battery Mode ON, always). Can I do something about this? Did I do something wrong? Is there another battery friendly stock Lollipop build? (Maybe one of those before HOD4).
The phone's battery is ok, it has at least 3 months of usage. It is not bloated or something like that but if you have another tip t check if its life is over I'll be glad to read it.
I neither installed some uncommon consuming battery apps, just the regular things. Even I tried to optimize it by installing Device Control and Kernel Adiutor to change some values but I had no luck so far. I have GSam Battery Monitor to check what's darining battery and Better Battery stats (although I don't really know how to use it) because I can't get Wakelock Detector to work on Lollipop. I have my phone rooted and with TWRP installed.
Cheers.
PS: SOT and general battery stats differ in 1% of battery because I first took the battery stats screenshot then put it to charge and 5 mins later I thought it would be better to add SOT to give you a refference of the use the phone has had. Not big deal.
Click to expand...
Click to collapse
Did you try factory reset your device?
Joku1981 said:
Did you try factory reset your device?
Click to expand...
Click to collapse
I did. Reflashed the build too. I use Greenify.
Sent from my GT-I9500 using XDA Free mobile app
I'm using AICP with Llama Sweet Kernel. My battery life goes from 100% to about 45% in the first 2 hours after unplugging!
GSAM Battery Monitor shows dozens of wakelocks from Android Kernel and Android Core Apps.
I'm using Greenify.
What ROM will give me better battery life? I'd prefer LOS based ROMs because I like Privacy Guard (but I'm open to alternative privacy solutions).
Hi I recently had a new battery put in my 6p. The original battery was only running at 63% of it's original capacity. That's according to accubattery.
So my question is what steps should I take to ensure the battery was indeed replaced. ( Because it seems like it is really not much better) I wiped the battery stats and use an app called l. Speed for battery improvements. I am running the latest los as of December 1. As of now accubattery reports 70% health. It's been 3 days since I got the phone back and had accubattery running.
Should I give it more time to get an accurate reading?