Please could anyone help me with a flow?
I need to clear the data usage and start a new measurement (continuously since this usage reset, not since the last reboot). After 30 days the usage should be cleared again and the measurement should start again for next 30 days.
To the counting and to show the value can be used either the "Android - Data usage" or directly the Automagic.
(To the data usage reset, the action "Delete App Cache" could not be used because Android ignores this function for system apps.)
Thanks a lot!
data usage measurement
Moderator: Martin
Re: data usage measurement
You can't clear android data usage (maybe with root?).
Use Automagic action Init Variables Network Statistics to get data usage of your desired period.
Use Automagic action Init Variables Network Statistics to get data usage of your desired period.
Re: data usage measurement
Even I haven't finished the flow definitly yet, I'm working on it and it seems to be usable for me. Because it is (as you adviced me) not necessary to clear the data usage, I don't need it (even I have a rooted device).
Thank a lot!
Re: data usage measurement
If you really need to clear up the network data statistic and you have root, you can clean up the files at /data/system/netstats
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: data usage measurement
I knew, it is necessary to clean up some data in some directory, but now I don't need it. Even though, thank you for your response and for your advice!