Page 1 of 1

data usage measurement

Posted: 19 May 2019 16:31
by (_!_)
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!

Re: data usage measurement

Posted: 20 May 2019 01:27
by anuraag
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.

Re: data usage measurement

Posted: 20 May 2019 20:10
by (_!_)
anuraag wrote:
20 May 2019 01:27
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.
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

Posted: 25 May 2019 15:37
by Desmanto
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

Re: data usage measurement

Posted: 29 May 2019 10:32
by (_!_)
Desmanto wrote:
25 May 2019 15:37
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
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!