AFAIK, there's no way for ofono to know that "credit has run out". ofono is responsible for attaching to the GPRS network and ensuring that the correct ConnectionManager DBus properties are exposed ( 'Powered' and 'Attached' ). Likewise ofono exposes one or more GPRS contexts which NM may choose to activate.
If the operator responds to an context activation request with valid IP settings, then NM will use them to configure the data connection. If packets on this new interface are dropped, we currently lack any kind of network heartbeat mechanism to detect this situation. This is no different than being in an area that has borderline signal quality. This is quite similar to the case where an Ubuntu desktop is connected to a WiFi AP, but the the ISP that the AP is connected to is having issues. @Michael - in order to confirm the ofono state, could you please include the output of ofono's 'list-modems' and 'list-contexts' scripts ( which can be found in /usr/share/ofono/scripts on the phone )? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1413302 Title: GSM connected, but no data plan - should report disconnected Status in the base for Ubuntu mobile products: New Status in Ubuntu Connectivity API: Incomplete Status in network-manager package in Ubuntu: Incomplete Bug description: Steps to reproduce: 1. insert SIM card with data plan that has run out/expired 2. notice NetworkingStatus reports connected, but there's "no Internet" phablet@ubuntu-phablet:~$ nmcli d DEVICE TYPE STATE /ril_1 gsm connected /ril_0 gsm disconnected phablet@ubuntu-phablet:~$ system-image-cli --info current build number: 205 device name: krillin channel: ubuntu-touch/ubuntu-rtm/14.09-proposed last update: 2015-01-21 10:06:15 version version: 205 version ubuntu: 20150121 version device: 20150113-2a2e4c5 version custom: 20150112-494-23-173 To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413302/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp