Closed
Bug 809608
Opened 12 years ago
Closed 12 years ago
Cost Control / Data Usage app doesn't track my data usage anymore
Categories
(Firefox OS Graveyard :: Gaia, defect, P2)
Tracking
(blocking-basecamp:+)
People
(Reporter: dholbert, Assigned: salva)
Details
(Keywords: b2g-testdriver, regression, unagi)
Attachments
(3 files)
I'm not sure when this started, but at least since I reflashed my phone yesterday, the "Cost Control" / Data Usage app hasn't been tracking my data usage.
In that app's settings, I set Data Use Alert to on, w/ Alert me when used: 2GB. And since then, I've disabled WiFi and browsed the web (including downloading a ~200KB HTML ebook in the browser). And yet, the status-bar pulldown screen still shows my used data as being "0.00 MB", and the cost control app shows my usage (both WiFi and 3G) as being at 0MB, with the graph showing flat lines.
Reporter | ||
Comment 1•12 years ago
|
||
I'm using the latest stable dogfood build, datestamp 2012-11-06 20:52:24
Reporter | ||
Comment 2•12 years ago
|
||
(And I have "Reset tracking" still at its default value, "Never", in the Cost Control app. So that's not responsible for this)
Updated•12 years ago
|
blocking-basecamp: ? → +
Priority: -- → P2
Assignee | ||
Comment 3•12 years ago
|
||
Problem here is the graphic has not enough vertical resolution. I'm working on a patch for this. Try setting a very low alarm (around 1MB). You'll still see 0MB but the graphic should not be flat any more.
Can you confirm this? If so, we can change the name of the bug to be more descriptive but I think we can mark it as blocking -
Flags: needinfo?(dholbert)
Reporter | ||
Comment 4•12 years ago
|
||
I don't think that's it. The status-bar pulldown screen has more resolution -- it says "0.00 MB" (3 significant figures), and as noted in comment 0, I downloaded a single file over cell-data that was 200 KB == 0.2 MB. So that should have upped 0.00 MB to 0.20 MB if we were tracking things.
Flags: needinfo?(dholbert)
Reporter | ||
Comment 5•12 years ago
|
||
Ah, OK -- so comment 3 is sort-of correct -- if I set the alert-level to 1 MB, then I do see the graph going up slightly, but *only* for WiFi (not for cell data -- that's still at 0).
(Side-note: The cost-control app labels the cell data usage as "3G". Perhaps it's not tracking it because our dogfood-phones don't support 3G data in the US, so all of my cell data usage is 2G/"E"? It *was* tracking it for the first few weeks I had my dogfood phone, but maybe that was a bug...?)
The WiFi data graph says I've used about 0.15 MB, which is way off -- I've downloaded at least two system updates over WiFi, which were each 40+ MB. And I just now re-download Alice's Adventures in Wonderland (0.2 MB) a few times over WiFi, and my cost control graph didn't budge -- it remains fixed at ~0.15 MB.
So that graph seems to either be missing a lot of things, or be off by a few orders of magnitude.
Reporter | ||
Comment 6•12 years ago
|
||
OK -- after turning my phone off and on (to switch the SIM card) and letting some time pass, I just noticed that:
(1) WiFi data usage has jumped to 3 MB in the cost-control app (still way under the amount I've used, but not quite as crazy-small)
(2) Cell data usage is still a flat line in the cost-control app, but the status-bar pull-down now places it at 0.01 MB. (Also still way under the amount I've used, but nonzero at least)
Reporter | ||
Comment 7•12 years ago
|
||
...and now it seems to be getting more accurate. I just downloaded Alice in Wonderland (0.2 MB) a few more times, and then Beowulf (0.5 MB), all over cell data, and now my data usage bar reads 0.79 MB, which is closer to the truth for the past few minutes.
(It didn't update immediately -- I quit the browser and waited a little while before it actually updated. I'll file a separate bug on that.)
Resolving as WORKSFORME for the time being. If I run up against this again, I'll reopen.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Comment 8•12 years ago
|
||
Confirmed by Telefonica QA team or something very related to.
STR:
1-Pull down notification tray
2-Tap in data usage module
3-Open browser app and surf the internet
4-Pull down notification tray
5-Tap in data usage module
Expected result --> Verify that in the top part of the graph, Wifi data used is increased
Actual result --> Wifi data used is 0, it doesn´t matter what you do
Assignee: nobody → salva
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Reporter | ||
Comment 9•12 years ago
|
||
That does sound like what I was hitting when I filed this bug (though in my case it mysteriously started working at some point).
For reference: see also bug 810057, about there being some time-delay even when this is working correctly.
Comment 10•12 years ago
|
||
Milestoning for C2 (deadline of 12/10), as this meets the criteria of "known P2 bugs found before or during C1".
Target Milestone: --- → B2G C2 (20nov-10dec)
Assignee | ||
Comment 11•12 years ago
|
||
The change improves the way in which rounding is performed over data amounts increasing the scale to take in counts bytes and kilobytes.
Furthermore, it keeps the synchronization every two minutes and after showing the widget. The problem here is Gecko does not provide live values or system messages to keep this values up to date in real time so it is necessary to poll the data. See bug #810057.
Attachment #681944 -
Flags: review?(francisco.jordano)
Updated•12 years ago
|
Attachment #681944 -
Flags: review?(francisco.jordano) → review+
Comment 12•12 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Keywords: regression
Comment 13•12 years ago
|
||
issue reproduces in build 20130103070203 for Unagi - new bug created, see #826861
Comment 14•12 years ago
|
||
Comment 15•12 years ago
|
||
Reopening this bug
Verified on Unagi device Build ID: 20130113070202
v 1.0.0-Prerelease
STR:
1. Go to settings and disable wifi and enable cellular and data
2. Go to cost control and on the usage screen "disable wifi"
3. Hit home button
4. Go to a browser app to browser through few pages so that cellular data is used
4. go to cost control app again to see the data usage
5. go to home
6. Pull down the notification tray to see the data usage
Expected result:
Data usage seen by the user on both on cost control app and notification tray
Actual result:
Data usage is not seen by the user on seen on notification tray
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 16•12 years ago
|
||
Please file a new bug for the issue you hit and link it as a dependency on this bug. Don't reopen - it makes tracking blockers a royal pain.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Comment 17•12 years ago
|
||
Reporter | ||
Comment 18•12 years ago
|
||
Yes, definitely file a separate bug on that -- that's a distinct issue from what this bug was filed about, and it's best to track one issue per bug, for sanity's sake. (Definitely looks important, though! Attachment 701620 [details] looks bad...)
Comment 19•12 years ago
|
||
Oops sorry. added my comments to the prevailing bug #826861
Reporter | ||
Comment 20•12 years ago
|
||
Your bug doesn't sound like that bug's original steps-to-reproduce or results either...
Rule of thumb: if you have different steps-to-reproduce and a different end-result, please file a new bug, especially if the existing bug is closed. :)
Reporter | ||
Comment 21•12 years ago
|
||
er, make that "different steps-to-reproduce _or_ a different end-result."
You need to log in
before you can comment on or make changes to this bug.
Description
•