to work as intented, please follow the instructions below.
1. Open up Phone Settings
2. Tap Power
3. Tap Battery optimization
4. Tap Not optimized > All apps to see the complete list of apps
5. To turn off battery optimization, tap the newGen Mobile app (AMOLED, TRUE EDGE, or TRUE AMPS), and then tap Don’t optimize