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

Summary
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
- The Speed Benefit of AMP Prerendering- Google Developers Blog
- AMP Compression Update- Google Developers Blog
- Mobile web and machine learning solutions: Case studies from Launchpad Accelerator- Google Developers Blog
- Optimizing for Bandwidth on Apache and Nginx- Google Developers Blog
- Optimizing the Critical Rendering Path for fast mobile websites- Google Developers Blog