[Q] How to Wipe Battery Stats -- Rooted, but no CWM - Motorola Droid RAZR

I think that I need to wipe my battery stats, but without CWM installed, I don't know how. Here's why I need (I think) to wipe the stats:
1. I broke the screen of my XT912 Maxx.
2. Instead of replacing the screen, I bought an XT912 non-Maxx and then swapped the back, chassis and battery per this YouTube video.
3. Since completing the swap, my Razr reports crazy battery levels. For example, it will go from 30% to 0% to 40% in the space of a few minutes.
I theorize that the phone is "confused" by having the 3,300 mAh EB40 battery that comes on a Maxx instead of the 1,780 mAh EB20 battery that comes on a non-Maxx. Anyway, I am hoping that wiping the battery stats may fix the problem. It sure can't hurt. However, I don't know how to wipe the stats without CWM install and I can't find a guide for installing it on the latest/newest stock OS (4.0.4? -- can't verify at the moment).
When I boot into the recover that is on the phone, there's no option (that I see) to wipe battery stats.
Any suggestions?

Wiping battery stats , AFAIK, means deleting /data/system/batterystats.bin
So you can manually do this with a root explorer, or use an app called battery calibrator.
If that doesn't work, maybe you can try using the phone til the battery drains completely and turn off. The try truning on again til it doesn't. And then charge the battery for a long time ~8 hours with phone off.

Related

[Q] Reset or refresh battery statistics

Can someone please tell me how I do this on a rooted 2.1? It's driving me mad trying to google it and I need to reset the battery stats to improve the battery life.
install xrecovery (dev thread) goto "advanced" > "wipe battery stats".
Edit: i just used this myself, but how would this "improve" the lifecycle of a battery?
Do SE battery's have a chip on them that counts the used hours/days, or is it just the android fw that keeps track?
(I have 2 fake battery's also (ebay), so i never run out of juice in case of the chip.. i bet these fake's dont have a chip.. kinda like fake PSP batterys (special pandora's excluded))
it won't improve the battery life.
however, you can maintain your battery life and align the battery stats to actual battery level by draining it until the phone cannot power back on. plug it in, wipe stats, power off, let it charge fully, then leave it on the charger for about an hour afterwards before powering it back on.
svtfmook said:
it won't improve the battery life.
however, you can maintain your battery life and align the battery stats to actual battery level by draining it until the phone cannot power back on. plug it in, wipe stats, power off, let it charge fully, then leave it on the charger for about an hour afterwards before powering it back on.
Click to expand...
Click to collapse
you might try this:
http://forum.xda-developers.com/showthread.php?t=722862
EDIT: Oops... wrong thread
anyone know how to wipe batt stats if phone is not rooted?
is it even possible?

[Q] Battery Stats resetting after 1.5.7 update

Has anyone else experienced any problems with their battery stats resetting themselves? Mine used to be accurate (at least in terms of running time since unplugged) -- but ever since I flashed to 1.5.7 (and got tremendously better battery life) -- when I check later on in the day I notice the stats seem to have reset at some point in the day.
This morning I unplugged at 8am exactly, and now checked at 7pm and my battery stats claimed 8hrs unplugged ....
Anyone else have this problem?
i am thinking that my battery life has gone down since applying the update, so i deleted the batterystats file last night and charged it over night.
i did not notice that the stats you mentioned were an issue on my phone, though. one of the few things i have been looking at is the uptime, and it seems to be accurate.
does anyone know for sure if the batterystats.bin file should be deleted just before the battery dies, or after a full charge on this phone?
I'm not sure if it's the same with the Atrix, but on my Samsung Galaxy-S we used to delete batterystats.bin right after full charge, then it would create a new one automatically and begin tracking.
where is it located on the Atrix?
Thanks!
i used root explorer to find it under data/system/batterystats
after you deleted the stats from a full charge would you drain the battery until it turned off or charge it whenever you felt like it?
hondaguy said:
i used root explorer to find it under data/system/batterystats
after you deleted the stats from a full charge would you drain the battery until it turned off or charge it whenever you felt like it?
Click to expand...
Click to collapse
Personally I would drain it until the end --- you're trying to gauge a full battery's worth right? Charging it mid-way wouldn't tell you much
thats what i thought too, but i havent done that in many months (since i had my nexus 1 and was flash happy). i did a search in this forum last night and the only thing i found suggested wipping the stats when the phone was almost dead, then charging with the phone off until full. in my head i thought delete the stats from full and then let it die, so i was unsure as to which way was right
Ok so I just tested and realized the battery stats RESET after a REBOOT ... doh~
Is that normal for everyone else?

[Q] when to wipe battery stats

should i wipe battery stats i switching from extend. battery to stock. or only when switching roms? when does this matter?
[Also i know this doesn't belong here but my PC is really slow do easiest way is to ask: is there someway to search all my posts at once as they're becoming hard to keep track of ?]
CleveRuse said:
should i wipe battery stats i switching from extend. battery to stock. or only when switching roms? when does this matter?
[Also i know this doesn't belong here but my PC is really slow do easiest way is to ask: is there someway to search all my posts at once as they're becoming hard to keep track of ?]
Click to expand...
Click to collapse
I switched back to my stock battery after my extended died. I wiped battery stats, wiping stats when flashing new roms is recommended.
Wiping battery stats is never really considered an essential thing to do no matter what. It is nice though to do. I suggest it when you start realizing crap battery life on one ROM/kernel compared to the last one. The suggested way is to wipe it after installing a new kernel and as well as when you swap batteries. Other than that, really no need to in my eyes.
I wipe after every new ROM install, period.
ProTekk said:
The suggested way is to wipe it after installing a new kernel and as well as when you swap batteries. Other than that, really no need to in my eyes.
Click to expand...
Click to collapse
This is when I do it also.
Digging up a thread here, didn't want to waste a new one.. But I have the OEM Extended Battery and I tried wiping my battery stats.. Charge full, reboot into recovery, wipe stats, unplug.. After this I noticed that my battery said 93% even tho the charge light was green.. I drained it until it turned off and charged again overnight.. In the AM, light was green, i turned phone on and its still showing 93% even though it was green. Any ideas? Did I lose that 7% forever?
Sometimes wiping the stats causes a bad battery read. A few reboots should get you back on track. If that doesn't work, try a full battery drain then a full charge. Let us know.
Will try that, even tho I kinda did already. I'm hoping with a few battery cycles the problem goes away.. What Im hoping is I don't need to bump charge now every time like I did when I had my inc
Sent from my ADR6400L using Tapatalk
drawde said:
Did I lose that 7% forever?
Click to expand...
Click to collapse
I doubt you lost anything. It would be like Spinal Tap having an amp which only went to 9.
I only had to wipe when my battery wasn't decreasing in percentage. After I wiped, it started decreasing like it should. I would think any fast reduction in percentage would be a bad battery.
Are there any proven facts out there that it is really ever necessary to wipe them? It's not like it actually improves battery life am I correct?
as far as wiping battery stats goes.
i have only used it when reconditioning a battery.
ie if you start noticing bad (read: worse that you have been getting) battery life after flashing a new rom or kernel. or just after a time using a standard rom.
what i do is
1 turn the phone off.
2 charge it on AC until it goes green and for an hour afterward.
3 unplug it and wait 30 seconds.
4 plug it back in and repeat step 3 until the light goes from red to green within 20 or so seconds. (this is called bump charging)
5 boot into CWR and wipe battery stats. and let it burn all the way down until it wont even turn on (flashing orange led)
6 charge to full and enjoy your maybe improved battery life.
when wiping battery stats, do i have to do it a few times or no? i wiped battery stats at full and drained battery until it turned off twice.. once wiping the stats with CWR and once, and after a cycle, with the 'battery calibrate' app (made by someone here on xda i believe)..
seems to be working okay i guess, but lets say i have 94%, i reset my phone and it comes back with only 84%.. it appears it's still reading my battery wrong by around 10%. is this normal?
It doesn't happen at every reset, looks like just the first one of the day. I guess I can charge to full, reboot, and charge to full again as a workaround.
Sent from my ADR6400L using Tapatalk
i meant to ask this before but I forgot, can anyone try to do that and let me know if it happens to them too or if its just me
Charge with phone on until full then turn it off and charge.. about how long does it stay amber?
Sent from my ADR6400L using Tapatalk

[Q] Simply Honey battery life

Hi all,
I have a question about battery life on the Simply Honey 2.7.2 ROM
My phone is usually idle overnight, but i notice a drop of about 25-30% in 8 hours. Is this usual?
Here are some screenshots
Battery Plot (1.26 am to 9.26am) Battery was 100% at 1.26
System details
Top Apps
Is this pretty normal for overnight battery drain? The Device usage indicates almost no use..so i'm wondering why the battery is draining.
Any help would be appreciated.
Thank you
I'm having the same issue. With Darky's 9.5 the phone easily last a day, now it's lasting 9 hours or so. I just flashed the new ROM yesterday.
This is from the Simply Honey post:
HOW TO RECALIBRATE YOUR BATTERY (by heartagramm):
COMPLETE GUIDE!!!
You'll have to use the phone for about 1-4 days (although it varies depending on the phone and battery used; every phone is an individual). It runs out of battery. Yes. Let it run. Recharge. After 3-4 recharges the battery will "gain" it's performance back.
After 3-4 full charge/full drain -cycles, do the following:
1. Charge the battery up to fullest.
2. Keep it plugged in to charger, and reboot to recovery.
3. On the recovery, go advanced, wipe battery stats, scroll on to yes BUT Don't wipe them yet. When you're ready, quickly remove the battery cable and push to wipe the battery stats.
4. Reboot the phone, use normally. Let it run completely out of battery.
5. Charge the phone back to full. Turn off phone. Charge until it says 100% on the green bar and vibrates for full charge.
6. The Important Part. Remove the charge cable for 0-0.5 seconds and plug it back in instantly. Let it charge to 100% again. Do this 1-2 times again, so you've done this 2-3 times total.
7. Reboot to recovery, wipe the battery stats again as on the step 3.
8. After wiping the battery stats, plug the charger back in the phone.
9. Reboot to ROM. Keep the cable plugged in. Keep it plugged in for about 30 mins to 2 hrs. Unplug. Should say 100%, mine did for about 40 mins after it depleted onto 99%.
And this is the way you should really gain great battery performance.
Click to expand...
Click to collapse
I'm going to try this and hopefully it works.
Let us know if it sorts itself out after a couple of days...
Chris.
Thanks. I will try this.
I recently downloaded a Battery Calibration App from the market too (NeMa) and calibrated my battery using that..but I'll try this method also.
Let me know if you have any improvements also.
Thanks!
riskaa
I switched to Doc's ROM and battery life is back to normal. I'll try Simply again after a few versions.
Sent from my GT-I9000 using XDA App
I don't think there are going to be new versions, because he's now doing some Gingerbread based ROMS.
Which one is Doc's ROM?
I'm on SimplyHoneyV1.0XE and have been for a couple of days. This is my first Simply Honey experience but I think this is the best battery life I've ever gotten on ANY ROM including stock. Given it is a little early in my test to determine just how good it is going to be but I would recommend you give it a try and see how it does on your battery.
P.S. My findings were based on the fact that after a 100% charge, light usage (2-4 phones calls, and several texts) for almost 10 hours I still had 89% of my battery. Pretty impressive if you ask me.
riskaa said:
Thanks. I will try this.
I recently downloaded a Battery Calibration App from the market too (NeMa) and calibrated my battery using that..but I'll try this method also.
Let me know if you have any improvements also.
Thanks!
riskaa
Click to expand...
Click to collapse
I'm pretty sure they perform the same function. When you touch the "Calibrate Battery" button, the app automatically performs all the steps mentioned (wipe battery stats, mainly).
One app you might try is Juice Defender. I've used it a few times, and it worked well when battery life was an issue for me (I've switched to Axura, and it isn't anymore. Neither with Bionix).

Extended Battery calibration

Firstly, I apologize if this is a total annoyingly noobish post, but I've not encountered this issue before.
Currently when charging, my phone hangs at 99% for over an hour before hitting 100% charge. Additionally, when not charging, the phone will hang at 9% charge for longer than expected and rapidly deplete below 9%.
Info that may be pertain to the problem:
When I got my Rezound and the extended battery, the first thing I did was root the phone and flash Amon Ra.
I waited for the battery to fully charge, then I flashed CleanROM Kang Tapped Edition. I finished my general phone setup and app install stuff and had about 15% battery left (it was now about 8am, pulled an all-nighter.)
An hour later, I get a phone call and what amounted to literally 9 straight hours of phone talk time with only that small amount of battery left. I had to be plugged in pretty much the whole time and I think when I had under 10% battery when I finally got off the phone.
I have tried wiping battery stats after hitting full charge in Amon Ra as well as using the battery calibrator app. After I fully charged and cleared stats, I waited for the phone to deplete the battery before fully charging (I try to let it charge uninterrupted).
The issue still seems to behave exactly the same. Is it possible that I messed up the battery some by talking with low charge and plugged in for 9 hours?
Thanks in advance for any info or advice.
Try reflashing your ROM. I had the same issue with my phone. Assuming your rooted, try zep's battery calibrater script.
Sent from my VS910 4G using xda premium
keynith said:
Try reflashing your ROM. I had the same issue with my phone. Assuming your rooted, try zep's battery calibrater script.
Sent from my VS910 4G using xda premium
Click to expand...
Click to collapse
I am rooted. Looking inside the Die Hard Battery Calibrator script seems to just clear battery stats, which, I believe, happens when the phone is fully charged anyways.
I have been trying the app "Battery Calibration", which also clears battery stats.
There is also the option to wipe battery stats from Scott's tweaks, as well as Amon Ra.
I guess after all the conflicting viewpoints I've heard regarding battery stats, I'm about as confused as ever. I thought that battery stats merely stores data about the power usage, and doesn't actually affect how the OS reads the battery percentage. It boggles me that the OS wouldn't just know the battery voltage, and therefore the remaining charge. Unless batteries have varying voltage (like the Rez 3.7V battery vs the 3.8V battery), this should be more accurate than whatever the hell it is doing.
I'll give the script a shot, I'm just perplexed.
Anybody know of a widget that shows just the mV? Then I can forget about these darn percentages.
*EDIT* Battery Monitor Widget can do mV, among other things.
I wonder if I should try the HTC method contained in the link below:
http://forum.xda-developers.com/showthread.php?t=712990
Here is some word on battery stats from a Google employee:
https://plus.google.com/105051985738280261832/posts/FV3LVtdVxPT

Categories

Resources