-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable Disable battery optimization #422
Comments
This is something that can only be changed in Android's settings. It's dumb that it was designed this way. Android only has an API that apps can use to request that setting to be turned on, but not to turn it off. On Google Pixels and other less customized ROMs, the setting is at Settings -> Apps -> BCR -> App battery usage (Optimized == off, Unrestricted == on). For other devices, you'll likely have to dig around to find the equivalent option. |
Ok, many thanks. On the moto g73, which mostly has stock android 13, it's just as you said. Still, I would have never figured that out on my own. The "Pause app activity if unused" would have been my first guess. Maybe you can add an image or mention the battery submenu or something? |
That's a great idea. I'll dig around and see if there's a way BCR could open Settings to the correct page. If not, at the very least, I'll stop graying out BCR's option and make it show a message when the user tries to turn it off. |
Currently, BCR will just gray out the `Disable battery optimization` option after it is enabled because Android does not provide a way for apps to re-enable optimizations. This isn't very user-friendly, so this commit updates the option to never be grayed out, but instead, take the user to the appropriate page in Android's Settings. Fixes: #422 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
This is fixed in #424, which will be included in version 1.52. The option will no longer be grayed out. When the user tries to disable it, BCR will open Android's Settings to the correct page. |
Hello.
After enabling the "Disable battery optimization" option, the field is grayed out,
meaning I can't disable it again. Even after uninstalling the App in Magisk, this doesn't change.
What can I do to disable the disable battery optimization option?
Thanks
The text was updated successfully, but these errors were encountered: