title: Data usage + application data usage
body: <p>I have done one Android application for getting total data usage and each application data usage every 24 hours once.</p>
  
  <p>Application data usage:</p>
  
  <pre><code>CODE: SELECT ALL
  long recv = TrafficStats.getUidRxBytes(uID);
  long sent = TrafficStats.getUidTxBytes(uID);
  </code></pre>
  
  <p>Total Data Usage:</p>
  
  <pre><code>CODE: SELECT ALL
  ong recv = TrafficStats.getTotalRxBytes();
  long sent = TrafficStats.getTotalTxBytes();
  </code></pre>
  
  <p>But, the summation of data usage reported by the 'App Usage' is greater than overall 'total dataUsage' values.</p>
  
  <p>What is the exact reason/problem here?</p>