First, I'm currently using Android 6.0 on a Nexus 5, although this issue was already present when I was using Android 5.0.

Now I'll explain what I mean by "not seeing the warning bar". Regularly, the Settings > Data usage screen looks like this.

normal data usage

You can visibly see the warning bar, and that it is set to 4.7 GB.

Now, the Settings > Data usage screen on my device looks like this:

buggy data usage

As you can see, there is no warning bar, and also no greenish graph that shows my recent cellular data usage.

How it happened, you ask? Well, it's a (more than a-) little silly. Usually, to change the warning bar, you hold on to it by pressing it, and then you slide up or down to increase or decrease the warning limit. I got a little bored I guess, pressed the warning bar, and started to continually raise it, as I was interested in the upper limit that Google enables. I took some time, but After getting to between 1.0E8 and 1.0E9 (it was hard to tell, since that number was rapidly increasing on my screen), it went back to 0, and started increasing from 0 again.

I was satisfied with my discovery, and wanted to try to stop the warning bar as close as possible before it resets to 0. After a few attempts where I came closer to achieving my goal, I accidentally lifted up my finger a bit while I was increasing the warning bar's limit. At 'normal' limits, nothing happens, and you can continue changing the limit afterwards. But when I lifted my finger up, my limit was in the range of tens of millions of GB. And when I lifted it in the middle of continually increasing the warning bar, the bar just disappeared, and with it, the graph.

My guess is that the bar was set so high, so the amounts of cellular data I use are insignificant compared to it, and that's way no graph is shown. But why can't I see the warning bar?

Anyway, this happened a few months ago, when my Android version was 5.0. I searched on this issue, but haven't found anyone else that encountered my problem. Also, before posting this question, I tried to reenact my scenario on another friend's Nexus 5 (running Android 5.1.1), to maybe gain more information about what happened on my device. A minute of experimenting later, his warning bar vanished too.

Any idea how can I resurrect the warning bar? (preferably without rooting the device or another 'drastic measure')

  • 1
    Expected dialogue: former friend (to you) "Thanks for that!" ;-)
    – wbogacz
    Jun 27, 2015 at 20:51
  • 1
    This is an interesting question. Sounds like an AOSP bug.
    – Huey
    Jun 28, 2015 at 1:46
  • Not sure with the Nexus 5, But on my Note 4, Settings > App Manager, Swipe to all. Then scroll till you find Settings and/or Settings Storage and clear data on them. It might reset all your settings but might reset the data limit screen for ya. That is if you don't mind resetting up all your settings. Worth a shot at least I guess.
    – jer3my
    Jun 30, 2015 at 0:11
  • 1
    I have a fix, but it's for rooted device only. I'm not sure if there's a solution without rooting (hopefully there is...). Anyway, it seems this bug is not yet reported on AOSP Issue Tracker. Would you mind to post it there also, and get back to us after that?
    – Andrew T.
    Jun 30, 2015 at 2:42
  • 1
    Thanks @AndrewT. I posted the bug on the Issue Tracker: #178481.
    – Avia Efrat
    Jun 30, 2015 at 8:39

1 Answer 1


This is indeed a bug, or possibly, an overlook by Google, since the possibility for this bug to happen is very small. The bug occurs when you set the data limit above 700,000,000 GB (or 700 petabyte).

Note: This solution needs root access since it modifies a system file directly.

  1. Open file manager that can browse internal storage (e.g. ES File Explorer)
  2. Browse to /data/system/
  3. Open netpolicy.xml as text file
  4. Find <network-policy> entry which has an attribute of warningBytes="<very_large_number>" (in my case, it's warningBytes="775911474387222528")
  5. Edit the value to reasonable number (e.g. 1000000 for 1MB, this is for temporary value)
  6. Save and close the file
  7. Restart the device (important)
    If you don't restart the device, opening "Data usage" will reset and overwrite the file with previous buggy value, thus you have to do it from beginning
  8. Open "Data usage", and the data limit bar should come back

Update: this issue has been mitigated on Android 6.0.1. The maximum warning/limit bar is set to 1TB.

Clamp large data usage values.

Without clamping, they can wrap around to negative values and cause all sorts of havok. 1TB ought to be enough for anyone: that's 3Mbps for a solid month.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .