** Description changed:

  Reproduce:
  Have SIM with bad data plan.*
  Wi-FI OFF.
  Cellular data ON (and ofono reports Attached = 1)
  $ gdbus call -e -d com.ubuntu.connectivity1 -o 
/com/ubuntu/connectivity1/NetworkingStatus -m 
org.freedesktop.DBus.Properties.Get com.ubuntu.connectivity1.NetworkingStatus 
Status
  
  What happens
- (<uint32 70>,)
+ (<uint32 70>,) (NM_STATE_CONNECTED_GLOBAL) [1]
  
  What should happen:
- (<uint32 20>,)
+ (<uint32 20>,) (NM_STATE_DISCONNECTED) [1]
  
  This assumes that NetworkManager's State property definition of
  “Connected” is equal to “Connected to the Internet”. If it's not, then
  this needs to be resolved elsewhere.
  
  * Not sure what the exact definition of a bad data plan is, but assume
  “out of cash”, but ofono still attaches.
+ 
+ [1] https://developer.gnome.org/NetworkManager/0.9/spec.html#type-
+ NM_STATE

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

Title:
  NetworkManager.State reports connected when not

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to