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
Is it necessary to calibrate after flashing a new kernel?
Not really. I found my battery life is better after I flashed the new voodoo kernel by jt. If you do have some bad battery life, it would be suggested you do calibrate your battery.
how do you calibrate your battery also i notice after i charge my battery all nite the next morning i start off with either 99 or 98 percent any reason why???
Calibration of the battery isn't really required if you flash at 100% each time.
mrtonee said:
how do you calibrate your battery also i notice after i charge my battery all nite the next morning i start off with either 99 or 98 percent any reason why???
Click to expand...
Click to collapse
This is expected behavior designed to protect the life of your battery. basically what happens is your phone will charge to 100%. It's not good for a li-on battery to stay at that stress level so the phone will then allow the battery to discharge to 95%. Once it hits 95% you will start charging back up to 100% and the process will repeat. If the phone didn't do this the battery would degrade much more rapidly.
Sent from my SCH-I500 using XDA Premium App
thank you some days its good and some days its bad........
Not sure why, but I restarted my phone and it went from 50% down to 5 % power? Had it on the charger all night and it was still at 5%?? Took it off the charger for a few hours and im still at 5%. Tried wiping stats and had no luck? Any Help??
Goofypook said:
Not sure why, but I restarted my phone and it went from 50% down to 5 % power? Had it on the charger all night and it was still at 5%?? Took it off the charger for a few hours and im still at 5%. Tried wiping stats and had no luck? Any Help??
Click to expand...
Click to collapse
Drain all battery and charge it from zero. Let it be fully charged before starting it. If you run CWM you can wipe battery state.
Your question is in wrong section in the forum. Try starting the thread in General.
Cheers
+1 this -- and some additional detail...
Wiping battery stats does NOT improve actual battery life. If done properly, and coupled with a calibration cycle, it can increase the accuracy with which your battery reports its current charge. Ideal process is as follows..
Charge to 100%
Reboot into CWM
wipe battery stats under" advanced"
Reboot
Charge back to 100%
Let it DIE (go to 0%) from normal use, DO NOT charge it during the cycle
Re-charge to 100% and you're all recalibrated.
From the sound of it, don't be surprised if your phone sits at 5% for hours. After the calibration, your battery history should be a relatively smooth, downward sloping curve.
Sent from my DROID RAZR using Tapatalk 2
Check Settings>Battery Information>Battery Usage and see if a process named RILD is using a high percentage of your battery usage. That process - a very necessary Motorola radio daemon - is wreaking some havoc by causing very rapid battery discharge and also preventing normal charging.
No solution for you but thought I would let you know before you try too many different "solutions" needlessly.
Thanks!
Jim
I decided to replace my 2+ year old Atrix battery with an OEM battery. Since then I can charge to 100% just fine (ran the battery fixing apps and did a wipe battery cache thing) but the battery discharges visibly, like down 4% for a single google search, and gets stuck at 1% for many hours. I used an app to see the voltage and it tops out at 4.2v and levels out at I think 3.5v and dies around 3.2-3v if I remember correctly. Anyway, I just don't know how long the phone will last but it is lasting most of the day. Even turning setcpu off I run for hours with a battery drain app and stay at 1%.
Using MROM-1-0.20120505-olympus. I think this is still considered CM7.
Kernel 2.6.32.59-MB860-MROM-ga43d614.
I dont see your question...
Any way I think you need a few charge-discharge cycles to make your battery statistics work.
Wrong section dude
Sent from my MB860 using xda app-developers app
moderaterain said:
I dont see your question...
Any way I think you need a few charge-discharge cycles to make your battery statistics work.
Click to expand...
Click to collapse
Okay, the question is what can I do to make the drop more linear rather than going from 100 to 1 in an hour and staying at 1 the rest of the day.
And I've charged discharged half a dozen times with no change.
As you have tried, I don't have better ideas.
I like checking the voltage reading, rather than the percentage value. It usually makes more sense above 3.6V.
Delete all files (or even better copy somewhere for backup) in /data/battd/. Turn off your phone, charge it few hours after led become green, remove battery with charger connected, wait for "?", place battery again and charge it for about 1 hour, turn phone on with charger connected, check battery level, wait to 4200mV and 100%, finally disconect charger. Use phone without recharging until it turn itself off or reach 1%. Then charge it and use normally.
I did it with new battery and now works great, charge to 4200mV, 100% and discharge to 1%
Zeljko1234 said:
Delete all files (or even better copy somewhere for backup) in /data/battd/. Turn off your phone, charge it few hours after led become green, remove battery with charger connected, wait for "?", place battery again and charge it for about 1 hour, turn phone on with charger connected, check battery level, wait to 4200mV and 100%, finally disconect charger. Use phone without recharging until it turn itself off or reach 1%. Then charge it and use normally.
I did it with new battery and now works great, charge to 4200mV, 100% and discharge to 1%
Click to expand...
Click to collapse
I have the EXACT same problem as original poster, and i see my battery dying to 1% within couple of hours, and then remaining on 1% for rest of the day! This is misleading and most of time i have no idea how much more my phone will go on. All this despite the fact that i bought my battery paying 35 bucks to get it directly from Amazon!
Tried doing what Zeljko1234 has said in his post above, but to no avail. The problem remains as it is. Anybody else faced this issue and found a resolution? Will hard reset or rooting help? Appreciate any help
of course in most cases I will not do this trick but for battery recalibration since my phone battery indicator is totally a joke
I wanna give it a shot just once but I am worried because somebody says it will harm the battery life or even worse, let it dead(neither turned on nor charged). and many people also swear by completely discharging the battery all the way down and recharge it to 100% from time to time to reset the battery stat and have it work as it used to
so these two claims are contradictory each other so one of them is wrong.
please point out the right way for me. thanks
it likely won't kill the battery if it happens once (or occasionally), but i don't think it is recommended to do this regularly.
battery indicators are never perfect.
First of all, completely draining your battery could damage your phone and would reduce your battery lifespan. I recommend you to stop using the phone when the battery drops to 5-15%.
And battery calibration is 100% myth. Battery calibration just removes batterystats.bin and re-generate a new one. Android does the same once our device is fully charged.
Sent from my ASUS_Z00A using XDA Labs
krasCGQ said:
First of all, completely draining your battery could damage your phone and would reduce your battery lifespan. I recommend you to stop using the phone when the battery drops to 5-15%.
And battery calibration is 100% myth. Battery calibration just removes batterystats.bin and re-generate a new one. Android does the same once our device is fully charged.
Click to expand...
Click to collapse
well you're true but not all about the battery calibration,there another method which work and not a myth.the method is by charging upto the devices's limit voltage it can hold,you may have seen about "please charge your device 10 minutes more" its actually calibrating the phone's battery.but dont too overcharge it,it may get damaged,so be careful.
Thunderoar said:
the method is by charging upto the devices's limit voltage it can hold,you may have seen about "please charge your device 10 minutes more" its actually calibrating the phone's battery.but dont too overcharge it,it may get damaged,so be careful.
Click to expand...
Click to collapse
You mean trickle charging? It's for stabilize battery's voltage.
Sent from my ASUS_Z00A using XDA Labs