On Android 8.1, Moto G5 Plus, I sometimes get notifications from the battery manager of which are are using the most battery. When this happens, the app crash. Two of these apps are AirVPN and a download manager. Why does the battery manager cause the apps to crash? I have these apps to not be affected by battery optimization. Even when they were affected by the optimization, they still crashed. How can I prevent this from happening?