1. Root your device and install Root Explorer.
2. Use your phone until the phone switches itself off (battery empty)
3. Switch on once more to make sure battery really is 0% (it will then immediately switch off once more)
4. Now, keep switched off (!), plug in charger & leave in charging until 100%
5. When battery is full, switch the phone on, unplug & check if the batter immediately drops 1 or 2 %
6. If battery immediately drops, plug in charger once more (while running phone) & let it charge completely
7. Once charging to 100% is done, don't plug off your charger, open your root explorer, at the top just click mount R/O, then it will set as mounted as R/O.
8.Ok, now open the 'Data' folder.
9.In the 'Data' folder, keep scrolling at the bottom and you will find 'System' Folder.
10.Open the 'System' folder and find 'batterystats.bin'.
11.Now you have to delete the 'batterystats.bin'. How to delete it?
12.Tap the 'batterystats.bin' and it will show the file option, select 'delete'.
13.Once it done, quick the root explorer and use the phone as usual until it switches itself off (battery empty).
14.Please don't charge your phone if the battery are not completely empty.
15.Charge your phone while running phone as usual until it shows 100% battery.
16.make sure that during discharging,don't reboot your phone or the system will create a new batterystats.bin file or if already made, it will get corrupted and you will have to start again from first step
17.Done this in 4 or 5 cycle, i mean the step 15 until step 18.
18.Now enjoy the 'long life' Samsung Battery Life!!
Note: these methods are not permanent and your battery stats may again get messed up any day, then you should repeat the method from first step.
You may try this a few battery tips here.
emoskremo said:
1. Root your device and install Root Explorer.
2. Use your phone until the phone switches itself off (battery empty)
3. Switch on once more to make sure battery really is 0% (it will then immediately switch off once more)
4. Now, keep switched off (!), plug in charger & leave in charging until 100%
5. When battery is full, switch the phone on, unplug & check if the batter immediately drops 1 or 2 %
6. If battery immediately drops, plug in charger once more (while running phone) & let it charge completely
7. Once charging to 100% is done, don't plug off your charger, open your root explorer, at the top just click mount R/O, then it will set as mounted as R/O.
8.Ok, now open the 'Data' folder.
9.In the 'Data' folder, keep scrolling at the bottom and you will find 'System' Folder.
10.Open the 'System' folder and find 'batterystats.bin'.
11.Now you have to delete the 'batterystats.bin'. How to delete it?
12.Tap the 'batterystats.bin' and it will show the file option, select 'delete'.
13.Once it done, quick the root explorer and use the phone as usual until it switches itself off (battery empty).
14.Please don't charge your phone if the battery are not completely empty.
15.Charge your phone while running phone as usual until it shows 100% battery.
16.make sure that during discharging,don't reboot your phone or the system will create a new batterystats.bin file or if already made, it will get corrupted and you will have to start again from first step
17.Done this in 4 or 5 cycle, i mean the step 15 until step 18.
18.Now enjoy the 'long life' Samsung Battery Life!!
Note: these methods are not permanent and your battery stats may again get messed up any day, then you should repeat the method from first step.
You may try this a few battery tips here.
Click to expand...
Click to collapse
Clearing battery stats is pointless. Its just the placebo effect hard at work. Your phone doesn't stay charged any longer if you do this
Sent from my SGS 2 LTE running SkyICS
To reset battery stats just use battery calibration app once calibrated dischrge cmpltly n then chrge until 100% without any break dats enough;-)
Sent from my GT-S5670
Sorry about recall an old thread, but I think is important to say that 4-6 deep discharge/charge cycles are recomend for new batteries by all manufacters. Normally people tend to bypass this procedure leading to use of batteries not completly "formed", thus lack of battery duration.
This process is not that recomended on old batteries as lion batteries don't like deep discharges.
battery % 0..
emoskremo said:
1. Root your device and install Root Explorer.
2. Use your phone until the phone switches itself off (battery empty)
3. Switch on once more to make sure battery really is 0% (it will then immediately switch off once more)
4. Now, keep switched off (!), plug in charger & leave in charging until 100%
5. When battery is full, switch the phone on, unplug & check if the batter immediately drops 1 or 2 %
6. If battery immediately drops, plug in charger once more (while running phone) & let it charge completely
7. Once charging to 100% is done, don't plug off your charger, open your root explorer, at the top just click mount R/O, then it will set as mounted as R/O.
8.Ok, now open the 'Data' folder.
9.In the 'Data' folder, keep scrolling at the bottom and you will find 'System' Folder.
10.Open the 'System' folder and find 'batterystats.bin'.
11.Now you have to delete the 'batterystats.bin'. How to delete it?
12.Tap the 'batterystats.bin' and it will show the file option, select 'delete'.
13.Once it done, quick the root explorer and use the phone as usual until it switches itself off (battery empty).
14.Please don't charge your phone if the battery are not completely empty.
15.Charge your phone while running phone as usual until it shows 100% battery.
16.make sure that during discharging,don't reboot your phone or the system will create a new batterystats.bin file or if already made, it will get corrupted and you will have to start again from first step
17.Done this in 4 or 5 cycle, i mean the step 15 until step 18.
18.Now enjoy the 'long life' Samsung Battery Life!!
Note: these methods are not permanent and your battery stats may again get messed up any day, then you should repeat the method from first step.
You may try this a few battery tips here.
Click to expand...
Click to collapse
how am i gonna do this if my battery % is only 0?even though i chrge long period of time.this happens after i calibrate my battery..im using xperia sola.pls help me.
jopereira said:
Sorry about recall an old thread, but I think is important to say that 4-6 deep discharge/charge cycles are recomend for new batteries by all manufacters. Normally people tend to bypass this procedure leading to use of batteries not completly "formed", thus lack of battery duration.
This process is not that recomended on old batteries as lion batteries don't like deep discharges.
Click to expand...
Click to collapse
Pretty sure this is a myth.
WastedJoker said:
Pretty sure this is a myth.
Click to expand...
Click to collapse
it just re-calculate the battery capacity
Batteries are pure chemistry... This process is valid for every battery known to man. It's not a myth.
mr_clean5953 said:
Clearing battery stats is pointless. Its just the placebo effect hard at work. Your phone doesn't stay charged any longer if you do this
Sent from my SGS 2 LTE running SkyICS
Click to expand...
Click to collapse
Its more for the battery meter to not be off. Also; Motorolas dont like to turn on when they think the battery is dead and needs to charge... so.. bad battery stats can be a big deal.
Google themselves have already said this is a myth and does nothing.
Wayne Tech Nexus
Sl0re10 said:
Its more for the battery meter to not be off. Also; Motorolas dont like to turn on when they think the battery is dead and needs to charge... so.. bad battery stats can be a big deal.
Click to expand...
Click to collapse
Wiping battery stats in no, way, shape, or form affects battery indication. Please do some fact-checking regarding the subject matter at hand rather than perpetuating gross misinformation. The notion that wiping battery stats does anything even remotely useful was clearly and concisely debunked long ago.
The only actual valid posts in this thread have been from mr_clean5953, WastedJoker, and zelendel.The OP itself is riddled with misinformation and following the piss-poor advice given therein will shorten your battry's life.
The same holds true for the advice for 4-6 deep discharge cycles prior to first use. It is totally unnecessary and contrary to what was stated, is not recommended by manufacturers of lithium-based batteries. The individual posting that may have been confused by the fact that it is a recommended practice for nickel-based batteries. Li-ion and lithium polymer batteries see no benefit from "priming" prior to first use. The singular effect of following that misguided advice is a shortened serviceable life of the battery.
Thanks keep up the good work
Sent from my GT-I9300 using xda premium
zelendel said:
Google themselves have already said this is a myth and does nothing.
Wayne Tech Nexus
Click to expand...
Click to collapse
http://www.androidcentral.com/wiping-battery-stats-doesnt-improve-battery-life-says-google-engineer
I would not recommend to do this extensive charge and deep discharge you will destroy your Li-Ion battery.
This is translated by google from the german wikipedia (de.wikipedia.org/wiki/Lithium-Ionen-Akkumulator)
Discharge
The voltage of the Li-ion battery during discharge decreases initially rather quickly reached by the charge voltage to the rated voltage (about 3.6 to 3.7 V) from, but then decreases during a long period of little further. Only shortly before the complete discharge, the cell voltage begins to fall sharply [26] The discharge voltage, depending on the cell type to 2.5V,. These must not be exceeded, otherwise the cell is destroyed by irreversible chemical processes. But many electronic devices switch at much higher voltages, such as 3.0V from.
It is recommended that Li-Ion batteries charge "flat" to (un-), since their lifespan extended way. When a Li-ion rechargeable battery is always discharged from 100% charge to 0% before charging it again, he reached only the minimum number of cycles. Better yet, depending on type, applicable for example, 70% DOD is. This means that the battery pack is at 30% capacity when it is reloaded. Some manufacturers give the cycle life as a function of discharge (engl. depth of discharge DOD) at [27].
In general, high discharge both reduce the rated capacity of a battery, because thanks to the higher voltage drop across the internal resistance of the discharge voltage is reached earlier, as well as reduce the number of cycles due to the higher mechanical and thermal stress. In previous releases is still at an optimum discharge current of 0.2 C (ie a discharge amounting to one-fifth of the nominal value of the rated capacity in Ah) pointed out. With a battery with a capacity of 5 Ah, this would be 1 A. [28]
Click to expand...
Click to collapse
so the best is just fully charge your phone leave it connected to the charger and delete the battery.bin and reboot
greetings
Sebastian
battery still at 0%
eiyen11 said:
how am i gonna do this if my battery % is only 0?even though i chrge long period of time.this happens after i calibrate my battery..im using xperia sola.pls help me.
Click to expand...
Click to collapse
hi. did you find any solution to your problem? after I rooted my xperia neo with gingerbreak, my battery went to 0% and cannot be charged more in my phone. I was able to charge it outside of phone using some universal charger, but anyway in the phone it shows 0% and phone cannot be used without charger connected. thanks for any hint!!
I know this is an older thread, but I still believe that wiping the batt stat ALWAYS made my phone last longer! I would EASILY get 24 hours battery life after wiping and putting new rom on. After a few weeks or better, my batt life would go down to just a couple of hours!! I would use the Wipe Batt Stats in CWM and, VOILA! Back to 24 hours!! I don't understand why anyone could say that it doesn't do anything! Now that CWM took it out, I have to do it manually! I do it about every 3 to 4 weeks and I'm back to 24 hours batt life! Would someone that knows more than I please explain to me why it is a so called myth when it works perfectly for me? Am I just in another world or what? I just don't understand!
Animal99
Animal99 said:
I know this is an older thread, but I still believe that wiping the batt stat ALWAYS made my phone last longer! I would EASILY get 24 hours battery life after wiping and putting new rom on. After a few weeks or better, my batt life would go down to just a couple of hours!! I would use the Wipe Batt Stats in CWM and, VOILA! Back to 24 hours!! I don't understand why anyone could say that it doesn't do anything! Now that CWM took it out, I have to do it manually! I do it about every 3 to 4 weeks and I'm back to 24 hours batt life! Would someone that knows more than I please explain to me why it is a so called myth when it works perfectly for me? Am I just in another world or what? I just don't understand!
Animal99
Click to expand...
Click to collapse
Placebo and logical fallacy. Those are the only reasons why you perceive it to have any effect.
Google's senior Android framework engineer, the individual who is repainted for much of the coding of the operating system and knows more about this than any other, had clearly and concisely debunked the myth of wiping battery stats. The statement that wiping battery stats will affect battery life has the exact same truth value as the statement that our moon is made of green cheese.
There is absolutely nothing contained in the file that you are wiping that is pertinent to battery life or indication. The one and only thing you are wiping is information pertaining to which apps held wakelocks and for how long.
If you want to read up on the subject, you can check out www.batteryuniversity.com and the Google Plus page of Dianne Hackborn.
Sent from my SCH-I545 using Tapatalk 4 Beta
nice info. Well now that's solved my question is, what the heck is the batterystats.bin for then?
i think this will make the battery more accurate more of a calibration ???
No battery_stat from day one
This is a good question as I have an issue with my phone that maybe the result of bad deving on the side of the vendor. My phone does not have a battery_stat.bin file ANYWHERE. And since day one the OS or any other app can keep a good status or stat of the battery. Now does anyone know how I can force the OS 4.2.2 to create a battery_stat.bin file? Thanks
Related
Just wanted to open up a thread here to see what we can do about battery calibration issues.
Not sure, but I read around that people are getting phone shut downs at the 10%-15% ranges.
When in actual fact it should be somewhere around the 1%-5% range?
Was wondering if there is some possibility in coding the phone to read the battery state better? Thus, eliminating the need for calibrating the battery through tradition means (ie: wiping, charging, etc)
Thoughts?
EDITS:
We've managed to figure out huge boundaries for the battery.
There are currently two ways to get your battery into "learn mode" - which will adjust the values of your battery to accurately reflect it's "age" and mAh tracking. This will lead to a fix for those of you who are currently facing issues with the battery shutting down anytime before the 1% mark.
1st fix:
1) Drain battery
2) Just as the battery hits "Shutting Down", plug in your charger
3) Let the phone power down
4) DO NOT TURN ON THE PHONE
5) Let it charge up overnight or something along the lines of 4-6 hours, which should ensure it will be fully charged
6) Power up, your phone should be calibrated and will now shut off at 1%
2nd fix:
Head over to the Battery Calibration Tool Thread which spawned off from the discussions here!
>> http://forum.xda-developers.com/showthread.php?t=765609
For those who have been following the thread and wonder what your status_reg value mean theloginwithnoname has kindly provided us with some datasheets and translations, which you can get with the following links:
Binary Conversion: http://forum.xda-developers.com/showpost.php?p=8013370&postcount=548
Then refer to Page 25 of the following datasheet: http://datasheets.maxim-ic.com/en/ds/DS2784.pdf
OR you can try out mtw4991's method to get learn mode done with the battery app that's been created out of this brainstorm thread.
The link to his method is > http://forum.xda-developers.com/showpost.php?p=9583271&postcount=340
I began this thread in other to simply find a fix for our current battery % meter. Basically, users (myself included) were having a problem with inaccurate battery % readings. Some N1's would shut down above 1% and this would leave many guessing when the battery would give out.
Needless to say, here at XDA - we managed to find the fixes. ;-)
And of course, we decided to take it to the next level.
How can we now push more out of our batteries?
RogerPodacter and theloginwithnoname have been working endlessly learning and understanding the how the battery registry works and together with dvgrhl they're finalizing a battery mod app which will help the N1 cope with the "learn mode" and changes. So do thank them for the great work they've been pushing out with! =)
They've helped us hammer out all the core details concerning the battery understanding, values, binaries, and we're wading through the mess to push the limits on the batteries (short of blowing them up as usual of course).
Be patient if the app isn't ready yet. And if you're a n00b, please don't mess around with the registry values and such if you have absolutely no idea what you're doing.
No one is gonna give a rat's poopoo if you blow up your phone and set your house on fire and gremlins kidnap your toes.
Peace out.
This thread is and methodology has served its purpose and many of us from this thread have moved on over to the Battery Calibration TOOL thread. The methods still work, but so do the newer methods at the tool thread, which I personally find is much easier and better.
If you'd like to use the manual method, it'll still work.
For those more interested in the newer method and I encourage you to do so - head on over through this link > http://forum.xda-developers.com/showthread.php?t=765609
+1
It happened to me yesterday. I am playing with my phone and I needed to check an important address on Google Maps, so I was thinking "Oh great I still have 9% battery" and then all of a sudden BOOM. It powered off. I mean seriously WHY have those extra 9% if I am never going to use them. So In reality my phone battery is like 80%
100%-(first 10% which drain in like 5-6minutes) - 10% that I never use cause the phone shuts off = 80% BOOOOOOOOOOOOOOOOOO NOT COOL
happened to me on cm 5.0.7.1 about 7% battery
I guess this would be an appropriate time/place to ask this question. I had someone PM me asking how to calibrate their battery and I didn't know if I provided them with the correct response. What I've always done is let the battery drain ALL the way down until it dies~usually about 1% and then fully charge the phone while it is off. Then, let it die down once again on that charge and repeat the charging while the phone is off. Is that the correct way to calibrate the battery or am I taking unneccesary steps?
THATTON said:
I guess this would be an appropriate time/place to ask this question. I had someone PM me asking how to calibrate their battery and I didn't know if I provided them with the correct response. What I've always done is let the battery drain ALL the way down until it dies~usually about 1% and then fully charge the phone while it is off. Then, let it die down once again on that charge and repeat the charging while the phone is off. Is that the correct way to calibrate the battery or am I taking unneccesary steps?
Click to expand...
Click to collapse
No idea as well honestly. I've never charged my phone while it's off... so that might be the issue...
But then again, my phone has often turned off at the 10% mark. So that's why I thought I'd get more input here on how we can actually find a way to calibrate our batteries or something.
i have two oem batteries and a dock..Everyday I completely drain the first and swap it out with a fully charged one off the dock and both batteries perform great and never shut down above 1% every single time. So the batteries are always completely drained and then have a slow no stress recharge, maybe this is why mine go to 1%?
chowlala said:
No idea as well honestly. I've never charged my phone while it's off... so that might be the issue...
But then again, my phone has often turned off at the 10% mark. So that's why I thought I'd get more input here on how we can actually find a way to calibrate our batteries or something.
Click to expand...
Click to collapse
I notice that if I charge my phone while it is off and take it off about 20 minutes after the light turns green, the discharge rate is MUCH slower than if I charge it while the phone is on. Or, I will charge it while on, let it get to 100%, turn it off and continue to charge until the light turns green again. Either of those two ways give me the best results for battery life.
Doesn't the Li-on type of battery calibrate itself when charged from 0% (or the specified minimum) to 100%?
THATTON said:
I notice that if I charge my phone while it is off and take it off about 20 minutes after the light turns green, the discharge rate is MUCH slower than if I charge it while the phone is on. Or, I will charge it while on, let it get to 100%, turn it off and continue to charge until the light turns green again. Either of those two ways give me the best results for battery life.
Click to expand...
Click to collapse
Hmm. Interesting thought. Guess letting it charge to 100 while its on is one thing, then turn it off so it maxes out before daily use. I'll try that tomorrow morning and see.
Stats have been recalibrated to pershoots kernels already. So tomorrow will be a good testing day.
LiOn batteries should NOT be drained completely. It is bad for them. You should simply charge to 100%, turn the phone off, let it continue to charge (you may be at 100% when in OS but not truly 100% to the battery) and then wipe battery stats.
hah2110 said:
LiOn batteries should NOT be drained completely. It is bad for them. You should simply charge to 100%, turn the phone off, let it continue to charge (you may be at 100% when in OS but not truly 100% to the battery) and then wipe battery stats.
Click to expand...
Click to collapse
Yeah, the discharge part is actually true. There's more info here bout the batts, but nothing much bout calibration.
http://forum.xda-developers.com/showthread.php?t=669497
chowlala said:
Hmm. Interesting thought. Guess letting it charge to 100 while its on is one thing, then turn it off so it maxes out before daily use. I'll try that tomorrow morning and see.
Stats have been recalibrated to pershoots kernels already. So tomorrow will be a good testing day.
Click to expand...
Click to collapse
The biggest thing I noticed right off the bat in doing this was that normally my battery drains from 100% to 90% in less than 30 minutes. After doing what I suggested, I see that my battery discharges much slower from 100% to 90%! Hope it works for you.
My phone was doing that ALL the time. Here's what i did that fixed the issue for me.
1.) Let my phone die as usual.
2.) KEPT IT DEAD... for 1 day
3.) Charged with the phone OFF for 1 day.
4.) Went to RA's recovery as soon as i turned the phone on and reset Battery Settings.
5.) Rebooted and all is well.
I hope this helps someone else.
(My phone would die at 13% EVERY time. It got really annoying when trying to Navigate when i forgot my USB cord for my PowerCup. :< )
And yes i know about the whole not letting Lion Batteries die. When i worked for T-Mobile and the customers would bring in their N1's doing this, every call to HTC this is what they told me to do. (Minus the whole awesome recovery and such). They said letting the battery drain will not hurt the phone as long as it regains 100% charge after the initial drain.
AGAIN. This worked for Me. So im not promising you anything. Plus the batteries are only 25 bucks from Google. And i have 4 extras... Just in case. I would invest in some if i were you. Cause lord knows, were going to do some SERIOUS stuff to our phones. Extra Batts dont hurt.
Lithium batteries don't have memories, that's a leftover idea from the old Nickel Cadmium (NiCad) and NiMh (Nickel Metal-Hydride) days. The idea with Lithium (Ion & Polymer) should pretty much just be charged up whenever. Letting them be drained completely isn't good for them and will reduce their lifespan (reduced mAh) although it won't almost immediately kill them ala lead-acids. Overcharging them via a circuit with a poor cutoff also isn't good for them as they'll heat up, phones or any decent AC charger should stop charging when they hit 100% though.
Probably about the best you can do is charge it to 100%, pull the battery and reboot the phone and then reboot it again. The charge calculation will be based on the rated mAh of the battery which depending on the quality of the battery and the charging system of the device could end up giving you some funny figures. Not much you can do about it though.
I just wanted to say that this link does mention a proper calibration charge, it just does not go into detail.
Item 3 of "General Lithium-Ion Battery (LIBs)Usage":
• Although it is said that LIBs do not have memory, it's not entirely true. LIBs have gauges that monitor performance of cells, and if you do a lot of small charges, it won't let those gauges to monitor a full battery potential, causing an invalid indication of charge level. A complete charge/discharge should be made when battery capacity seems reduced, that will calibrate gauges and they will provide your phone with correct charge level status. A full charge/discharge cycle should be done every 30 (or so) partial charges.
Click to expand...
Click to collapse
My assumption of a complete charge/discharge cycle would be:
1. drain battery until the device dies
2. charge the battery to 100%
3. power device on
4. drain battery fully until device dies (no small charges!)
5. charge battery to 100%
This should allow the battery gauges to recalibrate and improve battery capacity.
People seem to be in the dark about lithium ion batteries, how they are charged, and how the device estimates battery charge remaining.
Lithium batteries do not have memory effects, but the phone does keep a file with charge info about the battery; it uses this to estimate charge left and how to charge safely when the device is powered on.
When properly charging a Li-ion battery, the last 10% of the charge should take almost as long as the time it takes to charge from 0 to 90% (well about half as long meaning a full third of the charging time should be going into the last 10% of the charge) Charging with the device off, charges the battery more completely and consistently.
Li-ion battery chargers use a type of charge cycle called constant amp/constant voltage. The battery will be force fed amps until the battery's voltage peaks and it will then be fed a constant voltage. (around the 90% charge mark) During the constant voltage phase, the amps that the battery is taking in will be monitored; as the battery gets closer to full charge the amperage will drop more and more, until it is just a tiny trickle. When it gets to that point, the battery is fully charged. Obviously charging with the device still powered on creates a problem for that type of charging. So the battery can only be charged to the peak voltage, then the charge cycle must stop; as the last 10-15% of the charge can not be completed safely.
It is always good to let a device run until dead and then charge with the device off a couple times when the device is new, and then charge the device from empty while powered off once every couple months. (do not do it too often, as Li-ion batteries prefer to be between 50-80% charge for longer service life) This allows the device to maintain a proper reference data file on the battery and its charge state. this data file is what Android uses to estimate the charge in the battery, if the file is not accurate, the device may power down sooner than it should, or not charge fully to a true 100% state. (peak voltage state when powered on that is)
Also, Li-ion batteries are rated for capacity from a discharged voltage of 3v. So a 1500Mah battery is rated to provide 1500mah of power from fully charged to a final discharged voltage of 3v.
I do not know what the minimum operating voltage of various devices is, but if it is higher than 3v; then the phone must shut down at its min operating voltage and not the 3v needed to get full capacity. My Nexus one shuts off around 3.5v so there is around 25% of the actual rated battery capacity left. (remember what I said about Li-ion batteries liking to be between 50-80%, this left over capacity means that running the battery dead repeatedly is less harmful than if you drained the battery to a true 0% state)
There is also a voltage drop on a battery when under load. So if you are putting a heavy load on the device (like a 3D rendered game heavy gps use) then the battery voltage may drop to below the device’s min voltage. This means that if the phone shuts down during this time, you could probably turn it back on and get a few hours of standby or a few more minutes of light use. This could be another cause for people seeing shut downs when the battery gets around 10%.
The amount of power in a battery is high, especially in Li-ion batteries with their high energy densities. Over charging a Li-ion battery can cause an explosion, literally, that little battery in your phone could remove some fingers. Over discharging is bad as well, as it can start a fire; though like I mentioned above, the cut off voltage is above the 0% state, so that is unlikely here.
Ive proposed this before and got a bit shouted down, but thumbs up if anyone comes up with anything
As i see it, its not a problem with the battery. Its a problem with the battery meter. Since following a regime of deleting my batterystats.bin file, i dont see that issue. Its the same on my g1 as it is on my n1.
This is what i do... when i charge my phone, i charge it until 100%. When it reaches that 100%, i use either use the terminal or root explorer to delete the batterystats.bin file. After which i immediately power off the phone. Now, when its powered off(and still attached to the usb charger) the light should be green. But usually its not! Sometimes it charges up to a full hour longer before it turns green! When it turns green, power the phone back up and enjoy tue extra kick of battery life. Its not actually gaining battery life, its just resetting tue battery meter in the phone. This could only be done with a rooted phone. Oh, i think that this whole innaccurate battery meter thing is a problem with android in general. The meter becomes innaccurate with time. Sometimes extremely innaccurate.
Using the terminal...
su(press enter)
rm /data/system/batterystats.bin(press enter)
Then power off
Wow. Lotsa pewpewz here. Haha.
Again, after all the discussions, seeing that most of us agree the N1 keeps "stock" of how the battery chargers, is there a way for us to check or see how the battery is being calibrated, etc?
Not so much an app to modify the calibration, cuz that'll just be too dangerous, but something more like a tool to monitor it, so we know if it's calibrated right or wrong.
Deleting the batterystats.bin file isnt an app. Its either a script you run to delete it or physically deleting it. And its not dangerous. Ive done it well over a thousand times with my g1 and n1 combined. If you wanted to find out how the calibration work, i guess you could make a copy of your batterstats.bin and read it
So what exactly is the correct way to recondition your battery after installing a new rom? I have been following the Bionix version of recondition below
1. Charge phone completely, leave plugged into power
2. Boot into recovery
3. Wipe battery stats
4. Reboot
5. Remove power cable
6. Drain that sucker all the way
7. Recharge fully
But i see there is some discussion on the proper way, and this one ruining your battery life. What is the actual correct way then?
That's the method I used a few weeks ago. Can't say there was any noticeable improvement, but I've never read that it was the wrong way....
mystycs said:
So what exactly is the correct way to recondition your battery after installing a new rom? I have been following the Bionix version of recondition below
1. Charge phone completely, leave plugged into power
2. Boot into recovery
3. Wipe battery stats
4. Reboot
5. Remove power cable
6. Drain that sucker all the way
7. Recharge fully
But i see there is some discussion on the proper way, and this one ruining your battery life. What is the actual correct way then?
Click to expand...
Click to collapse
Please read THIS --> http://forum.xda-developers.com/showthread.php?t=877597
..... And / Or .....
http://lmgtfy.com/?q=lithium-ion+deep+cycle
T313C0mun1s7 said:
Please read THIS --> http://forum.xda-developers.com/showthread.php?t=877597
..... And / Or .....
http://lmgtfy.com/?q=lithium-ion+deep+cycle
Click to expand...
Click to collapse
So in all essence... Dont do it! Haha then what is the point of wipe battery stats? Should i still at least wipe it at 100 percent after its charged, and then just use it normally.
mystycs said:
So in all essence... Dont do it! Haha then what is the point of wipe battery stats? Should i still at least wipe it at 100 percent after its charged, and then just use it normally.
Click to expand...
Click to collapse
The "point" of it is just to get the software to know the upper and lower limits of the battery to it can more accurately determine its current level. It learns the battery level and becomes more accurate over time, but many here flash new ROMs too frequently for it to get the chance. Just use your phone and don't worry about the battery, you will be fine. Leave it on all the time, even at night. Charge it when ever you are idle for any length of time and over night. You can not over charge it and it does not have a memory, but you can certainly shorten its lifespan by deep cycling it. If you think the battery meter is really way off what it should be then clear it first thing in the morning after it has been charging. Also, don't be surprised if you rarely or never see 100%. This is the normal way the charger keeps heat buildup from killing the battery. 97% to 99% after a charge is fine.
Thanks T313C0mun1s7, that's the most sensible advice about the battery I've read in awhile.
I have found so many guides on how to calibrate battery best. This one: http://forum.xda-developers.com/showpost.php?p=15450518&postcount=3 Or this one: http://theultralinx.com/2011/07/calibrate-androids-battery.html
Or: just charge until full, wipe batterystats and just let it run out of power, then recharge to full again (that is the easiest one). So would the last one be enough, or do you have to do it the complicated way to get best results?
Also when draining the battery until the phone shuts down (after deleting stats), should it be used normal or can I just run some applications to use up battery fast?
what i used to do was:
charge to full once,
unplug, (and you will see sometimes it goes back to 99%),
plug again for a few minutes,
unplug,
go to recovery and wipe battery stat.
then reboot and use the phone NORMALLY until it shuts off (set the brightness to highest for next step).
BOOT straight into recovery and leave the phone until it dies again because there will still be some juice left.
while off, charge it,
when it gets to 100% while off, unplug,
then plug it again for a few minutes,
then boot up normally.
atlaswingpasaway said:
what i used to do was:
charge to full once,
unplug, (and you will see sometimes it goes back to 99%),
plug again for a few minutes,
unplug,
go to recovery and wipe battery stat.
then reboot and use the phone NORMALLY until it shuts off (set the brightness to highest for next step).
BOOT straight into recovery and leave the phone until it dies again because there will still be some juice left.
while off, charge it,
when it gets to 100% while off, unplug,
then plug it again for a few minutes,
then boot up normally.
Click to expand...
Click to collapse
Ive heard you should never "try" to over charging it by unplugging and plugging back in.
There are a lot of rumors and myths about battery calibration (and a lot of threads on this forum and copy-pastes on other blogs).
Personally I don't believe in long rituals with precise times and percents. Battery has build in controller, that can't be wiped. And Android has battery history file, that can be erased (butdoes it have any sense?).
Please, post link to authoritative source of information about battery calibration, if anyone has it.
Use the phone till its out, power it up via download mode to really drain every last drop. Charge it with the official charger while its off, once charging is full power on the phone let it boot properly and resume to charge maybe for 5mins then your done. Battery stats bin = totaly myth.
brianmay27 said:
Ive heard you should never "try" to over charging it by unplugging and plugging back in.
Click to expand...
Click to collapse
i hear you and i was reluctant to do that as well. but since new Li-Ion batteries have some sort of "overcharge protection" mechanism on them,
the batteries will stop taking in current automatically once they reach maximum mAh (not the battery stat maximum, the battery itself).
dangers related to charging are incompatible chargers, screwed up wall sockets, surges, etc. Know that companies nowadays keep saying "USE ONLY <company> COMPATIBLE CHARGERS"
because these chargers/cables also have this tech where current just stops once it's full.
well the "theory" was that since the battery stats is kernel related and gives battery "readings", when the number gets < 15, it will give out the warning to charge, then when the number gets to 0, it shuts off the system. This may happen but the battery MAY still have some power left in it, it's just the battery stats that says "hey, i see it zero, turn us off".
This scenario may happen to a screwed up battery stat reading, which is solved by wiping it's top charge number (1650) and the bottom charge number (0). the next boot will create a new
source file for the battery stat, containing no data then upon boot complete, the system will record the current battery level as top charge number to the battery stat. when it drains out, that
will be the new bottom charge number.
i do not have a wikipedia or engagdet source but Team Whiskey (a well known dev/mod team for Vibrant) of the Samsung Vibrant forum here in XDA explained it themselves.
Thanks for this thread. Really useful!
I use this one, nice & simple app,
https://market.android.com/details?id=com.nema.batterycalibration
I have seen lots of threads about people complaining about very poor battery life after flashing roms. Sometimes battery charges to 100% quickly and discharges very quickly.
So, these are the solutions. These solutions are IN ORDER. If the first one has no effect, then try the next one. If the second one doesn't work, then try the third one.
Now-
1) Try reflashing your ROM.
2) If reflashing your current ROM doesn't work, that probably means the ROM itself has poor battery life and you should change it. Stock ROM's have the best battery life.
3) If you are on stock ROM and still having problems, switch off your phone, take off the back cover and remove the battery. If the battery is swollen or the shaped weirdly, this means your battery is dead and almost useless. You need to buy a new one.
I recommend buying only stock batteries manufactured by Samsung because other batteries can be fake, incompatible, or just used batteries sold to you. Don't buy anything else unless you're absolutely sure of what you're doing.
Hopefully I helped.
Re: Solutions to Battery Problems[Newbie Friendly]
General tips for saving your battery-
1) Switch off mobile data whenever you're not using the internet.
2) Change your wifi sleep policy. This can be done by going to wifi settings, pressing menu button and then select advanced.
You can change your sleep policy so that your wifi sleeps when the screen is off.
3) Decrease your brightness! Your screen is responsible for most of the battery drain. Increase your brightness only when you are in bright sunlight or when you're watching videos etc.
4) Switch off GPS. Keeping it on all the time also drains a lot of battery.
5) There is an app called 'Greenify' which hibernates the apps running in the background. This app has increased my battery life. Here a link https://play.google.com/store/apps/...e=google&utm_medium=organic&utm_term=greenify
6) Don't charge your phone when it's at 70%. Wait till it is between 20-30% and then charge it continuously till it reaches 100%.
7) Let your battery completely discharge once every month.
8) Don't use task killers. They use more battery life than they save.
9) NEVER charge your phone overnight. Your phone takes only about 4 hours to charge. Overcharging reduces your battery life
10) If you use a Bluetooth headset, switch off Bluetooth whenever not in use.
11) Using setCPU profiles. This is one of the most effective ways of saving battery. You all know about overclocking, but do you know about underclocking or undervolting? Using profiles, You decrease the clock speed of your CPU when certain conditions are met. These profiles can be on the basis of time, screen off/on, battery etc. So when my screen is off, it automatically reduces the clockspeed which saves battery
chalak said:
General tips for saving your battery-
1) Switch off mobile data whenever you're not using the internet.
2) Change your wifi sleep policy. This can be done by going to wifi settings, pressing menu button and then select advanced.
You can change your sleep policy so that your wifi sleeps when the screen is off.
3) Decrease your brightness! Your screen is responsible for most of the battery drain. Increase your brightness only when you are in bright sunlight or when you're watching videos etc.
4) Switch off GPS. Keeping it on all the time also drains a lot of battery.
5) There is an app called 'Greenify' which hibernates the apps running in the background. This app has increased my battery life. Here a link https://play.google.com/store/apps/...e=google&utm_medium=organic&utm_term=greenify
6) Don't charge your phone when it's at 40%. Wait till is below 10% and then charge it continuously till it reaches 100%.
7) Let your battery completely discharge once every month.
8) Don't use task killers. They use more battery life than they save.
9) NEVER charge your phone overnight. Your phone takes only about 4 hours to charge. Overcharging reduces your battery life
10) If you use a Bluetooth headset, switch off Bluetooth whenever not in use.
Using these tips, I have gotten almost 2 days of battery life on stock Roms and a whole day of battery life on custom roms like CM10.1 and CM7
If you have your own battery saving tips, please share and help expand this list.
Click to expand...
Click to collapse
I'm interested in the greenify app, the only problem is that it does not support stock gingerbread which can give the most juice. Do you have any other recommendations of similar apps?
stevenkyk said:
I'm interested in the greenify app, the only problem is that it does not support stock gingerbread which can give the most juice. Do you have any other recommendations of similar apps?
Click to expand...
Click to collapse
Greenify is a unique app and I am yet to come across a similar app.
You can try this one but it is paid - https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts
Sent from my pet - Megatron™
6) Don't charge your phone when it's at 40%. Wait till is below 10% and then charge it continuously till it reaches 100%.
9) NEVER charge your phone overnight. Your phone takes only about 4 hours to charge. Overcharging reduces your battery life
Are you sure about these? Because I've read that phones only take how much ever charge that they need, so charging overnight isn't a problem. And i've also heard that letting the battery charge fall below 40% actually reduces the life over time.
Ajayr64 said:
6) Don't charge your phone when it's at 40%. Wait till is below 10% and then charge it continuously till it reaches 100%.
9) NEVER charge your phone overnight. Your phone takes only about 4 hours to charge. Overcharging reduces your battery life
Are you sure about these? Because I've read that phones only take how much ever charge that they need, so charging overnight isn't a problem. And i've also heard that letting the battery charge fall below 40% actually reduces the life over time.
Click to expand...
Click to collapse
Yes, I am sure and it is something I have verified.
Overcharging kills the battery.
I saw a video once of an evo 3d. The battery almost completely died after it was charged for 3 days
And you should always charge only when your battery is low.
This will ensure longer battery life
chalak said:
Overcharging kills the battery.
Click to expand...
Click to collapse
Normally, when the battery is fully charged, the chip that controls the charging process reduce the current exponentially to 0: this avoid the overcharging.
I think all smartphones have the charging chip control integrated (an USB cable is simply a power source, not a battery charger), so I hope we can leave the phones on charge all the night without any problem. I do that always and never had problems.
Clearing battery stats has no effect whatsoever on battery life ...
Prawesome said:
Clearing battery stats has no effect whatsoever on battery life ...
Click to expand...
Click to collapse
Well, if you see again, I never mentioned that clearing battery stats saves battery. It is for those people whose phone charges very quickly with big increments, which typically happens after changing ROM's.
Sent from my pet - Megatron™
smanq said:
Normally, when the battery is fully charged, the chip that controls the charging process reduce the current exponentially to 0: this avoid the overcharging.
I think all smartphones have the charging chip control integrated (an USB cable is simply a power source, not a battery charger), so I hope we can leave the phones on charge all the night without any problem. I do that always and never had problems.
Click to expand...
Click to collapse
It seems both of us have read conflicting and contradicting things.
Sent from my pet - Megatron™
chalak said:
Well, if you see again, I never mentioned that clearing battery stats saves battery. It is for those people whose phone charges very quickly with big increments, which typically happens after changing ROM's.
Sent from my pet - Megatron™
Click to expand...
Click to collapse
Quoting Dianne Hacborn(Android Framework Engineer):
"Today's myth debunking:
"The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/directory."
No, it does not.
This file 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.
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."
Its just a myth mate..
And also, it's a myth that you should let ur phone charge reach 10% or get fully discharged before charging. This actually leads to decrease in the battery life over time.
Prawesome said:
Quoting Dianne Hacborn(Android Framework Engineer):
"Today's myth debunking:
"The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/directory."
No, it does not.
This file 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.
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."
Its just a myth mate..
Click to expand...
Click to collapse
I am aware of what you are saying and I fully agree.
But I have never mentioned that clearing battery stats increases battery life!
Tips to increase battery life are in the 2nd post. I simply said that if you clear your battery stats, UI will show you battery which is more accurate to the actual battery level.
Why are you arguing over something I never said?
Sent from my pet - Megatron™
Ajayr64 said:
And also, it's a myth that you should let ur phone charge reach 10% or get fully discharged before charging. This actually leads to decrease in the battery life over time.
Click to expand...
Click to collapse
Think of your battery as a person working out and charging is like taking rest. If the person's ability is to do 100 reps yet he takes rest after only 60 reps and keeps doing that continuously, he won't be able to do 100 reps after a few weeks!
Look at the logic mate.
Sent from my pet - Megatron™
chalak said:
I am aware of what you are saying and I fully agree.
But I have never mentioned that clearing battery stats increases battery life!
Tips to increase battery life are in the 2nd post. I simply said that if you clear your battery stats, UI will show you battery which is more accurate to the actual battery level.
Why are you arguing over something I never said?
Sent from my pet - Megatron™
Click to expand...
Click to collapse
I am not arguing :/
I am just trying to help make your guide more Informative. Read what I have put in bold letters mate. It doesn't affect the battery level shown to you
Prawesome said:
I am not arguing :/
I am just trying to help make your guide more Informative. Read what I have put in bold letters mate. It doesn't affect the battery level shown to you
Click to expand...
Click to collapse
Sorry if I sounded rude.
And thank you for your advice.
Sent from my pet - Megatron™
Updated
Sent from my pet - Megatron™
(I was Chalak)
Thanks for tips
You misunderstood me :'D
Clearing battery stats does not:
Affect battery life
Affect the battery level displayed to you
The only thing it does is, it wipes the history of battery consumption by each app. I am talking about the battery consumption by each app shown to you in Settings>About phone. If you clear the battery stats.bin file, the only thing that geta erased is this
Prawesome said:
You misunderstood me :'D
Clearing battery stats does not:
Affect battery life
Affect the battery level displayed to you
The only thing it does is, it wipes the history of battery consumption by each app. I am talking about the battery consumption by each app shown to you in Settings>About phone. If you clear the battery stats.bin file, the only thing that geta erased is this
Click to expand...
Click to collapse
This! Anything about wiping battery stats is not a myth anymore, so please stop misleading people,
Also "6) Don't charge your phone when it's at 40%. Wait till is below 10% and then charge it continuously till it reaches 100%."
Not true! Charging your battery around 50% is the most efficient way to keep lithium battery alive longer. A discharge once a month is also recommended.
I recently had my Thunderbolt replaced with a refurb from Verizon. When I got the new phone I removed my old battery, which was working fine, from my old phone and placed it in my new phone. Now in the new phone I fully charge the battery and I get about 45 minutes to an hour of battery life before my phone is down to 2% battery life. However, the phone then has the same battery life as it did in my old phone, it just still says there is only 2% battery life left.
I'd tried completely killing the battery then recharging fully for about a week. The battery stats never reset.
I then rooted my phone, charged it completely and purged the battery stats. The issue persists.
Sounds like an aftermarket, non-oem battery...is it?
If it isn't a stock oem battery and especially if running ICS, it will not read correctly.
It may charge and discharge properly, but may never read accurately.
If it is an oem battery, then you got me.
Well i did this thing on my cousin's Htc Amaze a long time ago
i used die hard battrey calibirator to calibrate the battery. the phone was showing 2 percent supposed to be 170 percent so i pressed calibrate button and it worked for about a week until the battery had the same error
try doing that it might do something... or nothing at all but worth a try
santod040 said:
Sounds like an aftermarket, non-oem battery...is it?
If it isn't a stock oem battery and especially if running ICS, it will not read correctly.
It may charge and discharge properly, but may never read accurately.
If it is an oem battery, then you got me.
Click to expand...
Click to collapse
Nope, it's the original battery I received with the phone. I'd understand if it were just time for a replacement but the fact that it stays awake at 2% for so long leads me to believe it's not actually an issue with the battery.
If you calibrate the battery incorrectly it can make the phone display the wrong amount. I did this before using die hard battery calibrator. To manually recalibrate. Discharge the phone totally and then charge it until the green light comes on. Boot into recovery and then wipe battery stats in recovery. That might help you out but I somehow doubt itm
Sent from my ADR6400L using Tapatalk 2
I tried using a battery calibration app and haven't seen any change.
I also looked for my batterystats.bin file in /data/system to manually delete using a file explorer but I didn't see it there. Does anyone know why that may be or if that could contribute to the issue?
I also looked for my batterystats.bin file in /data/system to manually delete using a file explorer but I didn't see it there. Does anyone know why that may be or if that could contribute to the issue?
Click to expand...
Click to collapse
Disregard that, turns out I didn't have ES File Explorer with root permission.
Li-on batteries don't actually perform the way many people think they do. They do not discharge in a linear fashion. That's what makes metering them on the phone so complicated. As the battery ages it's non-linear output changes as well, and that's what the statistics are designed to correct for when displaying a charge level.
Here's how you know your battery is a dud.
Pay attention to the voltage. As a Li-on battery discharges it discharges in a very flat way. The battery is fully charged when the voltage curve of the battery begins to ramp up sharply. The battery is technically dead when the voltage begins to drop off sharply. What ultimately renders a Li-on battery garbage is when that fat flat spot in it's voltage/charge curve drops below a threshold that will power the device. If the battery is displaying adequate voltage for a reasonable length of time and the phone still reads inaccurate, then it's the fault of the phone.