to work as intented, please follow the instructions below.
Disable Battery Optimization
1. Go to Settings> General tab (if applicable)> Battery & power saving> Battery usage> Ignore optimizations.
2. Tap the newGen Mobile app (AMOLED, TRUE EDGE, or TRUE AMPS) app to ignore battery optimizations.