Uptimecat

Android and Huawei notification delays

Some Android phones stop background apps to save battery. That can make alerts late or silent. Here is how to avoid it.

What happens

Android makers add their own power managers. Huawei phones are well known for this, and some other brands behave in a similar way. The system closes background apps, or holds their notifications until you open the phone. An alert from a monitor is then late, and a late alert is a failed alert.

Uptimecat does not have a native mobile app yet, so this is not about our app. It affects any chat or push app you use to receive alerts. See the mobile app page.

Recommended setup

Use a channel that has a reliable app, and tell the phone to leave it alone.

  • Use Telegram or a push app such as Pushover.
  • If you want to route alerts into your own tool, use a webhook to a service that pushes to your phone.
  • Keep email as a second path, so one failure does not hide an alert.

Turn off battery optimization for the alert app

  1. Open Settings on the phone, then Battery or Apps.
  2. Find the app that receives alerts, for example Telegram.
  3. Set it to Manual launch or Unrestricted and allow background activity, auto-launch and secondary launch if shown. Names differ by brand and version.
  4. Open the app notification settings and make sure notifications are on, with sound, and allowed on the lock screen.
  5. Lock the app in the recent apps view so the system does not clear it.
  6. Check Do Not Disturb. Allow the app, or add a priority exception.

Test it

  • Press Test on the channel in Uptimecat with the screen locked for several minutes.
  • If the test arrives late, the phone is still limiting the app. Check the steps again.
  • Repeat the test after a phone update, because updates can reset the settings.

Other tips

  • Keep one alert channel that does not rely on the phone, for example email on a laptop or a team chat room.
  • Do not use a battery saver mode on the night you are on call.
  • If you are on call, carry a phone that is known to work with background apps.

Frequently asked questions

Is this only a Huawei problem?

No. Several makers use aggressive power saving.

Does Telegram silent mode matter?

Yes. Do not enable Send Silently on the channel if you want sound.

What if nothing works?

Use a second device or an on-call tool such as PagerDuty.

Related

Open the dashboard

Sign in with your Google account to add a monitor and pick an alert channel. Access is currently limited to Moruk accounts; open sign-up is not available yet.

Sign in