Skip to content Skip to sidebar Skip to footer

Progressbar Disappears In Battery Saver Mode (Android 5.x)?

I noticed that when the Battery saver mode is enabled (by the user or automatically) in Android 5.x - ProgressBars in application just disappear. No animation, no static progressba

Solution 1:

How to prevent that?

ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS allows you to request the user to allow your app to ignore battery optimizations, I haven't tried it out, but it seems legit.


Solution 2:

When Battery saver mode is enabled, every app on the device have the same issue.

Because Battery saver mode extends the battery life so that you can use the phone until you have a chance to charge it. It happens to every application. So don't worry.

How to prevent that?

By disabling Battery saver mode in Settings and then rebooting the device. Or you can request permission from the user to disable it.


Post a Comment for "Progressbar Disappears In Battery Saver Mode (Android 5.x)?"