How to turn off the battery optimization on your Google Pixel phoneNever miss out on an app's notification, and turn off the battery optimization on your Pixel phone for that specific app. Try these beginner-friendly steps.
Source: How to turn off the battery optimization on your Google Pixel phone (https://www.androidcentral.com/phones/how-turn-off-pixel-battery-optimization)