Google

How Twitter used Doze in Android 6.0 Marshmallow to Improve Notification Performance- Google Developers Blog

Dec 21, 2015
How Twitter used Doze in Android 6.0 Marshmallow to Improve Notification
      Performance- Google Developers Blog
SummaryAI, from the source post

This post details how Twitter integrated with Android 6.0 Marshmallow's Doze mode to improve notification performance. It explains how Doze mode restricts background activity and how Twitter adapted its notification delivery to work within these constraints, specifically by using the new AlarmManager.setExactAndAllowWhileIdle API to schedule notifications even when the device is in Doze mode. This allowed for more timely delivery of notifications without significantly impacting battery life.

More from the Mobile Web Performance and Optimization trail