After flashing Odin several times (through trial and error) i noticed that my battery depletes or empties allot faster than before.
after doing some research it became apparent that the phone is not displaying the correct battery level. To solve this i had to wipe the battery stats after fully discharging and fully charging it to show the correct battery levels.
You can use any battery intensive applications to discharge the battery, after which you should fully charge it till you get a message telling you that the battery is full.
then run the following commands
su
rm /data/system/batterystats.bin
that should fix the incorrect battery meter although i wish we had a good custom recovery like HTC Other devices....
Enjoy
Hi i have also noticed yesterday that when my phone was charged to 100% i did not get the remove charger message. Could you please provide a step by step method to how you should go about correctly recalibrating the battery. This would be much appreciated. Thanks
n646464 said:
After flashing Odin several times (through trial and error) i noticed that my battery depletes or empties allot faster than before.
after doing some research it became apparent that the phone is not displaying the correct battery level. To solve this i had to wipe the battery stats after fully discharging and fully charging it to show the correct battery levels.
You can use any battery intensive applications to discharge the battery, after which you should fully charge it till you get a message telling you that the battery is full.
then run the following commands
su
rm /data/system/batterystats.bin
that should fix the incorrect battery meter although i wish we had a good custom recovery like HTC Other devices....
Enjoy
Click to expand...
Click to collapse
Sent from my GT-I9000 using XDA App
I did this hack today. Lets see how we get on
Its my 3rd recharge after flashing and i get opposite problem now. 27h since charging, with 3h display on and battery level is 100%
LOL
LOL the result was even easier than i thought.
I drained the battery down to 5%, plugged in the phone and can the command as in the first post. Turned the phone off than on again and when turned on instead of showing 4% (to be exact) it showed 23%. So i just gained 19% of my battery back. Woo
Is it necessary to totaly discharge the device till it turns off ?! So i did, then charged it to 100 % , turned the device on and immediately typed the command's into the shell, but nothing seemed to happen . Did i do anything wrong ?!
bratfink said:
Hi i have also noticed yesterday that when my phone was charged to 100% i did not get the remove charger message. Could you please provide a step by step method to how you should go about correctly recalibrating the battery. This would be much appreciated. Thanks
Click to expand...
Click to collapse
Ok so here is the instructions step by step
1) Charge the battery to full till you get the full battery message
2) Use the phone till it is totally empty (stops turning on)
3)Charge again to full till you get the message again
4) Download and install a terminal shell application from the market
5) Enter the following "su" press enter
6) Enter the following "rm /data/system/batterystats.bin" press enter
Best to Preform steps 4-6 while in charger
Enjoy
Thank you very very much
What is a good app to run to drain a battery quickly ?
Kilack said:
What is a good app to run to drain a battery quickly ?
Click to expand...
Click to collapse
There is an app forgot what it is called though. but it did not work i just turned on all the hardware that was faster
Last Question: When charging the device, should it be turned on or off ?!
TommyBeretta said:
Last Question: When charging the device, should it be turned on or off ?!
Click to expand...
Click to collapse
I did mine when it was on i do not believe there could be a difference
ok, thx again, i think it works now
Thanks for starting this topic . Because today I noticed that for hours after I unplugged it, it did not use any power on the battery graph. Aka, it looks like it thinks it's a lot fuller by default.
thanks for the info, but does it need to be rooted to complete these steps?
Waky said:
thanks for the info, but does it need to be rooted to complete these steps?
Click to expand...
Click to collapse
yes, rooted! only rooted u get access to this path.
Very anxious to try this! It really feels like my battery sucks balls!
Thanks for the tip
Edit: I just tried it, with my battery at 47% because I have no patience at all.. Nothing seems to have changed though, battery was still at 47%
n646464 said:
Ok so here is the instructions step by step
1) Charge the battery to full till you get the full battery message
2) Use the phone till it is totally empty (stops turning on)
3)Charge again to full till you get the message again
4) Download and install a terminal shell application from the market
5) Enter the following "su" press enter
6) Enter the following "rm /data/system/batterystats.bin" press enter
Best to Preform steps 4-6 while in charger
Enjoy
Click to expand...
Click to collapse
Do you have to root the phone to install a terminal shell? thanks.
omzart said:
Do you have to root the phone to install a terminal shell? thanks.
Click to expand...
Click to collapse
I don't think that you need to be root to install the terminal application, however, i do think that without root you cannot run the "su" - super user command.
I could be wrong however.
Edit:
Ok, i just rooted my phone, it's actualy much safer than i thought. The "Superuser permission" application actually alerts you so that you decide whether you'll grant super user permissions to application. If i knew that i would have rooted my phone earlier Yay
For this very purpose i installed Terminal emulator and after typing "su" the "Superuser permission" application actually alerts you if you want to grant terminal super user rights.
I was just testing this, i need to empty my battery first and then charge it full, then i'll try to delete the above mentioned file.
Ok and wich terminal shell is the best on the market?
Related
Ok people, you asked for it. I hope this helps!
Maximizing your Battery on your Android Device [and/or HD2]via Calibration and a little bit of common SENSE.
WARNING: DO NOT FLAME, CRITICIZE OR MAKE FUN OF SOMEONE WHO NEEDS HELP. IF ANY OF THIS GOES ON IN THIS THREAD, YOU AND YOUR POST WILL BE REPORTED. I'M SICK AND TIRED OF NERDS HAVING HISSY FITS LIKE RUDE CHILDREN. LEAVE YOUR PROBLEMS OUT OF THIS THREAD. Thanks <3
..::I AM NO WAY RESPONSIBLE FOR YOU SCREWING UP YOUR PHONE, BATTERY, OR LIFE. READ THIS CAREFULLY. FOLLOW DIRECTIONS. USE YOUR BRAIN, PEOPLE!!!::..
Intro: So, as we all know, the HD2 running NAND [and apparently, WinMo6.5] has troubles reporting REAL battery life and battery drain. This guide is for those of you who want the most out of your battery--stock or extended--doesn't matter. This applies to all other phones running Android as well, as the steps I am giving and explaining below can be executed using Terminal Emulator.
When Should You Do This Process:
1.) Getting a New Battery [doesn't matter if it's the same voltage or not, if you put a new battery in your device, FOLLOW THIS GUIDE!!]
Why: The .bin file stored in your phone's system displays battery for one battery. Thus, if you ever change batteries, you NEED to update the .bin file, or else your phone will not display the correct battery readings--prematurely shutting off your device and/or draining battery when the phone says that you are at 50%.
2.) Switching Roms
Why: Every time you wipe your phone's system data, the .bin file gets replaced with a GENERIC file that could or could not apply to your battery. You want the .bin file to be up to date.
3.) Once a Month
Why: This should be part of a monthly routine, to get the most out of your battery. If you flash more than one rom a month, this does not apply to you, as you should be recalibrating your battery whenever you flash a new rom for accurate battery readings [and a potential increase in your phone's daily battery life].
What You Need:
-a rooted phone
-superuser
-busybox
-Terminal Emulator [which can be downloaded from the market]
-Set CPU [which is available to XDA members for free, can be purchased from the market as well]
-Spare Parts
-any sort of automatic task killer
-phone charger
**The method I am using involves using Terminal Emulator installed on your Android device. You can also execute this using adb commands on your computer, assuming that you know how to do it. For those of you that are inexperienced and/or want to save time, read on...
Walkthrough:
..::I AM NO WAY RESPONSIBLE FOR YOU SCREWING UP YOUR PHONE, BATTERY, OR LIFE. READ THIS CAREFULLY. FOLLOW DIRECTIONS. USE YOUR BRAIN, PEOPLE!!!::..
1.) Plug in your device in overnight. Your phone needs to be ON and fully functional [this especially applies to HD2 users, as MAGDLR will not reboot if phone is plugged in--it's a weird glitch]. Turn on Airplane mode if you must. [Keep it plugged in between 8 and 10 hours.]
2.) Turn off your phone.
3.) Just in case, plug in your phone for 10 more minutes [just to make sure it's completely charged @ 100%.
4.) Unplug your phone. Immediately pull out the battery, then put it back in. Press the power button. Plug your phone back in.
5.) Open Terminal Emulator. Type in the code below.
su
[press enter]
rm data/system/batterystats.bin
[press enter again]
Click to expand...
Click to collapse
6.) Deplete your phone as necessary. Once your phone automatically shuts off, turn your phone on again. Hopefully, your phone automatically shuts off as it's booting back up, or it shuts off once it brings you to your lockscreen. Repeat 2 or 3 more times.
You have now recalibrated your battery!
My Notes:
I bought a 2400mAh extended battery for my HD2, which is roughly TWICE the size of a normal HD2 battery. Yes, it is to be expected that my phone should NATURALLY last longer than stock, but read on to see the effects of recalibrating the battery.
Also, I have SET Cpu located on my SD card somewhere [I should really look for it and install it], and I am absolutely positive that if I had it installed, set with an interactive governor, the data below should be a LOT different.
Memory intensive applications:
-Zenonia 2
-Stumbleupon
-MIUI Music
-Swiftkey Beta [along with the other modules and crap I had to download]
-Miren Browser
-Tweetdeck [2 columns set up at 15 min intervals, one at 30 mins]
-Current Widget
-XDA app [obviously XD]
Power-saving settings:
Wifi--On [from 8am-11am]
GPS--Off
Bluetooth--Off
Normal Static Wallpaper [as in a picture, not a live wallpaper]
Brightness--0% [which is STILL too bright, but whatever]
3G--when available, I had Edge from 2:30-8:30 [which inevitably drains my battery more than 3G for some weird reason]
Auto-Task Killer
My Data:
Tested using "memory intensive applications" [see above for full list] and power-saving settings ["again, see above"]. I am running FutureShock's MIUI 2.2.1. Your results WILL vary from mine, based on what rom you are running, your phone, your battery, your running apps, etc etc etc. I am also NOT running Set CPU. I will be conducting another test soon using Set CPU, just to see what results I get. I suggest you run Set CPU, you could potentially double the uptime of your phone.
Time------Percent of Battery [See notes at bottom of this chart, since a few of the percents have been changed to THIS COLOR with two ** after them]
8:00 am ----- 100%
8:30 am ----- 80%
9:00 am ----- 98%**
9:24 am ----- 93%
10:36 am ----- 81%
10:37 am ----- 91%**
11:05 am ----- 85%
11:30 am ----- 81%
12pm [noon] ----- 81%
1:03 pm ----- 77%
2:07 pm ----- 67%
2:10 pm ----- 77%**
2:34 pm ----- 73%
3:00 pm ----- 72%
3:35 pm ----- 68%
4:01 pm ----- 64%
4:31 pm ----- 59%
5:13 pm ----- 55%
5:16 pm ----- 63%**
6:00 pm ----- 57%
6:53 pm ----- 48%
6:57 pm ----- 56%**
7:30 pm ----- 50%
8:00 pm ----- 51% ?!?!?!?!
9:45 pm ----- 38%
10:22 pm ---- 37%
Notes
Random Percent%**
This means that I removed the battery [battery pull], then rebooted the phone. Apparently, the battery readings are VERY inaccurate, being off by as much as 18%.
I have no idea why my battery went up 1% between 7:30 and 8:00. So please don't ask.
Conclusions:
Due to the fact that [apparently] my battery was being inaccurately read, random battery pulls were required to get up-to-date battery readings. I am not sure if this is an HD2 issue, or an overall Android issue when recalibrating your battery after removing the previous .bin file. IF YOU WOULD LIKE TO FURTHER THIS DISCUSSION, I WOULD LOVE MORE DATA FROM OTHER PHONES--HD2 OR NOT.
My battery is STILL running strong. Nothing incredibly drastic at all. I'm surprised that the data turned out like this.
Quick Tips:
1.) If your battery seems to be running low after clearing the stats. Check your battery's actual percent USING SPARE PARTS, then do a battery pull. See what your battery displays when you reboot.
2.) Check Spare Parts to see if your battery is being calibrated. If your battery is 3.7V, and Spare Parts says that your battery's voltage is 2.0V, then delete your battery stats again. Anything above or below .5V from your actual battery's voltage is normal error.
Q & A:
Q: I have a [insert Android phone here] running [insert ROM here]. Does this guide/walkthrough work for me?
A: YES! Go ahead!
Q: I typed in the code you said, and it said "Read/Write Permissions Denied". What's wrong?
A: Your phone is not rooted OR you don't have Superuser installed OR you don't have Busybox enabled.
Q: I have a question, but it's not on here!
A: Send me a PM with your question, and post it in this thread.
Q: I have data from testing this method with my phone running [insert rom here]. Can I send you the data via PM and/or post it in this thread?
A: PLEASE. The more data I receive from other users trying this out, the more accurate I can make this guide. Send me everything!
Q: Can I follow you on Twitter?
A: Sure. Why not. @GoCkillaz
data/system/batterystats.bin
GoCkillaz said:
Hey, I bought an extended battery for my HD2, and I want to wipe the battery stats so my phone reports accurate battery usage.
Where is the .bin file located?
Sent from my phone-containing Chinese software that puts us Americans to shame.
Click to expand...
Click to collapse
Tell us if it works when done.
lms1407 said:
Tell us if it works when done.
Click to expand...
Click to collapse
I found an alternate method. Battery calibration.
1.) Completely drain battery, so the phone shuts off automatically.
2.) Turn on phone again, which should automatically shut off after first boot screen.
3.) Plug in to charger for 8+ hours. Plugging it in overnight will work as well.
Sent from my phone-containing Chinese software that puts us Americans to shame.
GoCkillaz said:
I found an alternate method. Battery calibration.
1.) Completely drain battery, so the phone shuts off automatically.
2.) Turn on phone again, which should automatically shut off after first boot screen.
3.) Plug in to charger for 8+ hours. Plugging it in overnight will work as well.
Sent from my phone-containing Chinese software that puts us Americans to shame.
Click to expand...
Click to collapse
OK, the only problem is that after Magldr no one is able to get accurate charging with phone off.
It charges up to 98 - 99% but never 100%, so this method is not realy working.
This i was doing since the early days of winmo phones, now it's Nandroid with its problems...
lms1407 said:
OK, the only problem is that after Magldr no one is able to get accurate charging with phone off.
It charges up to 98 - 99% but never 100%, so this method is not realy working.
This i was doing since the early days of winmo phones, now it's Nandroid with its problems...
Click to expand...
Click to collapse
I'm recalibrating my phone tonight. I'm running every single battery wasting process I can.
Waiting for your update, dude!
Update #1
I will have update by tomorrow night. My extended battery kept my phone at 1% for close to 90 mins until I gave up and did some more research. Sorry for keeping you all waiting.
I will be using this method below. If it works significantly, I will edit the first post. Ok?
For future reference:
1. Charge to 100 % with phone turned ON.
2. Shut down the phone.
3. Charge for 10 more minutes.
4. Unplug.
5. Remove then reinsert battery.
6. Turn on phone.
7. Plug phone in.
8. Delete data/system/batterystats.bin
THE CODE IS:
su
[press enter]
rm data/system/batterystats.bin
[press enter again]
9. Deplete the battery with movies, wifi, bluetooth, auto synch, max brightness, GPS, and random programs.
10. Let phone die. Turn on again, wait til phone dies on it's own. Repeat 2x.
11. Plug in, charge to 100%.
See you all tomorrow at around this time.
For those of you wondering, the method I tried works. I suggest you subscribe to this thread so you all know when I update this. I'm currently recording all my notes. First post will be revamped tonight with an informative guide and my data. Let me know if you guys want anything specific in the first post.
Sent from my phone-containing Chinese software that puts us Americans to shame.
Attention people. I posted the guide in the first post. Please let me know how this works for you!!! :d
coolfire said:
Waiting for your update, dude!
Click to expand...
Click to collapse
Check first post. That's my update.
Personally I don't think this is relavent at all. My phone charges normally and uses normal battery. I get almost two full days on a battery with a NAND build. I calibrate by charging to 100% turn phone off turn back on charge to 100% turn off and back on this works fine for me...
akapaul26 said:
Personally I don't think this is relavent at all. My phone charges normally and uses normal battery. I get almost two full days on a battery with a NAND build. I calibrate by charging to 100% turn phone off turn back on charge to 100% turn off and back on this works fine for me...
Click to expand...
Click to collapse
That works too, lol.
can NAND charge a battery when it's dead? I heard some problem with charging in NAND/MAGLDR
Have anyone solved battery charge problem in all android nand version for HD2? My HD2 doesn't start when i charge battery in off mode. Orange led do not turn green and phone doesn't start. Only way is soft reset with internal red button. I can charge it in standby mode. Then, led charge becomes green.
How you doing?
Thanks
What build are you using to get 2 days of battery life? On NAND, all i have tried so far was the stock Dec 30th DFT Desire rom. But battery life, even when calibrating, was not very good. With moderate use it would deplete within 24hrs. Now with WP7 my battery does last 2 days, same usage patterns. Did more recent roms fix things? I am well aware of SetCPU, interactive and smartass governors and so on, neither really gave me satisfactory battery life .
dan138zig said:
can NAND charge a battery when it's dead? I heard some problem with charging in NAND/MAGLDR
Click to expand...
Click to collapse
Im wondering the same as i remember reading it somewhere (cant charge the phone with MAGLDR if the phone is not turned on). If batt is depleted and i cant power on the phone - its a disaster right? I dont have a spare batt or external batt charger.
Anyone, please shed some light on this. Thanks!
I was thinking about buying an extended version but if I look at your uptime :O :O
My phone lasts for 51 - 54 hrs. damn, and I actually use it
I tought an extended batt would extend time but it seems the other way around
tidus18 said:
Im wondering the same as i remember reading it somewhere (cant charge the phone with MAGLDR if the phone is not turned on). If batt is depleted and i cant power on the phone - its a disaster right? I dont have a spare batt or external batt charger.
Anyone, please shed some light on this. Thanks!
Click to expand...
Click to collapse
hmmzz, I wouldn't try it but I get this strange feeling that something goes wrong when the phone is shut down. because when I pull the plug, my orange led STAYS awake my phone is so happy it's charged on air, maybe my phone is high or something but if that's not the case it's clear that some errors are to be solved.
to be clear: when u want to test it shut down your phone when you got 80% or so, put it 10 minutes at the charger, boot and see for yourself!
HectiQ said:
I was thinking about buying an extended version but if I look at your uptime :O :O
My phone lasts for 51 - 54 hrs. damn, and I actually use it
I tought an extended batt would extend time but it seems the other way around
Click to expand...
Click to collapse
What are you doing to get your battery to last that long? If thats stock, then im obviously doing something wrong.
Sent from my phone-containing Chinese software that puts us Americans to shame.
i keep trying every rom available for my phone
and in every rom is the same the 100% battery last for like 3 hours then after that the battery drops like every minute even when screen is off?
how can i make battery life last longer?
thanks in advance
Lucky for you I still had copy of it in message box as I got 5-6 requests few hours ago regarding that.
BlackSHELF said:
Well the borderline idea is the same as you already know you have to completely drain it. Now never use any volt meter those people use to completely discharge it as the negative effect I already explained to you in that post. So best way is to do it by recalibrating so what you do is:
1) Fully charge it.
2) Drain it till you get 1%.
3) Go in recovery and wipe battery, reboot (batterystats.bin created).
4) As you still have battery low now let it charge till 100%.
5) Do the cycle again.
NOTE: This is what I would recommend but as we know the whole issue with CWM restarting while phone is off as you can flash the stock recovery and go back as it takes 3sec. If not follow the above.
1) Heavily use your phone so it drain the battery till its 1%
As you will see the low battery light flashing just so you don't lose your data save it by rebooting.
2) As you still have some battery power left you can now go to Recovery and wipe battery stats.
Or you can manually do it from adb shell by using remove command "rm /data/system/batterystats.bin".
3) Keep it on till its turns itself off.
As you may have guessed it still has power left so keep using the device till its drained completely I would recommend rebooting and going in bootloader as it uses more power due to bight screen as Recovery uses less power on display.
4) Now turn it back on again in bootloader till it turns off again.
It will keep turning itself of as no power left, this is what you want. This is safe way to discharge it without having negative adverse effect.
5) Now let it charge via A/C instead of USB.
Now when the light turns green unplug it and replug it till its green again, keep doing that till you see its green only. Now once you reboot in Android it will rebuild the batterystats.bin and you will be fully recalibrated.
Click to expand...
Click to collapse
if i cant go back to stock recovery which procedure do i try the 1st procedure or the 2nd one?
nulights said:
if i cant go back to stock recovery which procedure do i try the 1st procedure or the 2nd one?
Click to expand...
Click to collapse
First one is better for you. Do the cycle fully twice and you will be good to go and it will solve those most common issue like getting green light while its still not 100% or sticking it at 100% for long time and then dropping faster than you can count lol I just did it few hours ago, normally I do it once every 2weeks.
Alright thanks,
Ill try this out
BlackSHELF said:
Lucky for you I still had copy of it in message box as I got 5-6 requests few hours ago regarding that.
Click to expand...
Click to collapse
I don't see a way to wipe battery stats in stock recovery. Doesn't that mean I have to wipe stats, reboot phone, switch to stock recovery then bootloader drain the phone? Will that reboot adversely effect the rebuilding of the bin file? Can I just delete the batterystats.bin file with root explorer before I power down the phone to start the bootloader drain process?
Edit: I'm at 3%, #push knowledge darinmc GOGOGOGOGOGOGOGOGOGOGO
darinmc said:
I don't see a way to wipe battery stats in stock recovery. Doesn't that mean I have to wipe stats, reboot phone, switch to stock recovery then bootloader drain the phone? Will that reboot adversely effect the rebuilding of the bin file? Can I just delete the batterystats.bin file with root explorer before I power down the phone to start the bootloader drain process?
Edit: I'm at 3%, #push knowledge darinmc GOGOGOGOGOGOGOGOGOGOGO
Click to expand...
Click to collapse
Sorry was asleep but yeah you can manually do it from terminal (su), adb (shell), root exp (enable r/w). Then power down as you saying you reverted back to stock recovery I am guessing you are on 3.0.0.6 supporting the 2.5.1.4 stock. So in that case just reboot and follow the same meth. This would clear out those lag (sticking at 100% for long time and then dropping faster than you can count) and wrong data (exp: 80% after rebooted 83%). I just recalibrated it yesterday which is the reason I spoke about it which caused this whole massive PM attacks and threads like this. Which is fine just do it once every 2weeks or once a month as doing it every week is not particle even for me.
BlackSHELF said:
Sorry was asleep but yeah you can manually do it from terminal (su), adb (shell), root exp (enable r/w). Then power down as you saying you reverted back to stock recovery I am guessing you are on 3.0.0.6 supporting the 2.5.1.4 stock. So in that case just reboot and follow the same meth. This would clear out those lag (sticking at 100% for long time and then dropping faster than you can count) and wrong data (exp: 80% after rebooted 83%). I just recalibrated it yesterday which is the reason I spoke about it which caused this whole massive PM attacks and threads like this. Which is fine just do it once every 2weeks or once a month as doing it every week is not particle even for me.
Click to expand...
Click to collapse
Thanks! Needed to do this for a while.
BlackSHELF said:
Lucky for you I still had copy of it in message box as I got 5-6 requests few hours ago regarding that.
Click to expand...
Click to collapse
thanks for that. I have been searching for that kinda guide on here for awhile! It was like looking for a needle in a haystack there are ten million about it, But none this detailed infomation!
SetCPU can help with your battery life. It did wonders on my HD2 running android.
Some suggestions in this thread: **HOW TO MAKE YOUR BATTERY LIFE LAST** Members Tips & Tricks
can someone clarify the steps "Go into recovery and wipe battery"?
I am running stock rom.
I am able to go into the bootloader menu. But when I select recovery, all i get is an icon with a picture of a phone and a triangle w/ an exclamation point at the corner. I don't know to leave this screen other than battery pull.
Where do I delete batterystats.bin?
Wiping battery stats help
I tried to wipe battery stats after my battery was drained to 1%, but nothing happened. I didnt see any scripts run that confirmed battery stats command had gone through. Was that supposed to happen? I'm really confused by this because I saw that my battery was drained to 1% but when I rebooted to recharge the phone, it showed that I was not fully drained. It read that I was at 20% and charging!? Please help guys. Thanks in advance
longhornguy said:
I tried to wipe battery stats after my battery was drained to 1%, but nothing happened. I didnt see any scripts run that confirmed battery stats command had gone through. Was that supposed to happen? I'm really confused by this because I saw that my battery was drained to 1% but when I rebooted to recharge the phone, it showed that I was not fully drained. It read that I was at 20% and charging!? Please help guys. Thanks in advance
Click to expand...
Click to collapse
Download and use "battery calibration" app from the market. Its pretty easy to understand and follow.
Sent from my HTC Glacier
Thanks man, i greatly appreciate it. I'll download and see what happens
Here is my method of calibration.
You MUST BE ROOTED
Download terminal emulator from market.
1.Charge your battery fully.
2.Cable remain plugged in
3.Go to terminal emulator
4.type "su", and allowed by super user.
5.type "rm /data/system/batterystats.bin" then your battery stat has been deleted. There is no other notifying sentence or whatever.
6.Unplug the charger
7.You will see immediate battery drop at this moment. and this is where it has not been charged.
8.Plug charger and charge fully.
Your batterystat is already created automatically
9. Repeat 4~8
10. Now you will find the gap of immediate drop decreasing.
PS//
When the immediate drop becomes 99% it can be said that it is done.
I personally think this is the phone itself related bug or something.
Because what I found was when I plug in charger it immediately becomes 100% and unplug 99%. that means for galaxy S 100% is really when it is 100%. for example if its 999/1000 it recognizes it as 99%. Got what i am saying?
Anyway you will find that it will stay long at 99%.
Why is that method Proper .
As opposed to using Clockwork to delete battery stats .
jje
Beat me to it jje, also ive found if you remove the charger as soon as it say to it will drop to 98 99%, if i leave in in for 1/2 hour it will be 100% when charger is removed
Does not work for me. Before i remove batterystats it says 95%, after it too. No changes there...
Working well for me. After removing battery stats 100% stays for a long time.
Thanks for your info
seems to be working
seems to be working
thanks
The Permissions app on my phone shows a permission for "modify battery statistics". Explanation: Allows the modification of collected battery statistics. Not for use by normal applications.
The permission is used by the following Samsung apps: Settings, Software update, and MTP Application.
So I suppose there is also a way to do this from an app...
Actually, the battery needs to NOT go to 100% ...
it's done like that as a protection for you NOT to overcharge the battery to protect it's usable life...
so a drop from 100% to 98% upon discharging is actually good.
Hi,
I've recently replaced my battery and now it is not charging fully to 100% but only to 85%. Sometimes it displays it is fully charged but after a minute the percentage dropped to 85%. I've already tried multiple chargers with no result. The only thing that works is bump charging. It looks like the battery is just working fine but the displayed percentage is not right. Is there a way to 'reset' this statistic? Removing the battery.bin didn't do anything for me.
Is there a way to check if the battery is really fully charged despite the wrong displayed percentage?
Faeshaas said:
Hi,
I've recently replaced my battery and now it is not charging fully to 100% but only to 85%. Sometimes it displays it is fully charged but after a minute the percentage dropped to 85%. I've already tried multiple chargers with no result. The only thing that works is bump charging. It looks like the battery is just working fine but the displayed percentage is not right. Is there a way to 'reset' this statistic? Removing the battery.bin didn't do anything for me.
Is there a way to check if the battery is really fully charged despite the wrong displayed percentage?
Click to expand...
Click to collapse
To fix what you are doing you have to be rooted.
1. Root your n4
2. Download root browser from playstore
3. Go to data/system directory and delete batterystats.bin
4. Accept superuser access
5. Reboot and let the battery drain till 0%
Anyway, I don't know if it will be a battery calibration issue, because if u had to replace your previous battery maybe your phone doesn't manage battery well and destroy them... Try, report, and we will make conclusions
luiseteyo said:
To fix what you are doing you have to be rooted.
1. Root your n4
2. Download root browser from playstore
3. Go to data/system directory and delete batterystats.bin
4. Accept superuser access
5. Reboot and let the battery drain till 0%
Anyway, I don't know if it will be a battery calibration issue, because if u had to replace your previous battery maybe your phone doesn't manage battery well and destroy them... Try, report, and we will make conclusions
Click to expand...
Click to collapse
I just deleted it, it's worth a try!
The weird thing is bump charging will result in a 100% charge and the battery seems to work normally (20hours of battery time with normal use).
luiseteyo said:
To fix what you are doing you have to be rooted.
1. Root your n4
2. Download root browser from playstore
3. Go to data/system directory and delete batterystats.bin
4. Accept superuser access
5. Reboot and let the battery drain till 0%
Anyway, I don't know if it will be a battery calibration issue, because if u had to replace your previous battery maybe your phone doesn't manage battery well and destroy them... Try, report, and we will make conclusions
Click to expand...
Click to collapse
It will be a battery calibration issue since that file only stores the statistics of apps. It gets deleted upon reboot. So this won't affect the measurements in any way.
Sent from my Nexus 4 using Tapatalk
Faeshaas said:
Hi,
I've recently replaced my battery and now it is not charging fully to 100% but only to 85%. Sometimes it displays it is fully charged but after a minute the percentage dropped to 85%. I've already tried multiple chargers with no result. The only thing that works is bump charging. It looks like the battery is just working fine but the displayed percentage is not right. Is there a way to 'reset' this statistic? Removing the battery.bin didn't do anything for me.
Is there a way to check if the battery is really fully charged despite the wrong displayed percentage?
Click to expand...
Click to collapse
Connect the charger to the Nexus 4, then insert the plug.
Press the power button and hold it until the device turns on. Immediately after this, press and hold the Volume Down key, not releasing the power button. Appears on the screen Start, circled arrow.
Pressing the Volume Down key, select Power off and activate it by pressing the power button.
When the phone is turned off, unplug the charger and plug it in again. then turn on the phone.
Both solutions didn't work for me. Is there a way to confirm that even if Android displays a value of 85% the battery is fully charged? Because I don't care that much wrong percentage is displayed, I just wanna know for sure the battery is ok.
Faeshaas said:
Both solutions didn't work for me. Is there a way to confirm that even if Android displays a value of 85% the battery is fully charged? Because I don't care that much wrong percentage is displayed, I just wanna know for sure the battery is ok.
Click to expand...
Click to collapse
you should try reflashing your rom
Wipe cache, dalvik cache and battery stats in recovery then fix permissions and reboot.
Puneet Singh Chauhan said:
Wipe cache, dalvik cache and battery stats in recovery then fix permissions and reboot.
Click to expand...
Click to collapse
As I already said in the 3rd post here. That is absolutely useless.
Sent from my Nexus 4 using Tapatalk
luiseteyo said:
To fix what you are doing you have to be rooted.
1. Root your n4
2. Download root browser from playstore
3. Go to data/system directory and delete batterystats.bin
4. Accept superuser access
5. Reboot and let the battery drain till 0%
Anyway, I don't know if it will be a battery calibration issue, because if u had to replace your previous battery maybe your phone doesn't manage battery well and destroy them... Try, report, and we will make conclusions
Click to expand...
Click to collapse
Or restart your phone and battery stats will reset.
Hiii guysss...!!!!
Now Days Rooting is our daily part of life
after lot off customization and custom Roms
some times our battery gives some problems such as battery drain all other
so i found one solution on it......
Battery Calibration ......!!!!!
No Need Of Any App For It Just Follow this simple steps ....
We will start with a basic necessity for good battery performance CALIBRATION.
Calibration is the process where you get your battery to hold as much charge as it can and the battery meter to display the correct reading. I think when you do this, you will be suprised how much more charge your battery takes than the phone thinks it needs.
1. Charge your phone 100% while itโs on.
2. Use root explorer, astro, or file manager of choice and go to /data/system and find batterystat.bin. Delete it. Then use your smartphone as usual ?
After total use You can power it off on 15% also (beetter to use till shutdown ) but not upper on that .....!!!
3. power off and allow charge it up to 100%. (This may take longer than you think)
4. After Full Charge Power it on, and use it....
5. Go back to step 2 and repeat one more time.
6. After doing this procedure 2-3 times your mobile ? will give you cool ? battery ? backup surely
It's works on every version 4.0 kitkat -6.0 marshmallow
Thank You ...
ViksAndroiD
Hope it's become helpful to everyone
It's useless. batterystat.bin file recreated itself when fully charge your phone!
Alexey71 said:
It's useless. batterystat.bin file recreated itself when fully charge your phone!
Click to expand...
Click to collapse
It's not useless.
This is how you calibrate a lithium-ion battery.
JonnyBorneo said:
It's not useless.
This is how you calibrate a lithium-ion battery.
Click to expand...
Click to collapse
batterystat.bin deleted and create automatically, each time after charging
Alexey71 said:
batterystat.bin deleted and create automatically, each time after charging
Click to expand...
Click to collapse
The file doesn't have anything to do with calibration.
It's just a log file. By deleting it you create a blank log and it starts anew.