With Android Marshmallow Google introduced two new power-saving modes: Doze and App Standby. True to their intent, both provide longer battery life and better performance. Their effectiveness further improved in Android Nougat. However, these modes carry some limitations developers should be aware of. To further improve power-saving Android O will be even more restrictive and disable common implicit broadcasts. Many apps rely on implicit broadcasts so if you're using those, supporting older and newer devices at the same time is going to be more challenging. This talk will explain why these new APIs are better. We will discuss the given tools and dive into the new APIs. Finally, we will explore effective solutions to avoid duplicating code over and over again for different SDK versions.
Ralf Wondratschek is a Sr. Software Engineer, Android on the Evernote product team. Ralf works on the core Evernote client with a special focus on software architecture, the camera and third party app integration. He also maintains several open-source projects on Github like the Evernote Android SDK and the job library for Android. Prior to Evernote, Ralf worked together with several companies in Germany and published as independent developer three apps in the Google Play Store.