yashsingh1/xdaforums huggingface dataset:
[Motorola Droid and Milestone General] zeppelinrox:
It's hard to tell from the picture, so I'm not sure, but the actual mV readings don't seem to be fluctuating as wildly as the % reading, right?

Also, does it happen with different roms as well?
[Motorola Droid and Milestone General] Ekofasc:
Well, they go up and down a bit and I'm not sure if that's alright, but it's not as bad as the percentage, no.

It did happen when I tried different roms, including stock, before I sent it in for reparation, but I have only tried Telus Lite since I got it back. I will try another but I don't think it's going to help :(
[Motorola Droid and Milestone General] zeppelinrox:
Yeah that is an odd problem.

Try calibrating again. Delete the batterystats.bin so a new one gets created and pay more attention to the mV and see if those figures are less erratic than they are now.

Check this thread too http://xdaforums.com/showthread.php?t=905999

Maybe the author of BMW will have a better idea of what could be causing bad readings.
[Motorola Droid and Milestone General] brandner:
Phone doesn't boot without battery

Hey Zepplinrox, thanks for the guide. I've tried this method a few times now, and no matter what I do, my phone doesn't reboot without a battery.

I charge phone to 100%, delete batterstats, click to reboot.

When phone goes black, remove battery.

Nothing.

Am I missing something? Does it matter if it's USB charge vs wall charge?
[Motorola Droid and Milestone General] zeppelinrox:
yes.. wall charger definitely.

If it doesn't boot up, start at Step 7
[Motorola Droid and Milestone General] twixyz:
Hi all,

I'm also suffering from strange charging and decharging behaviour, so I'd like to try this trick. But before I do I have some questions though.

I am aware of the Motorola battery charge bug, so I already have applied this method but without deleting batterystats.bin. Unfortunately that way it isn't permanent, so I have to repeat the steps every charging sequence.

So my question is if this method including deletion of batterystats.bin solves the charge bug and does make it permanent? Until installing another ROM, that is.

My second and last question is if there is another way of deleting batterystats.bin, because I have to buy Root Explorer while I'll probably only need it for this.

Thanks in advance!

Gerard

The Netherlands
[Motorola Droid and Milestone General] zeppelinrox:
You can use supermanager its free

Someimes the bug is still around but rebooting usually solves it
[Motorola Droid and Milestone General] skadude66:
In 2 and a half hours of normal use, my phone running FroyoMod 2.6 dropped to 50%..

I'm wondering if this has anything to do with the mod or the battery itself.

Any suggestions?
[Motorola Droid and Milestone General] zeppelinrox:
If it were me, I'd pay attention to the mV more than the % reading.

If it displays 50% but the mV is 4100mV, then the battery is not really dropping 50% and only dropped 10%

But if it really is draining that fast, check for apps that may not let the phone sleep.

Which memory management setting did you use?

An overactive task killer could keep killing something that just keeps restarting.
[Motorola Droid and Milestone General] Ima Goodlady:
My Droid running Liquid Gingerbread 1.42's battery lasts almost 2 days since I calibrated it. Thanks for the guide!
[Motorola Droid and Milestone General] theantilag:
thanks for the great guide
[Motorola Droid and Milestone General] zeppelinrox:
You're welcome!

So it does work flawlessly on the Droid? I wasn't 100% sure :P
[Motorola Droid and Milestone General] Ima Goodlady:
Yup! Give it a whirl!
[Motorola Droid and Milestone General] brandner:
I see, thanks zeppelinrox. It works as expected when plugged into the wall.

However, when it boots up without the battery (lock screen, no sim card, etc), it also shows a little battery indicator with a question mark on the top status bar. Once I put the battery back in place, the sim card error disappears but the battery icon stays in place. Nothing about charging, 60%, etc. It's like it doesn't see the battery at all.

I've tried a couple times both using steps 8a and 8b.

When I rebooting with the battery in it, it boots up fine and indicates the battery is fully charged.
[Motorola Droid and Milestone General] zeppelinrox:
It seems that little battery with the question mark has happened to a couple of people.

But if you have battery monitor widget installed, you can keep an eye on the log to see what's going on to see if it's charging or not.

But if it doesn't indicate mV while it's charging, what is the mV after you reboot and it shows full?
[Motorola Droid and Milestone General] Ekofasc:
I've flashed stock rom and the problem seems to have been solved. I think it began because of the overclocking of the roms I used? Haven't yet tried overclocking this stock rom... Thanks for your help!
[Motorola Droid and Milestone General] ridsama:
Thanks for the guide zeppelinrox, but I have a problem. So I charge to 100%, delete file, remove cover, reboot, before M shows I take out battery, CM7 boot animation starts going, then when it vibrates for a second, it just shuts down! It will not get pass this part if it doesn't have battery in it. I'm using CM7 11-03-27 build. Any ideas?
[Motorola Droid and Milestone General] zeppelinrox:
It should be fine if you popped the battery back in when you get the vibration.

At that point, the system is completely loaded anyway.
[Motorola Droid and Milestone General] ridsama:
Well I don't think I'm fast enough to put the battery in RIGHT after the vibrate. Would it work if I just follow OP's method when upgrading CM7 builds?
[Motorola Droid and Milestone General] zeppelinrox:
ya it should.

But it's easy to just have it ready with the top end in and when the vibrate happens, push the bottom end in.

That didn't sound dirty, did it?
[Motorola Droid and Milestone General] lfventura:
How about who has two batteries?

For example. Last week I have bought a new battery for my Milestone, but I am using the old one when I need more battery and I dont have a charger near me. Will I need to re-calibrate my cellphone everytime I swap the batteries?
[Motorola Droid and Milestone General] twixyz:
I did it the zeppelinrox way and all went well. But when I did it again, the battery started charging again from 60%. Does this mean it didn't stick? It's supposed to, right? Now every charging sequence I'm wondering if the battery really charges to 100% instead of getting stuck at 60%. Is there a way to find out? Thanks!
[Motorola Droid and Milestone General] MakeW00t:
If u have flashed another ROM u need to calibrate the battery again. If u haven't then at the second time calibrating the battery should go to 100 % pretty fast. Atleast for me it takes less than a minute if the battery has been calibrated recently. And i calibrate my battery twice a month.
[Motorola Droid and Milestone General] twixyz:
Does flashing another ROM also mean reflashing the same ROM? Because I did that in order to roll-back after I modified some settings in OR, stopping my device from booting. If it does, it's all clear. Thanks!
[Motorola Droid and Milestone General] MakeW00t:
@twixyz yes reflashing a rom counts too.
[Motorola Droid and Milestone General] twixyz:
Great, thanks a lot!
[Motorola Droid and Milestone General] kkazakov:
I would really like to know that, too.
[Motorola Droid and Milestone General] elpicard:
Thanks! I will try it...
[Motorola Droid and Milestone General] zeppelinrox:
When using 2 batteries, I think the best you can do is just delete batterystats.bin.

What I would do before swapping batteries:

Have the phone plugged in to a wall charger.

Delete batterystats.bin

Power off

Then swap batteries and do whatever.

This way, when the phone boots up with the second battery, Android isn't reading batterystats for a different battery and will create a new batterystats file (on the M logo) based on new information from the second battery.
[Motorola Droid and Milestone General] elpicard:
After the turn off procedure I got 4169 mV full charge/plug in and 4119 full charge/plug out....

its ok?
[Motorola Droid and Milestone General] zeppelinrox:
Had you left it plugged in an extra 15 minutes or so after it reached 100%?

If not, it can probably charge a bit higher.
[Motorola Droid and Milestone General] elpicard:
Yes, I let it 20 more minutes. Is also necesary to wipe battery status with FroyoMod?

is the same make the "turn off" procedure and the on the fly?
[Motorola Droid and Milestone General] zeppelinrox:
I'm not familiar with using froyomod wipe feature.

I assume it just deletes the batterstats.bin instead of you having to do it manually.

You can always just try doing it again.
[Motorola Droid and Milestone General] rrohanjs:
i switched from cm7 rc4 to stock 2.2.1 .. shud i still do battery calibration ?

is it required ?
[Motorola Droid and Milestone General] sneitzel:
For some reason, I cannot get my D1 with Liquid Gingerbread and Clockwork recovery to boot without a battery.

The M logo will flash for a second then the screen goes completely black.

If I boot into recovery, I can remove the battery then but no matter what I try it will not boot.

Could it be an issue with Clockwork?

EDIT:

Tried flashing SPRecovery and same thing there.

Just thought of something, I am using an aftermarket/cheap charger and cable.

Maybe it's picky....

Will try with the real one when I get home.
[Motorola Droid and Milestone General] sneitzel:
It is picky.

Tried this process with the original Moto branded wall charger/cable and it worked like a charm.

Thanks for this info.
[Motorola Droid and Milestone General] zeppelinrox:
That is interesting indeed...
[Motorola Droid and Milestone General] stretchwookie:
im searched the thread to see if anyone else had posted this, didnt see anything, so im sorry if i misread. i just found a SUPER handy battery calibration app on the market that does the same thing for all 2.1+ rooted phones. Its called Battery Calibration, by NeMa, and its free. it even makes a unique lil noise once your battery hits 100% so you know when to press 'calibrate'. again, sorry if i bumped an old topic... kinda got linked here from the V6 supercharge forum. :-D
[Motorola Droid and Milestone General] zeppelinrox:
It doesn't do the same thing.

All that does is delete batterystats.bin (step 2)

rm /data/system/batterystats.bin

That's it.

It does nothing special.

You still have to do everything else.

There is nothing regarding bump charging and originally it didn't even take into account mV.

Only after I posted about it did the author decide to use mV.

Basically, its for people that basically know nothing about calibration.

Battery monitor widget can now delete the file and has alarms for low battery, full battery, etc.

So use BMW for anything battery related
[Motorola Droid and Milestone General] aman2701:
:confused: my XT720 is stuck on 5% level.

when i connect the charger LEDs lit up for few minutes,it turns on

battery widget shows 5%,but in notification area "?" only.

if i turn off the screen and connect the charger again it wont show any sign of getting connected and few minutes later it turns off .

When the battery de-calibrated it was on 40 %.

it never gets charged up above 5% how to reach 100%.M stuck on this for last 3 days.:o

http://xdaforums.com/showthread.php?t=1156692
[Motorola Droid and Milestone General] zeppelinrox:
3 days?

You don't specify whether you tried the no battery boot method.
[Motorola Droid and Milestone General] aman2701:
it goes off.no battery boot method not working with me...

but one thing i am not getting is that it shows connect your charger even when i have plugged it.
[Motorola Droid and Milestone General] zeppelinrox:
You most likely need to flash an sbf.

One time all I would get was M logo when pluggin in the phone without a battery instead of getting the big empty ? battery icon.

sbf fixed it for me
[Motorola Droid and Milestone General] aman2701:
Thats what i am gonna do....but battery charge is not sufficient for flashing.i need to get a standalone battery charger to charge it to full and flash.

When phone boots up battery widget shows 5% but notifiaction status "?" and it it behaves like charger is pulled out, does this mean that this is not a hardware problem.charging battery to full and then flash sbf will solve it?
[Motorola Droid and Milestone General] zeppelinrox:
Not sure.

Best way to know is to look at mV.

So bootloader mode says that the batter is too low I assume.

You can see if you can get your hands on another battery if you can't get a stand alone charger
[Motorola Droid and Milestone General] aman2701:
yes bootloader says battery low cannot program.

For sure battery is charging up..thats why it is booting.and usb is working fine it connects to pc in mass storage mode.

the only problem is that the phone is not detecting the charger plugged in after booting up.

got myself a standalone charger, will now charge the battery full and flash.

Update

I charged the battery and flashed stock sbf .the problem is still there ."?" in battery status.

In Setting>about phone>status

Battery Status: Unknown

Battery level: 40%

:confused:
[Motorola Droid and Milestone General] aman2701:
Any solution for this :confused: ????
[Motorola Droid and Milestone General] zeppelinrox:
Not sure.

What are the mV like?

I suggest using Battery Monitor Widget.

As a bonus, the dev has a thread in android apps for it.

I link to it in my tutorial.

He would be more helpful than most people, that's for sure.
[Motorola Droid and Milestone General] aman2701:
I am using BMW.

it shows AC plugged/unplugged.mV variates from 3700-378*

but even half an hour later the battery level remains same(80% charged thru standalone charger).

after flashing sbf it dint work.then i again rooted the phone and deleted batterystats and straight away landed into bootloader and flashed again.

to my surprise i still had contacts in my phone.flashing sbf dint wipe them.:confused:

i doesnt seems like a h/w prob to me because the battery charged when it was dead and i connected the charger/usb to my phone.after it boots up it doesent notice the charger connected to it.

UPDATE

Gave it to Moto Service Cent.,motherboard will be changed under warranty.
[Motorola Droid and Milestone General] bstylz911:
so does this even work or does it just mess up your phone?
[Motorola Droid and Milestone General] projectzro:
please i need help

ok this is really starting to piss me the hell off. for the life of me i cant get the damn phone to charge the battery while off. i have tried to unplug it turn it off then plug it back in, i have tried to just turn it off while still plugged in, i have tried to even pull the battery turn it off and plug it back in without the battery to get the no battery error and just put the battery in that way, but EVERYTHING i try just boots back into the OS even without the battery in. it wont even give me the battery missing error it just boots.

on on the Motorola Droid with CM7 RC1 with bootloader 2C.6C

i really need help before i shoot this phone acros the room

BTW i know the battery is fine because i was running CM6 yesterday with a 2 day battery life using SetCPU and only half a day with CM7 using the same SetCPU settings
[Motorola Droid and Milestone General] deejaylobo:
Anyone have any idea on getting this method to work on a Nexus S?
[Motorola Droid and Milestone General] taklemamo:
I cant find batterystats.bin please help!
[Motorola Droid and Milestone General] Brotrinde:
Me neither - never found the stats :(

Calibrating the "new" battery bricked it totally though... :mad:
[Motorola Droid and Milestone General] :
/data/system folder.
[Motorola Droid and Milestone General] Kevin M:
I'm getting "Invalid Battery" when I boot up via Zep's method on my Droid X2. Is this normal? It claims that the battery won't charge because of this, yet I still see the charging battery indicator. It seems "stuck" at 60%.

EDIT: Left it for a few hours. Came back and it was still at 60%

EDIT 2: Finally turned it off and back on. Working fine. I'm guessing it worked.
[Motorola Droid and Milestone General] wicked_beav:
Has anyone been able to confirm whether or not this works for the Motorola Atrix 4G? I've tried a couple of times and have been unsuccessful.
[Motorola Droid and Milestone General] jukyO:
Thanks, believe it works for some phones, but for Desire, it does not. When pulling the battery after screen goes black on reboot, led starts blinking green and orange.
[Motorola Droid and Milestone General] thangbom:
This is very interesting, but I am using a Samsung Galaxy Tab, which the battery cannot be removed manually (the back cover is not removable). How can I do this? Thanks, and hope that you might be able to provide another cool trick.
[Motorola Droid and Milestone General] Moserik:
This calibration work on HTC Sensation ?

I'm on rom insertcoin 2.3.1
[Motorola Droid and Milestone General] roofrider:
@zep

doesnt seem to work on samsung galaxy mini.

charged to 100% and waited for 15min or so,deleted the batterystats,rebooted,removed battery. Dint bootup :(

inserted the battery and show a battery icon that was full (100% charge i guess)

U know any other method??

also in clockworkmod recovery there is an option 'wipe battery stats' it does the same thing??
[Motorola Droid and Milestone General] Dexter_prog:
None of these methods work with Sony Ericsson Xperia X8. The phone won't boot or turn on without the battery. So don't waste your time if you have this phone.
[Motorola Droid and Milestone General] Labradoodle:
I've been trying this out on my Milestone with MIUI during the past hour without success. After deleting batterystats.bin I reboot and remove the battery after the phone turns fully off but before it starts up again and it still powers on without problems, however when it gets to the MIUI boot animation it powers off automatically before I get the haptic feedback and the row of buttons lights up.

Does anybody have any idea what may be the problem? I also tried putting in the battery before it powered off without getting the feedback and it managed to boot up, but in emergency mode and without getting a proper read on the battery.
[Motorola Droid and Milestone General] zeppelinrox:
It's not supposed to get a proper read on the battery right away.

Do the same as you did last time and just leave the battery in and charging.
[Motorola Droid and Milestone General] lord_neo:
Batterystats.bin hidden!!

I tried zepplinrox's method for battery calibration..

I am running Cyanaogen mod 6.

I could not find the batterystats.bin file at the path

/data/system/batterystats.bin

Actually my data folder was showing empty(using astro and default file manager).

So i booted into recovery and went to console and deleted it from there.

At console:

-->cd data/system

-->ls

(to list all the files the file was there)

-->rm batterystats.bin

Was able to delete the file and then proceeded with the rest of the steps.

All of it worked fine..

Thanks @zepplinrox.

In case other people face an issue where they cant see the batterystats file you can include these steps in your post.
[Motorola Droid and Milestone General] CaptainYesterday:
I'm running CM7 on my milestone and have tried this multiple times with no luck. When I pull out the battery, it just doesn't reboot.

Anyone else have this problem.

I am deleting the file using root explorer.
[Motorola Droid and Milestone General] Dexter_prog:
Same thing happens to me on a SE X8.
[Motorola Droid and Milestone General] h4uw1n3:
Zeppelinrox, what will happen, when i have 2 battery with different Capacity? will it give me a bad result after doing this calibration and exchange my battery?
[Motorola Droid and Milestone General] zeppelinrox:
You have a problem with a boot file.

Do you get the big battery ? screen with the phone off and plugged in without a battery?

If not, flashing an sbf will fix it.

I suggest the small vulnerable supplied by kabaldan on his page. Just check his CM7 OP.

I think it would be pointless to do a regular calibration in this case.

I think the best bet, when changing batteries, is to delete battery stats, do a no battery boot and pop in the new one...

At least Android will get information from the battery on boot instead of the batterystat file.
[Motorola Droid and Milestone General] evilbarcode:
Just incase anyone was wondering, this does not work on Sony Ericsson Xperia x10 Mini Pro. Phone would not boot without batter. But it helped me delete batterystats.bin and create a new one on boot to i guess calibrate my battery as much as i can.

Cheers for the walkthrough,

Evil.
[Motorola Droid and Milestone General] zeppelinrox:
You're welcome.

I intend on adding calibration to SuperCharger... ;)
[Motorola Droid and Milestone General] droidcharge:
Would love to try this but I got lost at this

Delete /data/system/batterystats.bin

I cant find batterystats.bin anywhere in my sd card but it does show when going into CWM when I go there, I went into my sdcard under data It only shows one file. I've looked everywhere. should I just go into cwm and wipe from there, will I get the same results.. I just cant find it anywhere.
[Motorola Droid and Milestone General] n3n00:
Use root explorer.
[Motorola Droid and Milestone General] droidcharge:
Is there a free version 3.99 just to just explore your files seems to pricy to me, got to be some other app that will do the same for free.
[Motorola Droid and Milestone General] theantilag:
File expert has root exploration for free. Though root explorer is the best
[Motorola Droid and Milestone General] zeppelinrox:
Umm... forgot to post the newest test script here...

Die-Hard Battery Calibrator :D

http://xdaforums.com/showpost.php?p=18703418&postcount=5021

You can use no battery boot with it but you can actually put the battery back in as soon as you see the animation: )

I should make my own updated thread: p
[Motorola Droid and Milestone General] fabricaque:
Search for Rom Toolbox in the market. It has root explorer built in.
[Motorola Droid and Milestone General] zeppelinrox:
I forgot to mention Script Manager has a vety good built in root explorer
[Motorola Droid and Milestone General] unseenvision:
This method works great for me. Usually a lot more successful than apps like Battery Calibration
[Motorola Droid and Milestone General] stlfrosti:
Used this method with my EVO, but with a bit of a twist:

First of all the EVO would not do this if plugged into the computer, I had to use the direct pluggin AC charger, and even then my phone would not boot itself without the battery in...

So what I did was charge to 100%, deleted the file, reboot, and removed the battery the split second I felt the 'haptic vibration'... waited about 10 seconds and put it back in, the phone picked up right where it left off and booted to 83% battery, I continued to charge to 100% and got GREAT readings like Zep did on Battery Monitor Widget.

So I don't know if I'm violating anything here but that's how it worked for my EVO and a 3500 Seidio battery. (rooted with warm2.2 and a few other tweaks)
[Motorola Droid and Milestone General] zeppelinrox:
Heh... awesome :)

Try my new die hard battery calibrator script.

I added NOBOL suggestion to it.

It turns out that the stats file is created on the logo so if you put the battery back in as soon as the animation starts its all good.

So I called it NO Battery On Logo :)
[Motorola Droid and Milestone General] stlfrosti:
shoot me a link to it and I will...

BTW Zep, off topic, I have no idea what values on the SuperCharger script I'm suppose to be entering? at the 1-17...
[Motorola Droid and Milestone General] zeppelinrox:
Zep's Latest 'n Greatest Scripts...http://xdaforums.com/showpost.php?p=18703418&postcount=5021

lol

U9RC4 makes recommendations ;)
[Motorola Droid and Milestone General] xlGmanlx:
stupid question advanced warning- this is not part of the V6supercharger? I have an ET4G (Sprints GS II) and i don't believe the battery pull reboot method works, if it does i didn't get it to work. So I would open script manager and run this additional script as well?