See the App Inventor Extensions document about how to use an App Inventor Extension.
For questions about this extension or bug reports please start a new thread in the
App Inventor community. Thank you.
For feature requests please contact me by email.
To be a sponsor of a new method already is possible starting from only 10 USD! With your contribution you will help the complete App Inventor community. Thank you.
Oct 6th, 2018: Version 1: initial version
Mar 25th, 2024: Version 2: IsIgnoring method added
Ignore Battery Optimization extension.
Required permissions: android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
Note: Google will reject apps, which are trying to use that feature, see also
here.
Request Ignore Battery Optimization. This method will open the following dialog
Check, if app is ignoring Battery Optimization.
Tested successfully on Samsung Galaxy A54 running Android 14.
Developing and maintaining snippets, tutorials and extensions for App Inventor takes a lot of time.
I hope it saved some of your time. If yes, then you might consider to donate a small amount!
or donate some mBTC to Address:
1Jd8kXLHu2Vkuhi15TWHiQm4uE9AGPYxi8
Thank you! Taifun
Download TaifunBatteryOptimization extension (aix file)
Download Test project (aia file)
Back to top of page ...
This work by Pura Vida Apps
is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
with attribution (name=Pura Vida Apps and link to the source site) required.