Turn on battery optimization
By default, battery optimization is turned on for most apps and features. If you turned off battery optimization for an app,
you might want to turn it back on again, at least until you have a chance to charge your device.
In the device settings, tap Battery > > Battery optimization.
Tap an app.
Select the Optimize option, and then tap Done.