Enable/disable Background Execution Limits for all apps
It's displayed on the "Battery" screen for an app, in the "Manage battery usage" section, but only if the app is a "top [battery] consuming" app.

More info: https://commonsware.com/blog/2017/05/24/android-o-background-limitations-not-just-targetsdkversion-o.html