"Data usage statistics" not shown

Bug #1287267 reported by Matthew Paul Thomas
130
This bug affects 33 people
Affects Status Importance Assigned to Milestone
indicator-network (Ubuntu)
New
Undecided
Unassigned
ofono (Ubuntu)
Invalid
Undecided
Unassigned
ubuntu-system-settings (Ubuntu)
Triaged
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
Revision history for this message
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
Revision history for this message
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
Revision history for this message
Tony Espy (awe) wrote :

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

Revision history for this message
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)?

Revision history for this message
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.

Revision history for this message
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.)

Revision history for this message
Niklas Wenzel (nikwen) wrote :

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

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

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.

Revision history for this message
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.

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

@Jonas, this is the spec:

https://developer.gnome.org/NetworkManager/unstable/gdbus-org.freedesktop.NetworkManager.Device.Statistics.html

(we already upstreamed it, and backported to vivid).

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.