Comment 14 for bug 1446584

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

So we're consuming more power when flight mode is enabled because push-client is holding the suspend blocker for more time than when you have a working connection (flight mode disabled) in place.

From logs, with radio on:
 7869 Apr 21 09:15:12 ubuntu-phablet powerd[930]: handle_requestSysState from :1.132 - ACTIVE (1)
 7896 Apr 21 09:15:18 ubuntu-phablet powerd[930]: handle_clearSysState from :1.132, cookie: 2cca2d22-cef5-4f53-bd45-49f04d3dded5

With radio off:
  515 Apr 21 12:15:12 ubuntu-phablet powerd[930]: handle_requestSysState from :1.132 - ACTIVE (1)
  558 Apr 21 12:16:12 ubuntu-phablet powerd[930]: handle_clearSysState from :1.132, cookie: 4a98dd84-ce27-42e6-b7ff-c17089ad301f

So push wakes up the device at every 5 minutes and keeps it awake for an entire 1 minute (probably the timeout for not finding a connection).