In some apps, you can enable background restriction to prevent them from using the battery while running in the background.
Note: When background restriction is enabled, the restricted apps may not work as usual and notifications may be delayed.
Home screen, tap
Recently opened apps, tap an app you want to configure.
If you don't see the desired app, tap
See all ___ apps, then tap the app that you want.
App info screen, tap
Manage battery usage, tap
Repeat the above steps to turn on background restriction in other apps.