yashsingh1/xdaforums huggingface dataset:
[Motorola Droid and Milestone General] m4570d0n:
I still don't understand why you have a script that deletes batterystats.bin. This has ZERO effect battery life or battery calibration. That was a total myth, which was definitively debunked awhile ago by someone that's an Android Framework Engineer at Google.

http://xdaforums.com/showthread.php?t=1444668

https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT
[Motorola Droid and Milestone General] zeppelinrox:
Welcome to how many years ago

From the OP of my thread.

http://goo.gl/qM6yR

Bite me.
[Motorola Droid and Milestone General] adyo13:
Changing owner/group for the files: "batt_offset_data", "batt_phasing_data" and "batt_tuning_data", in pds/public/battd folder, from 1000 system to 2000 shell, allowed me to charge to 4196 mV. Before, the max was 4158 mV. I hope this will help someone who needs to calibrate the battery, to reach a bigger voltage.
[Motorola Droid and Milestone General] frozenwaverider:
I can verify this works!

Went from 100% 4164mV to 4200mV, that has got to help ;)

MB525 Red lense
[Motorola Droid and Milestone General] ipaq_101:
Couple of questions:

How does battery calibration work when you are swapping batteries?

Does this mean that each time another battery is used, we have to re-calibrate?
[Motorola Droid and Milestone General] frozenwaverider:
Try this it works for bigger batteries(more than 1500 mah)

Or if you can't do a full charge

http://xdaforums.com/showthread.php?p=8

MB525 Red lense
[Motorola Droid and Milestone General] error404:
Hey, my phone don't reboot without battery, better use the die-hard?
[Motorola Droid and Milestone General] Alex0912:
I have triead all kind of battery calibrations on my milestone and nothing helped, I use app to monitor voltage, and every time when I charge battery

at 100% voltage vas 4207mV, I have check it with multimeter and its ock.

After i dissconect phone from charger i get voltage drop to 40XXmV.

battery indicator is at 90%.

When voltage drops to 3.7V battery indicator shows 5%, and red led is powered on. battery lasted barely 12hours, and its brand new original. its the same with the old original 2yers old, and new copy.

Its like all batteryes have the same capacity, no matter the new one or the old one.

For the test i connect 2 batteries in paralell, and I use them on the phone without battery cover.

Batteries was charged each separately, and than i conect them in paralel and put in the phone.

Phone worked with 2 batteries in paralell (1390mA*2) more than 3 days, usage vas the same, like before.

Than I charged it with phone and I get 12 hour of use again.

Phone just cant charge battery like it suposed to, so now I will try to recharge battery with diy charger outside phone, and than test the battery.
[Motorola Droid and Milestone General] mcdevtingz:
Get a new phone lol
[Motorola Droid and Milestone General] g.man.7489:
how about ION, battery is sticked devices inside
[Motorola Droid and Milestone General] zeppelinrox:
Perhaps use a crowbar or hammer to get it out.

Let me know how that goes.
[Motorola Droid and Milestone General] aby_987:
Thanks

Thanks, helped me calibrate my milestone's battery
[Motorola Droid and Milestone General] Bonaz93:
how to delete my failish message lol
[Motorola Droid and Milestone General] Lord AJ:
Use smanager free. Not only does it allow root exploring but also lets u run scripts. Recommended highly by me.
[Motorola Droid and Milestone General] moto_g_:
Every app for battery calibration is useless. The only thing done from these apps is delete a single file. They are useless
[Motorola Droid and Milestone General] jukyO:
Except Battery Calibrator for N1. And it is valid for Desire.

https://play.google.com/store/apps/details?id=net.jonrichards.batterycalibrator.ui

Nothing similar for other phones.
[Motorola Droid and Milestone General] ALTAMAS:
I have moto e.

I have cleared battary stats by calibration app.

Problem still presist.

Whem i charge my phone the bttery level jump from 60 to 100 and when i use it and come to 40% it directly jump to 0% and shutdown. So now what can i do to resolve this problem....?
[Motorola Droid and Milestone General] erri33:
like my moto e rooted battery fake , have find solutions ?? ty
[Motorola Droid and Milestone General] zeppelinrox:
Oh right... like I have 2 weeks to calibrate a battery.

I can't be sure if the MS2 would boot without the battery. It's worth a try.

If it works, it would work that that quick boot app.

On the milestone I have, it can be done even if it's powered off to start with.

Pop the battery in, power on and when the screen gets some power or even if you wait until the M logo show ups, take the battery out.

(Edit: Reminder - this is done with the phone plugged in)

I found that batterystats.bin gets created on the boot even if there is no battery so it shouldn't matter that the battery is in the phone just to get it going.
[Motorola Droid and Milestone General] Al_8:
Just did the trick you brought us zeppelinrox, but the battery got REALLY fast from 60 to 100% after the reboot (like 5-10 minutes) so i'm kind of sceptical about the calibration ... !

Greetings from France!
[Motorola Droid and Milestone General] WongJames:
Thanks a lot :)

I would try that when I back home.

Milestone2 drains battery so fast when data connection is on ~__~
[Motorola Droid and Milestone General] zeppelinrox:
That will happen after a normal charge if the battery was already calibrated correctly.

To be sure, check the mV.
[Motorola Droid and Milestone General] nickrule1896:
I've edited the post, any things that i might have missed out?
[Motorola Droid and Milestone General] zeppelinrox:
Cool. I'm curious to see if the magic boot works on other phones lol

It seems to be all there :)

Though linking to my post would be easier... such a long first post may make people go :eek:

heh
[Motorola Droid and Milestone General] WongJames:
MS2 cannot made it through reboot

but the phone did boot up without battery when i boot manually and remove it when M logo shows up

I get into the lock screen and the battery is start charging with 60%

but the problem is the phone cannot get signal, showing "emergency only":confused: and it said the SIM card is not valid @__@

maybe i will wait until the battery is fully charge and reboot again

**update : the battery is full in about 15 minutes, suddenly rise to 100% from 62%, is this normal?
[Motorola Droid and Milestone General] nickrule1896:
sry zepp, but how do i make ur post into a link so everyone can view it as a webpage? I'm quite noob at forums...so yea Thx :)
[Motorola Droid and Milestone General] nickrule1896:
I am not so sure abt MS2, but ur case seems to be similar to ours if u look at step 5 of the first method. So, it should be normal. But note that i am not responsible for anything that happens to ur phone, cos i dun own a MS2 and what we do with our MS might not be compatible with the MS2.
[Motorola Droid and Milestone General] WongJames:
thanks man:)

I calibrate again using the first method, and the charging light goes out in about 15 minutes again. I think it should be ok:)

If the battery still drains so fast, then it should be the problem of MS2 (motoblur:mad: )
[Motorola Droid and Milestone General] zeppelinrox:
http://xdaforums.com/showpost.php?p=11803458&postcount=10 :)

Hey it looks like it actually works.

When you get that SIM card error and no signal, just put the battery back in and use your phone.

That behaviour would be normal if your battery was not seriously out of calibration. But to be certain, check the mV level with battery monitor widget or another tool that will tell you that information.

I will edit my post to say that other phones may be able to use this trick.
[Motorola Droid and Milestone General] njmata:
THX . My battery is rejuvenated since I apply this calibration.
[Motorola Droid and Milestone General] Ubermicro13:
@zeppelinrox

I'm using a Motorola Droid (not sure if your tutorial was made using a Milestone) and when I am booting up without a battery something odd happens. I still have service and it says that my battery is at 5% and must be charged. But my battery icon on the status bar shows a question mark. I think its safe to assume that you were using a Milestone due to the fact that the Droid is CDMA only, and therefor does not use a SIM card.

Any help would be greatly appreciated, but their might be nothing that can be done since they are different phones.
[Motorola Droid and Milestone General] WongJames:
Yup I did put my battery back. It starts charging but still fail to get any signal. I try to manually register on my carrier and it said my SIM card is not valid. I think it is the motoblur security service lock it up.

After reboot my phone works normally :)
[Motorola Droid and Milestone General] zeppelinrox:
Yes I have a Milestone.

At what point did you put the battery back in?

If you put it in and the status bar battery question mark doesn't change, you can reboot and try again. It may work the second time.

I forgot that it actually happened to me too once that I put the battery in and the battery icon remained a question mark. I did the shift alt delete reboot and then the trick worked like it usually does.

I suppose motoblur could be the culprit in that case. I'd try again and see if it acts differently.
[Motorola Droid and Milestone General] Ubermicro13:
@zeppelinrox

Sorry I was very tired when I wrote that reply and forgot to finish it lol. What happens when I put the battery in is the phone will actually reboot almost instantly after I put it in. I guess it might just not be do-able for the Droid. Thanks though.
[Motorola Droid and Milestone General] joscos:
My battery alway show "?". After I remove the battery my phone not bootup. Try shift+alt+del with battery in not working also.. Help..
[Motorola Droid and Milestone General] illi4:
I have the same issue - if i remove battery, it doesn't boot up, even if i press shift+alt+del and remove it after M logo appears. Could you please advice? I am using cyanogenmod 6.

Thank you.
[Motorola Droid and Milestone General] Ubermicro13:
@zellepinrox

After a few more tries I was able to get it to not instantly reboot. And now it is charging from 60% like you said. I guess the only difference is instead of a "No SIM card" error it just says its charging a battery at 5%.
[Motorola Droid and Milestone General] zeppelinrox:
My apologies.

It seems that you have to power it off and power it on again for it to work.

So when you see the ? and put the battery in, you will see the 60%.

Press the power button until it powers off - the led light will go out.

Press the power button again until you see the M logo.

Remove battery... and watch bootanimation...

I was fiddling around some more and that actually happened to me today.

I think it was because the phone was running hot.

Mine doesn't show the 5%, just that the battery is charging....

So... on Droid, does it work?

(Doid does... heh)

I forgot to ask... did it actually work?

I had similar behavior today.

Again, it was probably because the phone was running hot at the time.

Edit: I tweaked the tutorial. Inserted the power off and power on steps instead of shift alt delete. Also, it turns out that batterystats.bin is created when you see the M logo.

You can boot into open recovery without the battery lol.

I had deleted batterystats.bin, booted into open recovery without the battery, opened up the console, and saw that there was a new batterystats.bin
[Motorola Droid and Milestone General] bsh14:
Buttery

I need to do the same processe avery time I charge my buttery ???
[Motorola Droid and Milestone General] zeppelinrox:
No not at all.

Once it's calibrated, just charge it as you normally would.

I would do whenever I change ROMs though.
[Motorola Droid and Milestone General] zeppelinrox:
I've updated/tweaked my tutorial.

The main thing is you can pop the battery in before seeing the lock screen.

Actually, the lock screen is already there, but hidden behind the animation.
[Motorola Droid and Milestone General] o2xygen:
flashing a new update zip of the same ROM wouldnt need this procedure again, since /data/ isnt erased???

cheers mate
[Motorola Droid and Milestone General] zeppelinrox:
Well, if you charge it up and you can reach ~4230mV while it's still plugged in, then you're all good
[Motorola Droid and Milestone General] mcdevtingz:
where is batterystats.bin??
[Motorola Droid and Milestone General] zeppelinrox:
It's in the OP... Step 1 lol

But I guess that maybe you didn't read the OP and read my tutorial instead.

I've updated it.... it's in data/system
[Motorola Droid and Milestone General] Quintasan:
Strange, my wont charge past 4196 mV somehow. I am doing everything as told on zeppelins tutorial but it just wont go past it, any idea?

Yeah, also, zeppelin can you upload your 10overclock? I want to check if I formatted mine properlly before I reboot
[Motorola Droid and Milestone General] mcdevtingz:
Saaammme
[Motorola Droid and Milestone General] zeppelinrox:
Is that with it still plugged in or after you unplug it?

And how long extra do you leave it plugged in?

#!/system/bin/sh

insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/overclock.ko

echo 64 > /proc/overclock/max_vsel
echo 1100000 > /proc/overclock/max_rate
echo "1 800000" > /proc/overclock/freq_table
echo "4 800000000 44" > /proc/overclock/mpu_opps
echo "2 500000" > /proc/overclock/freq_table
echo "3 500000000 33" > /proc/overclock/mpu_opps
echo "3 250000" > /proc/overclock/freq_table
echo "2 250000000 22" > /proc/overclock/mpu_opps

insmod /system/lib/modules/cpufreq_stats.ko
insmod /system/lib/modules/cpufreq_smartass.ko

This is 10overclock from CM612

#!/system/bin/sh
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/overclock.ko

echo 60 > /proc/overclock/max_vsel
echo 900000 > /proc/overclock/max_rate

#echo "5 900000000 60" > /proc/overclock/mpu_opps
echo "4 700000000 49" > /proc/overclock/mpu_opps
echo "3 500000000 44" > /proc/overclock/mpu_opps
echo "2 250000000 33" > /proc/overclock/mpu_opps
#echo "1 125000000 32" > /proc/overclock/mpu_opps

#echo "0 900000" > /proc/overclock/freq_table
echo "1 700000" > /proc/overclock/freq_table
echo "2 500000" > /proc/overclock/freq_table
echo "3 250000" > /proc/overclock/freq_table

insmod /system/lib/modules/cpufreq_stats.ko

insmod /system/lib/modules/cpufreq_interactive.ko
insmod /system/lib/modules/cpufreq_smartass.ko
insmod /system/lib/modules/cpufreq_conservative.ko

echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

#echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
#echo 125000 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/sampling_rate
#echo 25 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/freq_step
[Motorola Droid and Milestone General] Quintasan:
I did the no battery boot, inserted the battery on 23:00 and it is 23:28 now and it says battery is at 100% with 4194mV (it is still plugged it)

EDIT @22:49

Now I did a normal reboot (w/ battery inside) while STILL plugged in and now it is at 4225mV
[Motorola Droid and Milestone General] mcdevtingz:
Same
[Motorola Droid and Milestone General] zeppelinrox:
That sounds okay to me.

I guess it was almost charged full if it only took 8 minutes to get to 4194mV

But during the calibration process, leave plugged in about 15 minutes after it passes 4200mV or says 100%
[Motorola Droid and Milestone General] RobyMax1:
I can't delete batterystats.bin file. The system says that it is used by another application.

What's wrong?
[Motorola Droid and Milestone General] zeppelinrox:
Which explorer do you use?

Try ES Explorer or super manager
[Motorola Droid and Milestone General] omgsy:
For that step, when it says put the battery back in during the boot animation, when is that? STEP 8. a) says put the battery back in after you see no SIM card error and no signal. Doesn't this mean the phone is booted up completely?

OR do you put the battery back in after STEP 6? when the phone is rebooted without the battery.
[Motorola Droid and Milestone General] flypigy:
will give this a try, thx!
[Motorola Droid and Milestone General] zeppelinrox:
Actually, you can put the battery back in anytime after you get the haptic feedback during the bootanimation.

You can put it in when the bottom lights come on, or your can wait and see the lock screen (so you can see what's going on.)

I'd imagine people would want to see the lock screen so they can see if it's working.

Edit: Ok I tweaked the tutorial a bit to make it more clear.

It now reads:
[Motorola Droid and Milestone General] Aoi_sora9x:
Hi guys

i just have this question that I really cannot find the answer anywhere

ok, so i did the calibration trick, and it works fine, ok.

but then the next time I charge, the battery reverse back prior to the calibration, i.e. the first time I calibrate it goes to truly 100%, but the subsequent time will be 60% but the phone says 100%.

Does it mean i have to calibrate the battery everytime I want to charge it to full capacity? :(

and it happens to all the Roms I flash, no matter whether I calibrate before flashing or not.

Anyway to make the battery always charge to true 100% capacity?
[Motorola Droid and Milestone General] winettou:
U dont have to calibrate it every time u just make it ALWASY with new ROM. To be sure its always full harged u can try it every coulpe of weeks.

Deleiting file baterystats.bin is for leting u phone make new file where he put max volatge that says 100% and voltage for death
[Motorola Droid and Milestone General] chopitol:
thx very thx
[Motorola Droid and Milestone General] 4tticuz:
Doesnt work for me!

Maybe I'm doing something wrong?

I'm charging my Milestone -100%, remove the cover and delete the file.

After long pressing and shutting down, I removed the battery, but then nothing happens anymore. I'm waiting more then 7min now... no ? and no reboot.

Do you have an idea?

Thanks!
[Motorola Droid and Milestone General] zeppelinrox:
With the phone plugged in and no battery, you should at least see the big battery charging screen with the ? inside the battery.

If you get that, start at step 7
[Motorola Droid and Milestone General] 4tticuz:
I guess its not working... weird!

The phone is plugged in, no battery inside.

Nothing happens, a black screen for more than 7 mins...
[Motorola Droid and Milestone General] zeppelinrox:
Well... that's not right at all :P

The plug didn't come out of the wall, right? heh
[Motorola Droid and Milestone General] 4tticuz:
Phone is plugged in charger, which is in the wall ;)

I didnt charger via USB
[Motorola Droid and Milestone General] giugiu:
Ciao zeppelinrox,

thank you for your guide - helped a lot!

I have some questions / issues:

1. I get only 4220 mV at 60% and 4207 mV at 100% - i did the procedure like 6-7 times, that's max values i get. That happened w/ CM7 and still happens with FroyoMod 2.6. I get 4149 after unplugging from power. Do you think it's hardware (battery) problem?

2. WIth CM7 I had an annoying "bug" - battery going from 50% to 20% in a little time even after following your guide. Then battery went to 5% and stayed there for half a day... I've installed froyomod 2.6 from luca, I will check if it happens with a froyo-based rom.

During the next days I will monitor the situation and I will eventually post some screenshots of battery widget.

Thank you,

regards

G.
[Motorola Droid and Milestone General] zeppelinrox:
Hello you're welcome :)

1. Do you leave plugged in a little extra after it reads 100%?

I like to use battery monitor widget because when open it up and click "View History", I can see how long it's been sitting at 100% and how many mV.

So if you left it for awhile and it's showing 100% and 4207mv without changing, then that's probably as good as it's going to get.

2. Too many times, the % showing isn't very accurate. I leave the mV showing on the battery widget so I can get a more accurate idea of how much % is left.

It's easy to figure out because there is 1000mV difference between full (4200) and empty (3200).

So I know that if it shows 3800 it's about 60% (3800-3200=600/1000% OR 600/10) even if tells me 50 or 70%.

To make it even easier, what I really do is I just do 8-2 and add a 0. 60 heh
[Motorola Droid and Milestone General] ManCloud:
Let's think about it...

You "Shut down" the phone and removed the battery.... right?

But the order was to "reboot" the phone...

if you dont have this option in your power menu:

get a reboot app from the market or a terminal emulator...

if using the terminal type: "sudo reboot"

or

first command: su

second command: reboot

and NOW your phone is rebooting...

if the display is totally black... no backlight or else... you can take out the battery... an trust me... it's working...

Greets
[Motorola Droid and Milestone General] skadude66:
Do you need to recalibrate every time that you reboot the phone(when batterystats.bin gets recreated). Does batterystats.bin get recreated/modified when you plug the phone in to charge?
[Motorola Droid and Milestone General] zeppelinrox:
Batterystats.bin only gets recreated if it gets deleted, otherwise it just keeps updating.

So after calibration, don't worry about it ;)

Tho calibration should be done whenever you change your rom or if it's never been done at all.
[Motorola Droid and Milestone General] skadude66:
What kind of battery life should I be getting? Yesterday around 1am I calibrated it, then went to bed with it plugged in and when I unplugged it, it lasted 2 and a half hours at 100%. This morning after unplugging it(I charge it when I sleep, every day), it was going down at a rate of about 10% per hour..

Any idea why this might be happening? My usage of the phone is about the same in both cases.
[Motorola Droid and Milestone General] zeppelinrox:
Depending on your kernel, there may the usb bug kicking in where the phone doesn't sleep at all.

If you have spare parts, you can check this

Or you can dial #*#*4636#*#* and check battery history.

In the even that it's running 100% of the time, it's a good idea to reboot after charging. That usually fixes it.
[Motorola Droid and Milestone General] skadude66:
I'm not exactly sure how to use Spare Parts, but I don't see anything about a usb bug..

From 7:15am-1:45pm, my battery went from fully charged to 20%.. That's over 10% per hour! :O

I tried dialing #*#*4636#*#*, but I wasn't able to access it.

I am running FroyoMod 2.6.0, with Kernel Version: 2.6.32.9-g11068ed w21529@il93lnxebld12 #1
[Motorola Droid and Milestone General] zeppelinrox:
oops.. it's *#*#4636#*#* :o
[Motorola Droid and Milestone General] skadude66:
I just tried using FroyoMod's battery calibration, we'll see how that goes!
[Motorola Droid and Milestone General] Ekofasc:
Hi,

You seem familiar with batteries and calibration. I'm having some major problems. Please have a look at this.

From 100 % to 70 %, I used it to stream music using Spotify in the car, or kept it untouched in my pocket. Lit the screen a few times to change songs.

From 70 % to 20 %, I sent some text messages, tweeted, surfed a little bit. Not much at all, but the level just plummeted.

The voltage goes up and down.

After it plummeted to 5 %, I rebooted the phone and then it showed 50 %. Didn't plug in the charger at all.

Played a bit with Vignette and uploaded some photos to Dropbox. Plummeted from 40 % to 20 %.

So it seems the phone sometimes "believes" that the battery level plummets, when I keep the screen on longer than for a few seconds.

I've tried calibrating in various ways, I've tried replacing the batterystats.bin by that of the user sileshn on this forum. After using his batterystats.bin, it seems I don't get this behaviour all the time like I used to, but still often.

I even returned the phone and I believe they gave me a completely new one (except for the back cover and battery). After receiving it I immediately flashed a ROM again. But before returning the phone I tried flashing it back to stock and still had the problem.

Curious if you can make some sense out of this. I'm going to try with a pirate battery next week, but that didn't help when I tried earlier, before I got sileshn's batterystats.bin, so I'm not so sure it will do the trick now either.