As stated in the documentation: "An app holding the REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission can trigger a system dialog to let the user add the app to the whitelist directly, without going to settings.
Check which apps are draining your battery. In most versions of Android, hit Settings > Device > … How to remove Android apps from the battery optimization Android 6.0's standby mode does wonders for battery life, but the feature may cause some of your apps to not function as you'd like. Learn how to remove those apps from standby mode. 15 common Android problems and how to fix them - CNET
Battery Optimization settings for Android devices running version 6 or higher. The setting referred to in this section is called Optimization settings. This setting acts as another layer of battery saving setting for individual applications (Usually applied on for applications as default).
RELATED: The Complete Guide to Improving Android Battery Life Before we get into using the app, however, let’s make one thing clear: you’ll have to play the long game on this one. Since Android doesn’t natively feature a way to monitor battery health, any app used for this purpose will have to keep an eye on your battery over days, weeks, and months before it can determine its health.
Jul 13, 2017
Mar 02, 2020 Android™ 10 Battery Settings - Covenant Eyes