If one or a few of your apps aren't working correctly, you can adjust battery settings to see if that resolves the app issues. Otherwise, these settings extend battery life and should be kept on 
When you're not using your phone, it reduces apps' background processes so that it stays in a low-power state and extends battery life.
You can make exceptions for an app, allowing it to use more power in order to run in the background and keep you current.
For best battery life, keep these on 
To adjust an app's settings:
Turn App optimised off 
To reduce battery usage, your phone prevents apps from automatically starting when you turn on the phone or when other apps want to use them (secondary launch).
To allow apps to start automatically:
To adjust which apps can automatically start when you turn on your phone:
To adjust which apps can start if another app needs to use it:
Tap Power-intensive apps.
Your phone scans for any power-intensive apps and lists them. Apps appear in this list if they frequently:
If you see any apps listed as power intensive: