rild holds a wakelock for only 200ms so its quite possible the phone suspends while we are waiting on that timer. Also, QTimer must not use hardware wakeup events or things would work. We need to figure out where to put a wakelock request, repowerd provides an interface for this. It wold also be good to remove that timer and find a better way to handle when messaging app is open.
See comment #25 which is a similar issue with clock alarms in indicator- datetime, although it has logic to keep the device awake which is clearly not working. ** Tags added: wakeup -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to telephony-service in Ubuntu. https://bugs.launchpad.net/bugs/1516696 Title: SMS notifications are received only when the phone is unlocked Status in Canonical System Image: Confirmed Status in powerd: New Status in Unity System Compositor: New Status in indicator-messages package in Ubuntu: Confirmed Status in ofono package in Ubuntu: Confirmed Status in telephony-service package in Ubuntu: Confirmed Status in unity8 package in Ubuntu: Incomplete Bug description: WHAT HAPPENED: The phone stays quiet while locked but once the power button is pressed (unlocked), SMS notification are received with vibration, notification bubble and sound alert. The message received shows that it was actually received 10 minutes ago. This happened multiple times already but I think I ignored them and this seems to have started after OTA-7 was released. EXPECTED: The phone should have the vibration, notification bubble/indicator and sound alert even if the phone is locked. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1516696/+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