yashsingh1/xdaforums huggingface dataset:
[Captivate General] NISMOFO:
Just installed my first custom ROM and now battery life is poop. I did the recalibration a long time ago with my first battery. I think my problem is that I actually have 3 batteries now....I plug them in with a wall charger (not to the phone).....and just swap them out with a fresh one whenever I need a new battery.

So will swapping to different batteries confuse the phone with this calibration? Or can I calibrate all three of my batteries?
[Captivate General] Auridran:
If your batteries all have similar characteristics, you shouldn't have any problems swapping them out. If they're eBay batteries from China, however, they all probably have quite significantly varying charge levels and that will hamper battery life.
[Captivate General] NISMOFO:
Yes that is my fear....two of them are Ebay (China) batteries. Would doing the calibrate with each battery confuse the phone?
[Captivate General] NISMOFO:
Sleeping Giant, did you wipe the battery stats after doing this as well? Or just do the bump charge steps? I'm curious if I need to do the wipe since I have seen others with no luck.
[Captivate General] NISMOFO:
Sorry I keep posting here, but I want to fix my issue right the first time :)

I drained my phone down to 100%. It's currently turned on and almost charged to 100%. So i planned to go through the bump charge steps. So as a "final" step before rebooting and actually using the phone....it's at that point when I should be going into ClockWork Recover mode (holding the 3 buttons) to wiping the data, correct?

Or is this a step I should perform after the first 100% charge (while the phone is off)?
[Captivate General] mrjazze:
Joey, I have a weird issue. As you may recall, I did the recalibration as you suggested and battery life was much improved. But one day I decided to let the battery drain completely and charge it back up 100% while powered off. Well now the charge is draining much faster. Any ideas as to why? Its not from more use since I am actually using it less.
[Captivate General] joeybear23:
Yes, if you are going to wipe the battery stats, the correct time to do it is when it is 100% charged (after a bump-charge), but then the stats will not be correct until you drain the battery to 0% (it turns itself off, and will not come back on).

But remember, since you have wiped the stats it does not know where 0 actually is yet, so it may turn off with some battery left, so always try to turn the phone on a few minutes after it shuts itself down, that will make sure the battery is at 0%.
[Captivate General] joeybear23:
You may need to bump charge again. Have you flashed a ROM since the last time? I always make sure to bump-charge immediately before flashing a ROM.
[Captivate General] Illidine:
After recalibrating my battery ,it lost 10% over the night ,about 9 hrs with flight mode.

It used to lost only 1% over the night .wtf!~:confused:
[Captivate General] mrjazze:
Theres one question I have been wondering, does the stats file get recreated?
[Captivate General] joeybear23:
Yes. At first boot up it gets recreated.
[Captivate General] Delicate Donut:
so to get this right after deleting the batterstats.bin i have to let the phone drain completely? Or do I reboot after deleting the bin file then drain?
[Captivate General] Radukk:
+1 and I have not rebooted after deleting bin file, but battery drain seems gone for now.
[Captivate General] joeybear23:
I have updated the OP to include this:

In order for a new batterystats.bin file to be created by the OS, you will need to boot up.

If you use CWM to delete the file, then once you start the phone back up it will recreate it.

If you delete it using ADB or a Terminal Emulator, you will need to reboot.

This should be done in the order in the OP: bump-charge to 100%, delete batterystats.bin, reboot. Usa as normal, but let it drain to 0% before charging back up.
[Captivate General] geokilla:
Something weird is happening lately. Whenever I have low battery to the point where the Captivate would shut down by itself, it shuts down like I did a battery pull and not a proper shut down. Then when I plug it in to charge it, it says I have 25% battery life remaining. I already bump charged and wiped batterystats, so what should the next move be?
[Captivate General] chinlaundry:
I've notice a similar problem with my phone, I'm thinking it might be battery isolated, will do more tests tomorrow.
[Captivate General] joeybear23:
Unplug it and let it drop to 0 and power off again.. I believe that is referred to as a bump drain.

Mine has done that in the past: it turns off and won't turn back on until you plug it in, but once you do it jumps up (mine said like 43%once). All you need to do is unplug it and let it drain down again.
[Captivate General] geokilla:
I'll give that a try right now before I sleep. Hopefully it drains in time.

Should I bump charge my Captivate or just full charge it then delete the batterystats?
[Captivate General] joeybear23:
You should only have to bump charge the one time unless you delete your battery stats file again or flash a new ROM.
[Captivate General] geokilla:
Well I bump charged it then deleted the batterystats in CWM. I was rushing out to school and you didn't reply yet, so I figured I'd try it on my own. Let's hope it worked.
[Captivate General] omanpushcar:
I had an ATT Captivate and I am new of XDA. Can you please tell me where I can DL the CWM for my Captivate? and if I use Terminal Emulator to do so, type the command "su" then press ENTER? then type the rest of "rm /data/system/batterystats.bin"? Thanks.
[Captivate General] joeybear23:
If your captivate is brand new and you do not have CWM, then you likely do not need to delete the file.

Go through all of the other steps and you should be good.
[Captivate General] omanpushcar:
My Captivate was bought in Nov,10. is it okay? Also, I have another question beside Battery. What is ROM(I know it is Read Only Memory on PC)? Where can I find which ROM I am using now? if I want to Flash ROM, where I can DL the new ROM to be flash? Thank you!!!

Here is from my Captivate:

Model Number=SGH-I897

Firmware ver.=2.1-update1

Baseband ver.=I897UCJH7

Kernel ver.=2.6.29 jetaek.lee@sep-11 #2

Build number=ECLAIR.UCJH7
[Captivate General] joeybear23:
It's not necessarily the build date or version that makes me think you don't need to delete the file. It is the fact that you probably haven't flashed any ROMs. When you flash ROMs, typically the file in question is overwritten, and if that happens when the battery is not at true 100% it can cause it to be wildly inaccurate.
[Captivate General] Carey_Price:
I have a samsung galaxy captivate running on 2.2 Froyo.UXJL1

This is a stock phone, I have not modified it or rooted it or whatever its called...

After charging, unplugging, power on, power off, charging, etc etc... I go into Terminal Emulator and here is what happens:

it shows two dollar signs spaced out...

$ $

i type su and hit enter and it says

su: not found

okay... then I type

rm /data/system/batterystats.bin

and it says

rm failed for /data/system/batterystats.bin, Permission denied

so... what am I missing here? I read through pretty much the entire thread and did not find anything about this... am I suppose to go into Recovery mode or something for this to work? Do I need SDK ?(not even sure what this is, but read about it a lot)

In Joey's post, I didn't skip any steps... so... anyone can help out? In as much laman terms as possible plz!

Thanks
[Captivate General] Auridran:
As far as I know, you need to be rooted for this to work.
[Captivate General] joeybear23:
You are correct. Rooting the phone puts the 'su' command (super user) in place so that you can grant your session the rights to remove the file.

If you have not rooted, you probably have not flashed any ROMs, so you most likely do not need to remove the batterystats.bin file anyway. Do all of the other steps and your existing batterystats.bin file will be updated with correct 100% and 0% information.
[Captivate General] omanpushcar:
One last question, if I use the Factory Reset the phone, do you need to do these steps (recalibrating)? Thanks
[Captivate General] joeybear23:
That in itself will not make a good batterystats.bin file bad.

So the answer is no, you should not have to recalibrate.

However, you may want to go through the steps anyway if you suspect your actual battery statistics are not being accurately reported.
[Captivate General] sremick:
So I decided to try this since I finally flashed a custom ROM. I'm using Perception 10.2 with the JL2 modem. I followed the instructions in the first post to a T.

One thing I noticed was that although I made sure to completely drain the battery, and confirmed it was dead by trying to turn it back on, once I reconnected power to charge it back up, it immediately jumped to about 70%, both off and on. Needless to say, my battery performance is **** now. I can watch it drop a percent every few minutes while using it. In an hour, I lost over 20%.

Thoughts? Suggestions?
[Captivate General] bms231:
Thanks for the writeup. There is so much crap with this samsung phone. I pretty much regret this purchase. I mean, with the right ROm it is a pretty kick ass phone, minus the GPS, but the fact samsung offers no support is ridiculous.
[Captivate General] FrozenComa:
I'm using Perception 10.1 rom and I'm getting great battery life and GPS. I get a 10m fix within seconds. I'm thinking of upgrading to 10.3 now.
[Captivate General] FrozenComa:
I'd suggest switching to the KP1 modem. There was a comment earlier today of someone getting 25 hours and still having 50% battery left. I don't know how much is idle and how much is normal use.
[Captivate General] joeybear23:
Anytime you see this you should make sure to also bump drain. That is you should drain to 0 then plug it in, of it jumps up really high really fast, unplug it and drain to 0 again. It should drain much faster this time, but once it gets to 0 again it should really be 0. Then bump charge it.

Warning: posted with Swype...
[Captivate General] sremick:
I am trying this right now, but each time I plug it back in, it jumps really high... like 50-70% still.

How many times of "bump drain" should it take? Is there another step that needs to take place? At what point do you reset the battery stats (again)... or do you?
[Captivate General] joeybear23:
Try bump charging and deleting the file, then see if you get the same behavior...
[Captivate General] nlancaster:
I performed this battery stat reset and it worked great. when from losing 3% battery as soon as I unplugged, to staying at 100% for anywhere from 10-60mins depending on use. So far went 23hrs on one charge, and after 23hrs stil had 15% left.
[Captivate General] joeybear23:
Great.

Now, your mileage may vary depending on your ROM/Kernel combination as well as your usage and what apps you have running, but yesterday I went 18 hrs and was still at 74% when I went to bed. Of course I used it very little, but it is nice to know that the phone will get that kind of battery life on minimal usage.
[Captivate General] joeybear23:
Updated OP to add:

***This process has not been validated for the CM7 Gingerbread ROM, you will not be able to "Bump Charge" due to the fact that the Gingerbread kernel will not allow it to charge while turned off, which is the same behavior as the Nexus S. The data/system/batterystats.bin file DOES exist, however, so the rest of the process can be done, though I have not yet tested whether it improves anything.
[Captivate General] TayzGpa:
If I flashed the new ATT 2.2 via kies, should I recalibrate (i.e. wipe the battery stats) or no. Right now, with moderate use I can last about 14 to 16 hours without a recharge. Moderate being defined as about 45 minutes worth of phone calls, hour or 2 of browsing internet, couple of hours of game play, texting a LOT, browsing the Market once or twice. That's about it. :rolleyes:
[Captivate General] joeybear23:
You seem to be doing pretty good.

Your battery stats will usually stay fairly accurate if you are not flashing ROMs frequently or when your battery is not at 100%

Also, if you don't think it's broke, why fix it?

:)
[Captivate General] yurkinator:
When I plug in USB with the phone turned off it just boots up like normal. Supposed to get that battery charging screen I think.
[Captivate General] lownox:
Not the cable that came with the phone? Happened to me with an LG cable once.
[Captivate General] yurkinator:
That was it, thanks.
[Captivate General] vatoesse:
master clear wipe battery stats?

If I'm flashing to a new rom and doing a master clear in the process, this is wiping my battery stats right? I figured since the file is located in /data and master clearing it reformats the file system, I am creating a new batterystats.bin file...is this correct? Or should I flash to the new rom and then perform this procedure? (or before I flash?) :confused:
[Captivate General] joeybear23:
I am not sure if master clear wipes batterystats.bin. The way to check is to run master clear, then browse for the file with root explorer.

I always go through this immediately after flashing a new ROM.
[Captivate General] vatoesse:
But once you power on the phone, it will have created the a new batterystats.bin anyway. So checking the file properties for when the file was created would be best bet then I believe?

I will test this out and follow up...
[Captivate General] joeybear23:
I didn't think about that... I forgot master clear forced a reboot.
[Captivate General] Sanctus Peregrinus:
My battery life has always been bad. About 6 hours of what I call medium use. Some calls, some e-mails, some web. Throw in a little angry birds or chess and forget about it! I'm giving this a try and hoping it's the magic elixir.:rolleyes:
[Captivate General] CanuckinPA:
OK, so this morning I followed Joey's instructions. Now, there doesn't appear to be any improvement.

At 10:45am it was at 100%. I drove to work (1/2 hour) with BT activated and no calls.

During the day I sent/received 2 SMS messages, checked Twitter and FB (total of maybe 10 minutes) and one or two web pages (Dolphin).

Driving home with BT on, just one call (about 1 minute long).

I have auto-bright turned off and the brightness at about 25%. Most of the day my screen was off.

Here's the results. At this rate, I don't think I'm going to get a couple of days on one charge. :confused:
[Captivate General] joeybear23:
Your mileage may vary, but if your battery information is not being accurately read by your phone, this process will help. If out does not help, there is a good chance there is a drainage issue. I would highly recommend following the instructions given by TheYar in his thread that I have linked in post #1. All my process will do is make your phone accurately determine how much of a charge is left on your battery.

Warning! Posted with Swype.

...and yes, I bought the premium app. :D
[Captivate General] Sanctus Peregrinus:
I can honestly say that I am seeing about a 30% improvement in battery life. I don't mind charging my phone every night, I just want to have to do it during the day with average use.

Now where was that thread that explains what GPS settings will actually charge instead of drain my battery?;)
[Captivate General] joeybear23:
Glad to hear it!

Let me know when you find it :D
[Captivate General] Vivified:
You're on Cognition 4.1, which I am fairly sure had a known battery drain issue. Try upgrading to Cognition 4.3 which does mention fixing this issue.
[Captivate General] iwontletme:
I was on 4.1 and experienced drain issues as well. Upgraded to 4.3 and had same issue. Followed the tutorial, deleted my batt stats and all is well again. 8hrs and still at 76%.
[Captivate General] omanpushcar:
Dear Joey, my captivate just upgraded to 2.2 last week and it is running around 14 hours without charge the battery. Most of time I saw the battery shown 100% after fully charged but it show 9x% after unplug the charger. If this case, should I do the "Recalibrating Your Battery"? Thanks again.
[Captivate General] CanuckinPA:
Ok, so I've flashed Cog 4.3 and gone through the process again, running the battery down to 0% after the flash, then charging to 100%.

After about 36 hours of moderate use there was still about 25% left on the charge, so I think that I can live with that.

I'm going to try to give it a more robust test on Sunday.
[Captivate General] melvinaury:
Other problem that I notice after I do all the steps is that after 5 hours of use the battery icon is full but when I check the battery it reports 65%. I use the battery widget because is more accurate than the icon at the top of the screen. My phone are stock rooted.
[Captivate General] JayFReaZy:
When you run the battery down to 0%, do you mean you use the phone until it shuts off?
[Captivate General] melvinaury:
Yes, but give some minutes and try to turn the phone on. If the phone don't turn on plug it to the charger and after it turn on disconnect the cable. I try that and after use the charger to turn it on I check the battery and has 19%. You have to continue doimg it until when take out the power cable the phone turn off. Tjrnyou have to turn on the phone and charge until 100%
[Captivate General] Juanmail15:
Does anyone recommend wiping the cache when they wipe the battery stats? I could've sworn I read somewhere that this helps to make it more accurate but something tells me it'll probably make no difference. Any insight would be appreciated.
[Captivate General] CanuckinPA:
Full charge at 6 am, by noon it's at 68% after one call, a few text messages and Twitter the only open app. Not sure if that's an improvement
[Captivate General] rmntruexjr:
Wanted to say thanks for the info. I wondered why my batt would hang at 5% for so long and seemed to take longer to drain from 5% to 1% than it did from 100% down to 5%. All seems fine now. Thanks again!!
[Captivate General] joeybear23:
Really it is up to you. Going through this process will not hurt our help battery life, per se, but rather it will help your phone to get a more accurate picture of what full and empty really are. I always recommend people with battery drain issues read through TheYar's thread linked in my first post in this thread

Warning! Posted with Swype.

...and yes, I bought the premium app. :D
[Captivate General] joeybear23:
My first imputation is that if anything, wiping the cache will use a small amount of more battery as your system rebuilds cache, but it is probably negligible. The cache is more related to the operating system than the hardware.

Warning! Posted with Swype.

...and yes, I bought the premium app. :D
[Captivate General] joeybear23:
Have you had a chance to go through TheYar's thread linked in the OP?

Warning! Posted with Swype.

...and yes, I bought the premium app. :D
[Captivate General] joeybear23:
This is absolutely the purpose of this thread. Granted battery usage from 5 to 0 will often be less due to the system shutting down some services (depending on your ROM) and users making a conscious decision to be more conservative in their use when the battery is about dead, but after doing this you should see more uniform drain.

Warning! Posted with Swype.

...and yes, I bought the premium app. :D
[Captivate General] dgarcia114:
hey i just saw an app in the android market that will recalibrate your battery stats for you. do you have to do it after flashing a rom or can you just use it if your phone is rooted?
[Captivate General] Bane99:
I believe the app deletes that batterystats file. The second part to your question I do not know.

Is there any detrimental effect of running battery calibration multiple times in a short period of time? I know the app only deletes the battery stats, I was just curious. I ran it once, and on the attempt to run the battery down, accidentally plugged the phone in at 8% without thinking. So i'm afraid I messed up the calibration. The phone is back at full battery life, but I need to bump charge it anyways and wanted to ask here. Thanks guys.

EDIT: Bump charged and when I turned the phone on, it's still at 98%. Stayed at 98% when I calibrated my batter the first time too =/

Firefly 2.8

Kernal: Speedmod i897 k13d 500Hz
[Captivate General] BWolf56:
The calibration itself doesn't do good or hurt the battery. It's an atempt to give your phone the right info about your battery life. I don't think you will need to delete it again, just go with it for now and do the full battery circle. Come back in a couple days when you've done a couple of circles for update but I believe it should be fine.
[Captivate General] melvinaury:
Can you give the name of the app.
[Captivate General] joeybear23:
never heard of it...
[Captivate General] dgarcia114:
its called battery calibration by NeMa
[Captivate General] sk8erwitskil:
Just used the battery calibration app and it worked just fine
[Captivate General] Moozh1:
I recently got an extended battery for my phone, which I plan to use on most weekends when I don't have easy access to a charger. During the week I will use the standard battery since I like the feel of the phone with the standard battery better, and I am always near a power outlet during the week.

My question is, do I need to recalibrate my battery stats every time I swap out the two batteries?

Thanks in advance for any advice.
[Captivate General] joeybear23:
It depends...

If the precise voltages for full and empty are the same on both batteries, you will not have to. Most likely, however, they are slightly different.

Personally, if I were to carry a charged spare with me, I wouldn't worry about the hour or so of use you can tweak out of a correct batterystats.bin file. IMHO.
[Captivate General] randyyy:
I have a question, guys!

I try this...

1. Connect the phone to the charger with the phone powered on, and allow the phone to charge until it shows 100%

When I unplug it it drops 1-4 % leaving it in 97 for example. So it never reaches the 100%. Can I continue whit the next step with that percentage? Or Is there a way to take it to 100%?
[Captivate General] melvinaury:
Turn off the phone and connect the charger until it is 100%. Then turn on the phone and connect the power again when the battery is 100% run the program battery calibration, then disconnect the power and use phone the until it power off.
[Captivate General] tege989:
Joey,

In step 6, when deleting the batterystats.bin file, if I use the 3 button combo to reboot into CWM recovery to wipe battery stats, am I supposed to unplug the charger BEFORE doing this? Or after the phone reboots? :confused:

I just followed your steps then I unplugged the charger after wiping the battery stats through CWM and clicking 'reboot system now', which is before the system actually fully rebooted. Just need some clarification on when EXACTLY you are supposed to unplug the charger..
[Captivate General] joeybear23:
The charger can stay plugged in while you delete the file, just make sure you have it at 100% before deleting it.

Warning! Posted with Swype.

...and yes, I bought the premium app. :D
[Captivate General] tege989:
Thank you! This has really helped my battery life for sure after flashing these ROM's.. 28-30+ hours with moderate to heavy use!