Your phone might be putting your apps to “sleep”
Android is trying to manage your phone’s battery life by forcing “low” priority apps to go to sleep which results in delayed notifications. There is a solution to that.
Google and most other manufacturers
- Locate the app you want to work more reliably on your home screen or launcher.
- Hold and tap it to invoke the long-press menu, and then select the App info shortcut (it should be an (i) symbol or something along those lines).
- Locate the Battery entry in the menu that just opened and tap it.
- On the next screen, select Unrestricted, which will allow the app in question to run with far fewer limits while in the background.
Samsung
- Follow the instructions given in the section above.
- Once that's done, you’re going to have to go deep to find Samsung's controls. Start the Settings app and tap Battery & Device Care. Then tap Battery. On the Battery page, head to Background usage limits.
- Here, you'll find three different lists of apps that have some form of power management enforced on them. To see the list of apps that are allowed to run in the background with as few restrictions as possible, tap Never sleeping apps. You can add additional apps to this list by tapping the plus sign in the top right corner.
Xiaomi
- Follow the steps described in the Pixel section above — things are only labeled slightly differently, as you can see in the screenshots above.
- Once that's done, open the app you want to keep active and then enter the multitasking overview/app switcher.
- Tap and hold the preview of the app and then choose the first option in the menu, the Lock icon.