"Data usage statistics" not shown

Bug #1287267 reported by Matthew Paul Thomas on 2014-03-03
130
This bug affects 33 people
Affects Status Importance Assigned to Milestone
indicator-network (Ubuntu)
Undecided
Unassigned
ofono (Ubuntu)
Undecided
Unassigned
ubuntu-system-settings (Ubuntu)
Low
Unassigned

Bug Description

Ubuntu Trusty r188

1. Go to System Settings > "Cellular".
2. Choose "Data usage statistics".

What happens: There's no such item.

What should happen: You're taken to a "Data usage" screen.
<https://wiki.ubuntu.com/Networking#cellular-usage>

description: updated
Sebastien Bacher (seb128) wrote :

Confirmed, we need ofono to provide us the statistics first though (which is not implement iirc)

Changed in ubuntu-system-settings (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Tony Espy (awe) wrote :

Monitoring data usage is not a feature supported by oFono ( or rild for that matter ). NetworkManager uses oFono to activate the cellular data connection, and then it sets up a default route for the device. As none of the actual network traffic flows through oFono ( or NM ) itself, it's not really something that oFono can provide.

This kind of data tracking needs to be done via direct monitoring of the actual network interfaces via the kernel /proc or /sysfs.

Changed in ofono (Ubuntu):
status: New → Invalid
Tony Espy (awe) wrote :

I've marked the ofono task Invalid. If there's disagreement about this, please let me know.

Sebastien Bacher (seb128) wrote :

Thanks Tony, I don't especially disagree but do you have a suggestion about what process should be watching those interfaces? It can't be ubuntu-system-settings since that's not running all the time, should it be n-m doing it (in which case should be reopen and reassign from ofono to it)?

Niklas Wenzel (nikwen) wrote :

In addition to the information provided in the mockup from the design team it would be nice to see stats on a per-app basis.

Matthew Paul Thomas (mpt) wrote :

(Niklas, I reported that as bug 1387047. If you have them, please add use cases, comparison screenshots, etc to that bug report.)

Niklas Wenzel (nikwen) wrote :

@Matthew Paul Thomas: Thanks, I'll comment on the other bug.

We have already implemented a data usage information DBus interface in network-manager, which includes cellular radio interfaces. indicator-network will eventually use it to show when there is data being transmitted. It probably should also log the number of tx/rx bytes so this information can be shown later by u-s-s.

Jonas G. Drange (jonas-drange) wrote :

Great. Maybe the private Connectivity API can expose this information so that USS can get a total data usage via an endpoint like GetHistory(device|type|app, timespan, resolution)?

@Alfonso, is this DBus interface documented somewhere? Can it be broken down per device, type or app? It would be nice to solve bug 1387047 at the same time as solving this one.

Hi guys, Just to keep in mind that we have already a Qt API to be used by clients app, we probably just need integration with the DBUS API.

http://doc.qt.io/qt-5/qnetworksession.html

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers