Deleting "batterystats.bin" in android won't give more juice to battery!

Status
Not open for further replies.

milton.bain

Senior Member
Sep 8, 2011
1,930
1,270
0
Digboi
Regardless of the make and model of your
Android- powered smartphone, you most
definitely were advised at one point in your
life to delete the "batterystats.bin " file, aka
wipe your battery stats. That is, of course, if
you are the techy user.
According to those who tell you that, deleting
that certain file (possible via Recovery) will
make the phone forget the previous charging
level, allowing you to "recalibrate the
battery" . According to Dianne Hackborn,
Android Framework Engineer, this is just a
myth.
Those in favor of "wiping battery stats" say
that the file referred to above will hold
information about charging levels. The
discussion usually pops up in scenarios in which
battery lasts shorter than usual or a full charge
is reported when the battery is practically not
100%. Believers say that if your phone reports
a full charge at a real 92% for instance,
deleting that "batterystats.bin " will get you
back on track.
The Android Framework Engineer says that the
following statement is false: "The battery
indicator in the status/notification bar is a
reflection of the batterystats.bin file in the
data/system/ directory". According to
Hackborn, the file usually holds the
information related to which programs and
processes use the battery between charges
(hence being responsible for the OS' Battery
Usage report screen) .
Deleting this file will basically wipe your
battery usage reports, which is done anyways
automatically when the phone is fully charged
(hence you'll see a clear list when you reach a
full charge) . "Deleting it is not going to do
anything to make your more device more
fantastic and wonderful".


________________________________________
CheerS!  
Milton
From Sony Ericsson Xperia™ on ROM : "ThGo2 v13"
using XDA premium
"  HiT ThAnKs If I'm NiCe To YoU!  "
 

totalundone

Senior Member
Jan 21, 2009
293
40
0
The source would be great...
Anyways, I think if a google engineer who works on Android says that deleting batterystats.bin doesn't improve battery life, then I would think he knows a little bit about it.

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

http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/
 
  • Like
Reactions: Nabeel_n85

milton.bain

Senior Member
Sep 8, 2011
1,930
1,270
0
Digboi
The source would be great...
Anyways, I think if a google engineer who works on Android says that deleting batterystats.bin doesn't improve battery life, then I would think he knows a little bit about it.

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

http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/
Nice


________________________________________
CheerS!  
Milton
From Sony Ericsson Xperia™ on ROM : "ThGo2 v13"
using XDA premium
"  HiT ThAnKs If I'm NiCe To YoU!  "
 
  • Like
Reactions: fantasyx10

TAL333

Senior Member
Jun 15, 2011
493
262
0
Los Angeles
The source would be great...
Anyways, I think if a google engineer who works on Android says that deleting batterystats.bin doesn't improve battery life, then I would think he knows a little bit about it.

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

http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/
Very Nice.

I agree that if a google engineer who works on Android says that deleting batterystats.bin doesn't improve battery life, then I would think they know a little bit about it.


tal333 :cool:



Phone: Sony Ericsson Xperia X10i @1.19GHz- White
Android version: 2.3.7
Kernel: 2.6.29-modFXP-DooMKernel-v06 #1 PREEMPT
Radio: 2.1.71
Recovery: BootManager-v2.0 by DooMLoRD
Rom: Achotjan_2.3.7_CM7.1_v4.1
Theme: Honeycomb3D-3Dicons by BKMO
 
Last edited by a moderator:

iridaki

Retired Forum Moderator
Feb 21, 2007
4,534
5,209
0
34
Edinburgh, Scotland
So,all the battery calibration tutorials are useless???????
In a nutshell, yes.
You are only putting extra stress on your battery by "tricking" it according to various calibration guides.
Batterystats.bin file is generated for a reason.
Batterystats.bin is in /data partition, so after you install a new ROM that wipes your previous data, it gets wiped too.
So, "Wipe battery stats after installing a new ROM", which is a cliche among those guides, is pointless.
Last but not least, batterystats file is simply a logging tool that monitors your battery behavior. The "stats" part is pretty self-explanatory.
The actual Power Manager lies in kernel, not in /data partition which accessible to anyone :rolleyes:.
Now I know this post will come back to bite me in the you-know-where, but frankly, everyone is entitled to their opinion. I just happen to know a thing or two and I share for anyone who is willing to take it. :)

Cheers!
 

mundy725

Senior Member
Mar 12, 2011
192
52
0
Baku
In a nutshell, yes.
You are only putting extra stress on your battery by "tricking" it according to various calibration guides.
Batterystats.bin file is generated for a reason.
Batterystats.bin is in /data partition, so after you install a new ROM that wipes your previous data, it gets wiped too.
So, "Wipe battery stats after installing a new ROM", which is a cliche among those guides, is pointless.
Last but not least, batterystats file is simply a logging tool that monitors your battery behavior. The "stats" part is pretty self-explanatory.
The actual Power Manager lies in kernel, not in /data partition which accessible to anyone :rolleyes:.
Now I know this post will come back to bite me in the you-know-where, but frankly, everyone is entitled to their opinion. I just happen to know a thing or two and I share for anyone who is willing to take it. :)

Cheers!

Then only way replace it time to time ? ;)
 

OmegaRED^

Senior Member
Oct 31, 2010
2,965
637
0
In a nutshell, yes.
You are only putting extra stress on your battery by "tricking" it according to various calibration guides.
Batterystats.bin file is generated for a reason.
Batterystats.bin is in /data partition, so after you install a new ROM that wipes your previous data, it gets wiped too.
So, "Wipe battery stats after installing a new ROM", which is a cliche among those guides, is pointless.
Last but not least, batterystats file is simply a logging tool that monitors your battery behavior. The "stats" part is pretty self-explanatory.
The actual Power Manager lies in kernel, not in /data partition which accessible to anyone :rolleyes:.


Now I know this post will come back to bite me in the you-know-where, but frankly, everyone is entitled to their opinion. I just happen to know a thing or two and I share for anyone who is willing to take it. :)

Cheers!
Depends.
I don't ever suggest deleting battery stats.
Like i said.. it's down to the 'charge mon'
 

anarchyuk

Senior Member
Mar 27, 2007
738
51
0
North East England
Regardless of the make and model of your
Android- powered smartphone, you most
definitely were advised at one point in your
life to delete the "batterystats.bin " file, aka
wipe your battery stats. That is, of course, if
you are the techy user.
According to those who tell you that, deleting
that certain file (possible via Recovery) will
make the phone forget the previous charging
level, allowing you to "recalibrate the
battery" . According to Dianne Hackborn,
Android Framework Engineer, this is just a
myth.
Those in favor of "wiping battery stats" say
that the file referred to above will hold
information about charging levels. The
discussion usually pops up in scenarios in which
battery lasts shorter than usual or a full charge
is reported when the battery is practically not
100%. Believers say that if your phone reports
a full charge at a real 92% for instance,
deleting that "batterystats.bin " will get you
back on track.
The Android Framework Engineer says that the
following statement is false: "The battery
indicator in the status/notification bar is a
reflection of the batterystats.bin file in the
data/system/ directory". According to
Hackborn, the file usually holds the
information related to which programs and
processes use the battery between charges
(hence being responsible for the OS' Battery
Usage report screen) .
Deleting this file will basically wipe your
battery usage reports, which is done anyways
automatically when the phone is fully charged
(hence you'll see a clear list when you reach a
full charge) . "Deleting it is not going to do
anything to make your more device more
fantastic and wonderful".


________________________________________
CheerS!  
Milton
From Sony Ericsson Xperia™ on ROM : "ThGo2 v13"
using XDA premium
"  HiT ThAnKs If I'm NiCe To YoU!  "
This is just a re post of the front page new story on xda http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/
 

OmegaRED^

Senior Member
Oct 31, 2010
2,965
637
0

I basically tell people to cycle their batteries.. because it's healthy.
This is why i don't do it.. i know i may have also said that a few times.
But i said it as a mere experimentation.
I apps like battery calibrator does this.. Hench why i removed it from the guide a few times. in the 10 or 12 edits i did to my guide.

Cycling batteries is however included in my guide.. when you delete the stats the x10 is fooled into charging for a longer period for a short while.. this helps allocate upper storage in the cells. "depending on the way the phone's charging mechanism works"

The repeating of full charge and discharge is the key to my guide.
 
Last edited:

pvyParts

Inactive Recognized Developer
Oct 11, 2010
1,858
2,339
0
32
For those who may want more info

x10 has a Lithium Polymer battery ( i think dont have my phone on me to check )
http://en.wikipedia.org/wiki/Lithium-ion_polymer_battery

they do not suffer from a "Memory Effect"

as such :D sorry omega :D cycling does about as much as a sugar pill does to my migraines... :D there is a big issue in the industry atm where alot of ppl still think that newer batteries need to be cycled to maintain pull capacities

the issue is this can lead to deterioration of these newer batteries. as a there life is measured in life cycles. and a cycle is basically a full charge(0% to 100%). a 50% charge (50% - 100%) is not considered a "cycle" and has a minimal effect on life.

these new batteries are maintained by being charged properly and 99% of the time have some rather intelligent on-board circuitry to make doubly sure they do not go past there limits.

now i am not sure about eh construction of the x10's battery but i can tell you that i treat mine as follows. i charge it every day regardless of the level and i leave the charge pluged in for hours and hours while i sleep. i have had my x10 for a year now and it still gets about 1.5 days on a full charge with med to high usage as a phone with a fair bit of tapatalk and facebook google+ ect on top. I have never "calibrated" my battery and prob never will :D

who am i :D
i'm a qualified electronics tech in Australia. i specialise in radios and communications, IT, and alot of offshore (battery operated ) equipment. feel free to burn me but this is the census from me. however I do not claim to be the all knowing god of batteries. if i am wrong i am wrong so be it. but you better have some hard proof :D otherwise I wont believe you :D

i'm sure there will be alot of these threads around i will go try find them and link them as i find them :D

Pvy.
 

OmegaRED^

Senior Member
Oct 31, 2010
2,965
637
0
For those who may want more info

x10 has a Lithium Polymer battery ( i think dont have my phone on me to check )
http://en.wikipedia.org/wiki/Lithium-ion_polymer_battery

they do not suffer from a "Memory Effect"

as such :D sorry omega :D cycling does about as much as a sugar pill does to my migraines... :D there is a big issue in the industry atm where alot of ppl still think that newer batteries need to be cycled to maintain pull capacities

the issue is this can lead to deterioration of these newer batteries. as a there life is measured in life cycles. and a cycle is basically a full charge(0% to 100%). a 50% charge (50% - 100%) is not considered a "cycle" and has a minimal effect on life.

these new batteries are maintained by being charged properly and 99% of the time have some rather intelligent on-board circuitry to make doubly sure they do not go past there limits.

now i am not sure about eh construction of the x10's battery but i can tell you that i treat mine as follows. i charge it every day regardless of the level and i leave the charge pluged in for hours and hours while i sleep. i have had my x10 for a year now and it still gets about 1.5 days on a full charge with med to high usage as a phone with a fair bit of tapatalk and facebook google+ ect on top. I have never "calibrated" my battery and prob never will :D

who am i :D
i'm a qualified electronics tech in Australia. i specialise in radios and communications, IT, and alot of offshore (battery operated ) equipment. feel free to burn me but this is the census from me. however I do not claim to be the all knowing god of batteries. if i am wrong i am wrong so be it. but you better have some hard proof :D otherwise I wont believe you :D

i'm sure there will be alot of these threads around i will go try find them and link them as i find them :D

Pvy.
Li/ion does build up a memory effect but not as severely as ni/cd or ni/mh
Its also not when the charging goes beyond its limit. Its when the charging circut cuts off too early instead.

Also citations required.

SE having trouble getting rid of batteries
?
 
Last edited:

pvyParts

Inactive Recognized Developer
Oct 11, 2010
1,858
2,339
0
32
Li/ion does build up a memory effect but not as severely as ni/cd or ni/mh

Sent from my U20i using XDA Premium App
Refs
http://en.wikipedia.org/wiki/Lithium-ion_battery
http://en.wikipedia.org/wiki/Lithium-ion_polymer_battery
x10
http://en.wikipedia.org/wiki/Sony_Ericsson_Xperia_X10

Li-Po (Litium-Ion Polymer) is a offshoot of li-ion but my comments still stand.

Li Ion
advantages
No memory effect.
disadvantages
Charging forms deposits inside the electrolyte that inhibit ion transport. Over time, the cell's capacity diminishes. The increase in internal resistance reduces the cell's ability to deliver current. This problem is more pronounced in high-current applications. The decrease means that older batteries do not charge as much as new ones.
High charge levels and elevated temperatures hasten capacity loss.
Charging heat is caused by the carbon anode .
These batteries lose capacity due to charging. this is not a memory effect. ( memory effect is a rather controversial topic )

Most ppl recommend you NEVER fully discharge a Lithium Battery. as deep cycling them cause PERMANENT damage. yes there is circuitry on-board to stop it. but that circuitry need power too and can at time suck the battery below its fail safe level. ( this = dead battery )

Pvy.
 

OmegaRED^

Senior Member
Oct 31, 2010
2,965
637
0
Refs
http://en.wikipedia.org/wiki/Lithium-ion_battery
http://en.wikipedia.org/wiki/Lithium-ion_polymer_battery
x10
http://en.wikipedia.org/wiki/Sony_Ericsson_Xperia_X10

Li-Po (Litium-Ion Polymer) is a offshoot of li-ion but my comments still stand.

Li Ion




These batteries lose capacity due to charging. this is not a memory effect. ( memory effect is a rather controversial topic )

Most ppl recommend you NEVER fully discharge a Lithium Battery. as deep cycling them cause PERMANENT damage. yes there is circuitry on-board to stop it. but that circuitry need power too and can at time suck the battery below its fail safe level. ( this = dead battery )

Pvy.
Duh.. Thats why we have the electronic limiters to stop a complete uter discharge.
I also clearly state that the cell must not be left empty and charged asap.

You know what. Its fine... I don't care wtf you think. The mods can go ahead and delete my guide.. I cbf.


I try to help people and this is my prize for it.
 
Last edited:
Status
Not open for further replies.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone