Question How do you clear battery usage stats? - Google Pixel 6 Pro

I want to clear my "battery usage" stats; the graph that shows our charge and power usage over 24hrs, and came across some topics about deleting 'batterystats.bin' file, but I wanna be sure that's correct.
Can anyone confirm?

You'll likely need to be rooted because it's under /data/system
Why do you want to clear the stats?

Related

[Q] HTC Desire with OpenDesire 3.6.1 battery issue?

Hi all,
I was reading on this forum, and also read the thread in which the battery lifetime of OpenDesire and DeFrost are 'compared' in a poll. In this thread there are really differing experiences with the battery lifetime of both of them.
Reading this thread I can only conclude that the ROM itself is not the issue, but some app or setting is eating my battery. When I turn the phone in fly-mode before going to bed (battery full) I wake up next morning, and there's only about 60% - 65% capacity left...
When I take a look at the battery statistics I see that 60% is used for standby, 30% for the OS, and the rest is for other stuff. I did kill all applications before going to bed, and I've a task manager which is on 'safe autokill' every hour...
How can I find what's eating my battery?
First of all, stop using that task killer to auto kill - at least for the duration of your investigations! It will do you no good if you are trying to work out what is causing your problem. Similarly, if you are using any battery "savers" or monitors (e.g. JuiceDefender, SetCPU etc), deactivate them all.
Secondly, take a look at the partial wake usage on the phone to see if anything is keeping the phone from sleeping. You can find this via Spare Parts, or by entering *#*#4636#*#* in the dialer - then select Battery History and from the first drop down select "Partial wake usage".
Thirdly, if you've had no success finding out what is causing your battery drain, I suggest that you make a Nandroid backup before you put the phone on charge, wipe it, put in in Airplane mode then leave it overnight in a vanilla state to see if this affects the battery consumption. If you are still getting excessive battery drain, I'd suggest reflashing a different ROM might be a good idea.
Regards,
Dave
wow... Thanks for your impressive reply! Not really used to such detailed replies on forums ;-)
Will try this, and post the results if I still have problems. Thanks!

[Q] My phone isn't sleeping

So for the past week or so my phone's "Cell standby" and "Phone idle" percentage has been the same, thus eating my battery up significantly faster than normal. It usually doesn't stay that way as the day goes on, however it has been of constant concern. I have used the "Spare Parts" app and there is no partial awake usage that's alerting. I have "Sytempanel" installed and not really sure what to look at to determine what's wrong. I've did a dalvik cache wipe and still nothing. I guess the only other step is to wipe my phone which I hate to do. Any ideas?
*BUMP* Any ideas?
Did you install any new apps recently that could be sucking your battery juice? A new kernel, perhaps? We don't have any info as to what rom/kernel combo you are using to try and point you in the right direction.

[Q] Do I really need to calibrate battery after ROM change?

If when fully 100% charged my phone battery voltage shows 4199mV(same as when it was with stock unrooted rom), do I need to calibrate still?
Second: To do calibration on my desire hd is it enough just to delete batterystats.bin file when my phone is on 100%/max voltage charge? Then use it as normally? Because I read like few methods to do that(like delete the file--->full discharge-->full charge or delete the file--->that's all, use it normally).
Sorry to bother you with, I am sure, such a easy noobish questions answered 300 times in 1000 threads, but I read so many opinions... some even say after calibration their actual battery life degrade? Thanks for your answers!
If its working fine for you there is no need to calibrate.
The proper method to calibrate is to charge until the battery takes no more current (ie Current Widget shows 0 milliamps) then delete batterystats.bin, unplug the charger, fully discharge until it turns off, then fully charge.
Its impossible to degrade the battery life by calibrating. Calibrating shows a more accurate reading of the actual charge. That only means that these people who have experienced a "degrade" were used to values that were higher than they were meant to be before and calibration corrected it.
on the market, you have very nice app, is called: "Battery Calibration", easy to use, recommended.
I used "Root Battery Calibrator" myself. It has a little red robot as an icon. But all these apps do is delete BatteryStats.bin so they are kind of useless if you know what you're doing with the system files and directories.
clockwork mod also deletes BatteryStats.bin, so i think it's an easy with this app, because i dont need to go to clockwork just to delete batt stat.
Personally I believe it's good to do a calibration after flashing a new ROM.
I do calibrate the battery every time after I update or flash a new ROM.

Wipe battery stats

Phone's battery percentage drops by 2% each time rather then 1%, how do i clear or reset the stats? Cant find a setting in twrp and the play store apps are all old versions. Any advice would be much appreciated!
queerquirks said:
Phone's battery percentage drops by 2% each time rather then 1%, how do i clear or reset the stats? Cant find a setting in twrp and the play store apps are all old versions. Any advice would be much appreciated!
Click to expand...
Click to collapse
Same happening to me, any advice yet?
Run the device down to 0% and recharge it over night with the device off. Battery calibration will happen its own

battery drainage

anyone else pixle 3 XL has a huge battery drainage? I go from 100 percent to 82 percent in one hour on standby time.. Does anyone has a fix or know what can be causing it to drain like that?
99% of the time it's an app causing it. Look in your battery stats and see what's draining it
Sent from my Pixel 3 XL using Tapatalk
superchilpil said:
99% of the time it's an app causing it. Look in your battery stats and see what's draining it
Click to expand...
Click to collapse
No, it's not a app, it started doing this after the June software update. I also has it in safe mode and left it on standby for two hours and it's still draining fast. I could probably left it there for a few hours and it would've been dead the way it's draining.
Cantholdthis17 said:
No, it's not a app, it started doing this after the June software update. I also has it in safe mode and left it on standby for two hours and it's still draining fast. I could probably left it there for a few hours and it would've been dead the way it's draining.
Click to expand...
Click to collapse
Try resetting all apps in the reset menu within Settings. If that doesn't work find better battery stats (BBS) here on xda. Install and let it run overnight. In the morning retrieve the log and if it is as bad as you say, the culprit should be obvious. If not just update the phone flashing July (full image not OTA) and let it wipe your data (don't edit the flash-all script)
v12xke said:
Try resetting all apps in the reset menu within Settings. If that doesn't work find better battery stats (BBS) here on xda. Install and let it run overnight. In the morning retrieve the log and if it is as bad as you say, the culprit should be obvious. If not just update the phone flashing July (full image not OTA) and let it wipe your data (don't edit the flash-all script)
Click to expand...
Click to collapse
To be fair the July update has been the worse for me.
I posted a battery stats reset tutorial in pixel 3 xl forum, i was having same issue of battery drain 2% every 3/5 mins, it worked for me, and im 90% sure its the device health services eating up the battery due to the app not sleeping and and getting stuck, resulting in a warm phone and battery drain. Im not saying it will fix you issue but it defo worked for me., Search possible fix for idle battery drain. If reset properly, battery app will say something like "last charge 55days ago " or when ever your phone was calibrated at factory.
Disable digital wellbeing. Mine went from off the charger at 6am, less than 15% by 9pm to 30-40% left at 9. Just find usage access (just search in settings), find it and click it off. Then go to the app and restrict battery and turn off background data. This worked for me, but I don't know if anyone else here tried it. I did read an article about it affecting performance though. Let me know if it helps!

Categories

Resources