I want to get battery usage data from my OnePlus 5 over a longer period (months), to keep track of how much I use my phone.
I've been playing around with adb and the batterystats dump, like so:
adb shell dumpsys batterystats > batterystats.txt
,but this data only seems to cover the data since the last charge.
Is battery usage data even stored for a longer period on your phone? Or is it reset every time you charge it? If it is stored somewhere, how would I access it?