In Android 6.0, Battery Optimization became a major priority and is still present in newer versions. While it helps out a lot to keep your battery from dying, there are often times when it will terminate an app that you didn’t want stopped.
The steps below are common but each device varies. You may need to do a little searching in your device’s settings in order to find these.
Samsung
System Settings > Battery > Menu Icon(Upper Right) > Optimize Battery Usage > Dropdown Menu > All Apps > Choose apps to be exempt from Battery Optimization
System Settings > Apps > Find the app > Check app settings for battery optimization
HTC
System Settings > Power > Battery Optimization > Battery Optimization – Not Optimized(upper left) > All Apps > Choose apps to be exempt from Battery Optimization
System Settings > Apps > Find the app > Check app settings for battery optimization
Motorola / Nexus
System Settings > Battery > Menu Icon(Upper Right) > Battery Optimization – Not Optimized(dropdown) > All Apps > Choose apps to be exempt from Battery Optimization
System Settings > Apps > Find the app > Check app settings for battery optimization
Huawei
System Settings > Battery > Launch(Manage app launches) > Manage Batch Manually > Choose apps to be exempt from Battery Optimization
System Settings > Apps > Find the app > Check app settings for battery optimization



