I'm pretty sure this is due to the fact that when this feature was
implemented in the system settings, it was implemented as a 3-way choice
for mobile data:

- Off
- 2G Only
- 2G/3G/4G (faster)

While this is nice, the technology selection ofono/rilmodem code hasn't
been implemented, so I'm nos sure what the setting page does when the
setting is changed back to 2G or 2G/3G/4G.

It would have been preferable if this was  implemented first as a simple
On/Off toggle ( which was previously implemented in the indicator and
known to work ).  The previous implementation just toggled NM's
WwanEnabled property.  Here's the dbus send commands to toggle it off,
and then back on again:

Off:
dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager 
/org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Set 
string:"org.fr
eedesktop.NetworkManager" string:"WwanEnabled" variant:boolean:false

On:
dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager 
/org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Set 
string:"org.fr
eedesktop.NetworkManager" string:"WwanEnabled" variant:boolean:true

Note, I think this is really

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1220450

Title:
  Cellular allows data to be turned off but not back on

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1220450/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to