Wipe battery stats using twrp? - Epic 4G Q&A, Help & Troubleshooting

Is it possible to wipe battery stats using twrp recovery? I would like to calibrate the battery. Any help or information would be greatly appreciated.

DynamicN said:
Is it possible to wipe battery stats using twrp recovery? I would like to calibrate the battery. Any help or information would be greatly appreciated.
Click to expand...
Click to collapse
Yes. Either under "wipe" or "advanced" menus.
However, you should read this: http://www.androidcentral.com/wiping-battery-stats-doesnt-improve-battery-life-says-google-engineer

nikon120 said:
Yes. Either under "wipe" or "advanced" menus.
However, you should read this: http://www.androidcentral.com/wiping-battery-stats-doesnt-improve-battery-life-says-google-engineer
Click to expand...
Click to collapse
I looked under both and didn't see it but I'll look again, thank you for the response. That article is an interesting read:good:

DynamicN said:
I looked under both and didn't see it but I'll look again, thank you for the response. That article is an interesting read:good:
Click to expand...
Click to collapse
To wipe battery stats in TWRP, do the following:
boot into TWRP recovery
/advanced/File Manager/
folder /data/system/
click batterystats.bin
click Delete
reboot system

e154037 said:
To wipe battery stats in TWRP, do the following:
boot into TWRP recovery
/advanced/File Manager/
folder /data/system/
click batterystats.bin
click Delete
reboot system
Click to expand...
Click to collapse
Thank you

DynamicN said:
Thank you
Click to expand...
Click to collapse
I saw threads mentioning that wiping battery stats is like snake oil. Does this really help increase battery life or is it just a placebo

cybershawngates said:
I saw threads mentioning that wiping battery stats is like snake oil. Does this really help increase battery life or is it just a placebo
Click to expand...
Click to collapse
Open the link I posted earlier in this thread. Android engineers say placebo.

nikon120 said:
placebo.
Click to expand...
Click to collapse
thx

e154037 said:
To wipe battery stats in TWRP, do the following:
boot into TWRP recovery
/advanced/File Manager/
folder /data/system/
click batterystats.bin
click Delete
reboot system
Click to expand...
Click to collapse
good one! thanks

Yes that delete Batteystats.bin does help !! I got my Mi Max 2 a new battery after 3 years approx, the new battery would drain like hell till 15% then stuck there for next 4-5 hours of heavy usage like gaming and watching Youtube premium with Wifi and BT connected to speaker, GPS ON and Brightness FULL. This drained the battery down to 2% and again stuck there for the next 5 hours and still continued playing games and watching videos. Then the phone shut down. This happened 3 times at a stretch.
After deleting Battery.bin then full charged to 100% with Power OFF and repeated the cycled 3 times (full charge to Full Off and then again recycle), now the new battery works like when I got my phone brand new back in 2018.
That delete Batterystats.bin does work !! However, word of caution is that one must do that Batterystats.bin delete with a 100% Full charged battery, and while deleting make sure the charger is not Plugged IN -- else it will give wrong readings and calibrating the battery is of no use.

Related

Android Revolution HD 5.1.4 no Battery Stats

Hey there,
Android Revolution HD 5.1.4 is a very good ROM,
but after flashing that Rom,
i cannot open battery history.
When i try to open Battery History with Spare Parts:
it shows:
"Could not find Battery stats activity in your Rom!
Connact developer for more info!"
Can anybody help me?
Without Battery History, i cannot celibrate my battery.
Have you tried going into the directory to find the file? I always use root explorer and go to Data>System and delete the file manually.
If the file exists, there may be a possibility sparepart is not compatible with the rom. It FC when I install it on my phone
fe22st said:
Hey there,
Android Revolution HD 5.1.4 is a very good ROM,
but after flashing that Rom,
i cannot open battery history.
When i try to open Battery History with Spare Parts:
it shows:
"Could not find Battery stats activity in your Rom!
Connact developer for more info!"
Can anybody help me?
Without Battery History, i cannot celibrate my battery.
Click to expand...
Click to collapse
Afaik, Spare Parts wasnt fully compatible with gingerbread, maybe it is now, I am not sure, but you should double check that.
Why dont you use the battery history in settings?
tried all
Yeah,
but i`ve the same problems when i type
*#*#4636#*#*
in the phone.
No Battery History.
and batterystats.bin exits in the directory and i deleted it and
reboot, but same problems ...
fe22st said:
and batterystats.bin exits in the directory and i deleted it and
reboot, but same problems ...
Click to expand...
Click to collapse
What do you mean same problem?
Once you delete the file, that should be it. Your battery is calibrated. Of course you need to make sure you are fully charged (0mA current widget) before you delete it. The effect of the calibration can be felt usually after a few cycle of charging. Some even noticed it immediately.
i will try it.
Fully Charged, then delete the file.
Hope that functioned.
Thanks for helping.
myxcon said:
Afaik, Spare Parts wasnt fully compatible with gingerbread, maybe it is now, I am not sure, but you should double check that.
Why dont you use the battery history in settings?
Click to expand...
Click to collapse
+1
As far as I know this still the case with Gingerbread ROMs.
banjiki said:
Have you tried going into the directory to find the file? I always use root explorer and go to Data>System and delete the file manually.
Click to expand...
Click to collapse
Is that what Recovery > wipe battery stats does? Or does it perform some other function?
Lanky Git said:
Is that what Recovery > wipe battery stats does? Or does it perform some other function?
Click to expand...
Click to collapse
That's exactly the same thing
so i fully charged my battery
until current widget showed "0 mA"
i restarted in bootloader and wipe battery stats.
and rebooted, but the same problem still here.
no battery history ...
here a message from a another member:
"Battery History is no longer in Gingerbread Im afraid.
There is an app that replaces it but I cant remember the name. Its in the DHD forum somewhere."
anybody know, which app he means?
fe22st said:
so i fully charged my battery
until current widget showed "0 mA"
i restarted in bootloader and wipe battery stats.
and rebooted, but the same problem still here.
no battery history ...
Click to expand...
Click to collapse
Let me get this straight, you want the battery history to do calibration of the battery, correct? The steps you did in the quote is actually battery calibration already, so do you still need battery history?
It is true also that Gingerbread no longer provide battery history. Last time in Froyo I remember to be able to see partial wake etc. But now the only battery usage we can get is from Setting > About Phone > Battery Use
fe22st said:
here a message from a another member:
"Battery History is no longer in Gingerbread Im afraid.
There is an app that replaces it but I cant remember the name. Its in the DHD forum somewhere."
anybody know, which app he means?
Click to expand...
Click to collapse
Hey,
It was me who told you that
I was slightly wrong, I meant to say I read it in the DHD forum somewhere. And I did, and I remember now.
It was in the ARHD thread and found the original post where I read it:
here
The app is here if you want to take a look.
My apologies again for slightly misleading you on that!
Thanks a lot for the app link ...

battery question

how will i know if my battery is calibrated correctly???
i mean..i flash roms ,maybe 2-6 times in a week..i guess...depending on updates..
doo calibration everytime...(sometimes...calibrated and flash new rom)
how do i know if my batt is correctly calibrated..read somewhere too much calib ruins your batts
well u cant know dat ur battery is calibrated or not.. bt u can improve the accuracy by clearing the battery stats in cwm menu.. try searching for a 3rd party app.. Btw dont be so concerned abt it.. its always correct 99%
when you install a new rom and wipe /data your system is automatically recalibrate your battery. you don't need to do that manually
kurotsugi said:
when you install a new rom and wipe /data your system is automatically recalibrate your battery. you don't need to do that manually
Click to expand...
Click to collapse
even if i flash at 20percent batteries?
zeusseuz said:
even if i flash at 20percent batteries?
Click to expand...
Click to collapse
Yes, even at 1%.
That's what i think too .

help me please i can't charges battery to 100

i can't charges battery to 100 %
it's stop 99 %
i delete batt stat ,Was not lost:crying:
When not to
1. you are in wrong place. general is the one.
2. how old is your battery? what rom? what kernel?
3. how much noob are you?
paolo-red1 said:
1. you are in wrong place. general is the one.
2. how old is your battery? what rom? what kernel?
3. how much noob are you?
Click to expand...
Click to collapse
i'm sorry
i use rom runntmede aio 6.0.4.3
kernei 2.6.35.100 [email protected]#11:crying::crying::crying:
Try the calibration tool linked in my signature
aledex said:
Try the calibration tool linked in my signature
Click to expand...
Click to collapse
thank you ,but i can't use
but check recover mode i can charge 100%
but boot sense it stop 99%
99% is very close to 100% is almost 100%
I do not think is is a huge problem ....
tolisoft said:
99% is very close to 100% is almost 100%
I do not think is is a huge problem ....
Click to expand...
Click to collapse
Agreed.
Have u tried resetting battery stats in recovery? I think I remember seeing that. Never really used it.
you can wipe the battery status.

Clear battery stats TWRP

How do i clear the batter stats through twrp. I believe id vet more from my phone if i could do that, couldnt find it on my own term?
Sent from my Incredible 2 using xda app-developers app
By using Google...not to bust your balls but try to search first ...plenty of info out there already..this goes for the rest of the nubs as well...ull get your answer 100% faster..search tool is your friend :beer:
Sent from my Incredible 2 using xda app-developers app
Lol thanks chilly, i did search google but was pages deep before i asked here, maybe i just looked over it
Sent from my Incredible 2 using xda app-developers app
Just my 2 cents here. But I read a post a while back by a very respected dev (adrenalyn) that's it's always good practice to flash a new rom and a fully charged battery. Then fully deplete and fully charge uninterrupted. Since doing that I have not had to reset battery stats ever and have always had no problems. S with battery life. Of course there everyone says different things. But this is just my experience.
Sent from my Incredible 2 using Tapatalk 2
My Google search brought me here, still trying to find how to do this.
Slacker said:
My Google search brought me here, still trying to find how to do this.
Click to expand...
Click to collapse
The answer is that TWRP doesn't wipe battery stats, and you don't need to do it.
I read the tweet I saw in my Google search results and saw that power off at full charge accomplished what I wanted, had idle drain and changed a couple things and wanted to monitor the changes.
gtdtm said:
The answer is that TWRP doesn't wipe battery stats, and you don't need to do it.
Click to expand...
Click to collapse
To wipe battery in TWRP, do the following:
boot into TWRP recovery
/advanced/File Manager/
folder /data/system/
click batterystats.bin
click Delete
reboot system
e154037 said:
To wipe battery in TWRP, do the following:
boot into TWRP recovery
/advanced/File Manager/
folder /data/system/
click batterystats.bin
click Delete
reboot system
Click to expand...
Click to collapse
I can not find that in TWRP
rekamyenom said:
I can not find that in TWRP
Click to expand...
Click to collapse
Mount Data by selecting "Data" in the Mount menu.
codebuddy said:
Mount Data by selecting "Data" in the Mount menu.
Click to expand...
Click to collapse
Thx for your explanation.
Jahwol
jahwol said:
Thx for your explanation.
Jahwol
Click to expand...
Click to collapse
ME TOO or I no figure out,
BUT when I click delete as suggested it does just what I thought it would, IT deleted the file called wipebatt whatever it was calledr it was called!
SO now its gone and I can't do it.
I know someone said I couldent but that kinda pissed me off!
better to be pissed off than pissed on I guess, but I felt pissed on! careful what instructions you follow to a T I guess
Slacker said:
My Google search brought me here, still trying to find how to do this.
Click to expand...
Click to collapse
Amen dude. Sick of people telling other people to "Google it". My Google search brought me here, and if everybody on XDA said "Google it" there would be no results.
e154037 said:
To wipe battery in TWRP, do the following:
boot into TWRP recovery
/advanced/File Manager/
folder /data/system/
click batterystats.bin
click Delete
reboot system
Click to expand...
Click to collapse
Thanks, this helped me
Hello everyone,
My question for you is this:
I have HTC ONE M7 T-Mobile. Just put brand new battery in it.
1. Phone is on - battery shows %41
2. Go in TWRP - battery shows %25 >> I wipe cache and then >> Turn phone back on - battery shows %25
3. Phone is off and I plug it in to charge - battery shows %74
4. Go in TWRP - battery shows %71
5. Turn phone on - battery shows %74
6. Go in TWRP - battery shows %75 >> wipe cache
7. Phone on - battery shows %75
I'm listening to you guys what you think? Why I had those differences? Should I do it again and how often to make sure there won't be anymore like this cause I had times when phone is at %29, I take a photo, it turns off.
Keep in mind that all this had happened with my original battery as well.
Best Regards
dohcvtec said:
Hello everyone,
My question for you is this:
I have HTC ONE M7 T-Mobile. Just put brand new battery in it.
1. Phone is on - battery shows %41
2. Go in TWRP - battery shows %25 >> I wipe cache and then >> Turn phone back on - battery shows %25
3. Phone is off and I plug it in to charge - battery shows %74
4. Go in TWRP - battery shows %71
5. Turn phone on - battery shows %74
6. Go in TWRP - battery shows %75 >> wipe cache
7. Phone on - battery shows %75
I'm listening to you guys what you think? Why I had those differences? Should I do it again and how often to make sure there won't be anymore like this cause I had times when phone is at %29, I take a photo, it turns off.
Keep in mind that all this had happened with my original battery as well.
Best Regards
Click to expand...
Click to collapse
Facing the exact same problem with my Nokia XL. I've searched and tried for almost every method and app related to calibration and fix but nothing seems to work out.
What if I`m having the same issues and this folder does not exist here?
just that i needed
e154037 said:
To wipe battery in TWRP, do the following:
boot into TWRP recovery
/advanced/File Manager/
folder /data/system/
click batterystats.bin
click Delete
reboot system
Click to expand...
Click to collapse
thank you so much
found out how to do it from twrp
Battery charging only in ap fastboot
Hi,
My moto g4 plus discharge when connected to any charger including the original charger and only recharges in ap fastboot mode that too very slow and sometimes doesn't recharge at all but when it start getting charged it take around a whole day to get charged upto 100%.The original charger seems ok as it recharges other mobiles.
I have also hardbriked my hand set while trying to find a solution. Thanks to @siddhesh9146 [GUIDE] Moto G4 Plus HardBrick SOLVED - ULTIMATE UNBRICKING GUIDE. But My battery problem remains the same.

Nougat Battery Life [HTC 10]

I updated to Nougat couple of days ago at firmware 2.41.400.5 stock rom
Battery issues was huge to me and couldnt find out why, can anyone help me to identify why my phone was awake overnight? It happens even in safe mode.. ><"
Will be glad if anyone could help or suggest anything, did a cache partition wipe and reset from recovery after the update.
These are some additional stats from GSAM battery
Mine is definitely shorter, but not as yours. And no issue like the OS huge consumption. I saw some other guys have the same.
I used to get 6h+ screen on time, now is less than 4h30.
Alpert3 said:
Mine is definitely shorter, but not as yours. And no issue like the OS huge consumption. I saw some other guys have the same.
I used to get 6h+ screen on time, now is less than 4h30.
Click to expand...
Click to collapse
What should I do mate, any idea? This is crazy.
Anything in the BBS or WLD that I can deal with?
johnteolh said:
What should I do mate, any idea? This is crazy.
Anything in the BBS or WLD that I can deal with?
Click to expand...
Click to collapse
Sorry man, I don't know. I'd say a hard reset, but that works 50-50 for the users who ran into the issue.
johnteolh said:
I updated to Nougat couple of days ago at firmware 2.41.400.5 stock rom
Battery issues was huge to me and couldnt find out why, can anyone help me to identify why my phone was awake overnight? It happens even in safe mode.. ><"
Will be glad if anyone could help or suggest anything, did a cache partition wipe and reset from recovery after the update.
Click to expand...
Click to collapse
hi
in download mode > bootloader > recovery mode > factory reset > reboot
goodluck
Alpert3 said:
Sorry man, I don't know. I'd say a hard reset, but that works 50-50 for the users who ran into the issue.
Click to expand...
Click to collapse
Thanks man for your time to go through my post, appreciate it Maybe I will give the system another few day try before factory reset again. Not gonna flash any rom yet, as it will breaks its warranty
2.41.400.5
johnteolh said:
Thanks man for your time to go through my post, appreciate it Maybe I will give the system another few day try before factory reset again. Not gonna flash any rom yet, as it will breaks its warranty
Click to expand...
Click to collapse
Anyone can provide 2.41.400.5 stock ROM, or RUU stock file ROM.
mrsyamsul said:
Anyone can provide 2.41.400.5 stock ROM, or RUU stock file ROM.
Click to expand...
Click to collapse
hi
for you : https://www.androidfilehost.com/?fid=457095661767155503
What result?
It's kernel issue and I have same issue on all rom (custom and stock) and factory reset, custom kernel don't help me.
Ohio_wakelock - kernel wakelock. I think it's hardware problem.
Tornado77 said:
What result?
It's kernel issue and I have same issue on all rom (custom and stock) and factory reset, custom kernel don't help me.
Ohio_wakelock - kernel wakelock. I think it's hardware problem.
Click to expand...
Click to collapse
I had this issue both before and after i upgrade to nougat, but anyway, what I did was I let the battery drain the same way it does for about 1 week and recharge it every single time. I think after that the battery sets and now the battery life is pretty awesome during idle, less than 1% drain sometimes overnight, less than 5% if wifi is on. Perhaps just be patient. I doubt its a software problem.
Hope that helps mate.

Categories

Resources