Look at the battery report before restricting an app. Background use can be intentional, as with music, navigation or photo synchronization. If an app uses unexpected power, review its settings and the system's background controls. Restrictions can delay notifications or other work, so change one app at a time and test the result. Pixel's optimized background setting is recommended for most apps.

Source: Google. Photo: Santeri Viinamäki · CC BY-SA 4.0 · 2016-09-29. Resized and recompressed.