Android by default resets the battery history once battery is charged beyond 90% or when certain other conditions are met.
What I did which did not work:
Delete /data/system/batterystats.bin while android is running.
Battery history is still there
What I did that work:
Delete /data/system/batterystats.bin in adb while in recovery.
Battery history got reset.
But I am looking for an easier way to do this - the android system can reset the battery history on the fly without the need of going to recovery/reboot.
Before you say deleting this file won't help with the battery life - yes, I am very award of this myth. But all that I am looking to do is really just to reset battery history on the fly, because I often amass weeks of battery history that it becomes difficult for me to look at how the battery is doing in the past few days or so.
Charging battery above 90% would of course work, but this is not what I am looking for. I want a way to manually and instantly reset the battery history.
Thank you! I appreciate your input and help.