Found out how to fix this issue.
Go to the Settings, then select Battery.
Click on the top left hand corner, where the 3 dots are, and select Battery optimization.
Tap "Not optimized", and select All Apps.
You will see all the apps are now selected for Optimizing battery use.
This next step is...