ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Follow publication

Android Battery Optimization for Avoiding Doze Mode and App Standby

Elvina Sh
ProAndroidDev
Published in
4 min readJul 2, 2020

Photo by Gaspart from Dribbble

Doze mode and App Standby

Photo from Android developer website

Battery optimization

Screenshot from Android developer website

Code for requesting battery optimization permission

<uses-permission 
android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>

Conclusion

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Published in ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Written by Elvina Sh

Marketing associate at Navigine.com — Integrated software platform for precise indoor and outdoor positioning.

Responses (2)

Write a response