Average-data-usage-widget
Average-data-usage-widget copied to clipboard
[BUGs] the widget doesn't work properly in Android 13, OneUI5.1
[BUGs] the widget doesn't work properly in Android 13, OneUI5.1
My annually data plan is 4.5GB per month. My seetings are as screenshot images the symbol in widget seem shows correct BUT the actual widget SHOWs strange information.
Even I has tried different setting in tweaks
- such as show sonsumed data in the 1x1 widget
In my phone settings/ data usage > reports as I have been used 862MB over 4.5GB data plan, BUT the widgets shows something else
I think there are several misunderstandings here, let me try to clarify the screenshots one by one:
This screenshot shows the widget picker. The images shown there are just static images, those one in particular are this and this. Nothing strange here.
This is your device settings, you have a 4.5GB monthly data plan and you have used 871MB. This is measured by the device (and what the app receives) so this is the 'truth' and the app can't modify it.

These are the app settings. You have correctly configured a monthly data plan, and the 4.5GB (although you should enter 4.5GB*1024= 4608 instead, to be precise.). You want to show data in MB (you may want to change it so that it shows data in GB instead) and 3 decimals (maybe you should consider reducing that to 2) and showing pending data. The tweak is for the 1x1 widget so it doesn't apply.
This one shows the actual widget with you real data. The upper bar is basically a 'month' progress bar, 100% will be on day 1, 0% on day 31. The bottom bar shows the usage data. You have consumed 871MB from 4500, aka 19.36%, which in reverse is 100-19.36=80.64. The widget shows 100.69 instead, which means that you have configured accumulated data (the previous screenshots don't show this, it's at the bottom of the settings screen, it could help if you provide it too). From those numbers you have probably entered 4500+x-871=4531.102 => x=4531.102-4500+871=902.102 aprox. Maybe you mistakenly though this was the currently used data when you configured the app? It's not.
So, thing is: If you don't accumulate data between months (what I mean is: if one month you consume only 400 from those 4500, next month you will still have 4500 and not have 4500+500=5000), then change the accumulated period number to 0. If you do have accumulated data, but still the number shown is incorrect, you need to change it so that it shows the expected one, which will be what your provider tells you (android doesn't allow this setting).
Thank you for very details explaination. I don't have accumulated data, it resets every month with 4.5GB starting from day 1 of each month) Now, I got the right configure for bottom bar (it's now showing my current used data) BUT, I still not understand the upper bar means. What are showed data meaning ? As you explained: "This one shows the actual widget with you real data. The upper bar is basically a 'month' progress bar, 100% will be on day 1, 0% on day 31"
What is the meaning of 2,973.64 MB (64.64%) ? => does it mean the pending of the usage 'average data' ? (I can't configue these values ralated to the number of data plan 4.5GB and data has been used 0.94GB ) How to get these value ?
4,600MB / 31days = ~149MB per day From 1st May ~31st May (As of today is 20th May => 11 days left) 11days * 149MB = ~1,632.258 MB 4,600 - 1,632.258 = 2,967.74MB ( this value closed to the value 2,973.64 MB above) . Is it right ?
As I understand that the widget tell me => The top bar: Up to 20th of May, I can used the average data up to 2,967MB data but actual I used only 944MB. The bottom bar is the actual used data rate: 944MB
Glad that the bottom bar issue is sorted, I'm going to close this as solved then (but don't worry, we can continue discussing).
As for the top bar, yes! Your calculations are correct. The exact number is calculated to the exact millisecond (not just day) that's why it's slightly smaller, as you made the screenshot at 9:34, not 0:00. The top bar is the 'consumed' data that a user would have if they was browsing the internet 24/7 with the exact amount so that they will spend exactly all the data when the month ends.
With 4.5GB total this may be useful to you. When june 1st arrives, all your unspent data is 'lost', and perhaps you feel bad because some day you didn't downloaded a file thinking that you would run out of data in the future. That bar will help with that. If the top bar is longer than the bottom bar it means that you can still consume more data and not risk running out in the end (if the trend continues). If the top bar is smaller than the bottom it means that you may end up running out before the end of the month, so you may want to disconnect a bit (of course all this is an average and every day the real amount is different). Note that if you click the text of the widget you get a small message with the date where the top bar will 'match' the bottom (if you have consumed less it will be a date in the past, if more in the future) so that if, for example, tomorrow you are going to be disconnected from the internet you can spend more than the average until that 'date'.
As for now, you should be able to consume more data without issue, you have spent 'only' 0.94 from 4.5, and there are only 10 days left, in fact you can consume roughly 2GB more, so go watch some youtube videos at 4K, you earned it ;)
I'm aware all this data is probably micromanaging something that is not even that useful, but I made the app for myself and published just because, if it's useful to others (even if it takes several posts to explain it properly 😅) perfect then.