Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix WhatsApp Notification Delays on CyanogenMod & ROMs

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

WhatsApp notifications arriving late or not at all on CyanogenMod or other custom ROMs is usually caused by aggressive battery optimization or Doze mode killing the app's background service. To fix it, you need to exclude WhatsApp from battery optimization, enable its auto-start, and adjust notification settings. Below is a step-by-step guide that works on most Android ROMs, including CyanogenMod, LineageOS, and similar custom builds.

What You'll Need

  • A phone running CyanogenMod or a similar custom ROM (Android 6.0 or newer recommended).
  • WhatsApp installed from the official Play Store or the official WhatsApp website.
  • Access to the phone's Settings app.
  • Your WhatsApp account backed up if you plan to reinstall (optional).

Step-by-Step

  1. Open WhatsApp and check notification settings. Launch WhatsApp, tap the three-dot menu (top right), go to Settings > Notifications. Ensure that High priority notifications is toggled on (if available). This tells the system to treat WhatsApp messages as important.
  2. Disable battery optimization for WhatsApp. Go to your phone's Settings > Battery > Battery optimization (or Battery saver > App optimization). Find WhatsApp in the list and set it to Don't optimize. On some ROMs, this is under Settings > Apps > WhatsApp > Battery > Battery optimization. If you don't see these exact words, look for a per-app battery setting that allows 'no restrictions' or 'unrestricted'.
  3. Enable auto-start (if your ROM has it). Some ROMs (like MIUI or EMUI) have an Auto-start manager. Go to Settings > Apps > WhatsApp and look for Auto-start or Launch. Toggle it on. On CyanogenMod and stock Android, this option may not exist—skip if absent.
  4. Allow background activity. In the same app info page for WhatsApp, check for Background data and Background activity. Ensure both are enabled. If you see Restrict background data, turn it off.
  5. Disable Doze for WhatsApp (Android 6+). Go to Settings > Battery > Battery optimization again. Tap the dropdown and select All apps. Find WhatsApp, tap it, and choose Don't optimize. This prevents Doze from putting WhatsApp into deep sleep.
  6. Adjust notification access. Go to Settings > Apps > WhatsApp > Notifications. Make sure notifications are allowed. On some ROMs, you may need to enable Notification access in Settings > Security > Notification access for the app to show heads-up notifications.
  7. Check system-level notification settings. Go to Settings > Sound & notification (or Notifications) and ensure that Do Not Disturb is off or set to allow WhatsApp. If you have a scheduled DND, make sure it's not active when you expect messages.
  8. Reinstall WhatsApp (last resort). If the above steps don't work, back up your chats (Settings > Chats > Chat backup), then uninstall WhatsApp and reinstall it from the Play Store. After reinstalling, restore your backup. This resets any corrupted app data that might be causing the delay.

Common Mistakes

  • Only disabling battery optimization in one place. Some ROMs have multiple battery optimization menus (e.g., per-app and global). You need to disable it in all relevant places.
  • Forgetting to enable auto-start. On ROMs with an auto-start manager, even if you disable battery optimization, the app may not launch at boot unless auto-start is enabled.
  • Using a third-party battery saver. Apps like Greenify or Amplify can interfere with WhatsApp. If you use them, add WhatsApp to their whitelist or uninstall them temporarily.
  • Ignoring system updates. Sometimes a ROM update changes default settings. After updating, re-check the steps above.

Tips

  • Use the official WhatsApp app only. Modified or unofficial versions may not respect system notification settings and can cause delays.
  • Keep WhatsApp updated. Updates often fix background delivery issues. Enable auto-update in the Play Store.
  • Set WhatsApp as a 'protected app' if your ROM has that feature. Some ROMs (e.g., MIUI) have a 'Protected apps' setting that prevents the system from killing the app. Look for it in the Security or Battery settings.
  • If you have multiple SIM cards, ensure WhatsApp is using the SIM with a stable data connection. A weak signal can cause delays, but that's not a ROM issue.

Troubleshooting

If notifications are still delayed after following all steps, try these in order:

  1. Restart your phone. This clears temporary system glitches.
  2. Check if the issue is specific to Wi-Fi or mobile data. If it only happens on Wi-Fi, check your router's settings or try a different network.
  3. Clear WhatsApp's cache. Go to Settings > Apps > WhatsApp > Storage > Clear cache. This does not delete your chats.
  4. Sign out and back into WhatsApp. Go to WhatsApp > Settings > Account > Delete my account (this deletes your account, so only do this if you have a backup) or simply clear app data (Settings > Apps > WhatsApp > Storage > Clear data) after backing up. This resets the app's connection to the server.
  5. Check if the problem occurs with other messaging apps. If yes, the issue is likely your ROM's aggressive battery management. Consider switching to a more stock-like ROM or a kernel that allows better background processes.
  6. As a last resort, perform a factory reset. This will erase all data on your phone, so back up everything first. After reset, set up your phone fresh and install WhatsApp before restoring other apps. This eliminates any conflicting system settings.

Frequently Asked Questions

Why does WhatsApp delay notifications only on custom ROMs?

Custom ROMs often include aggressive battery optimization or modified Doze settings that are not present in stock Android. These features can prevent WhatsApp from running in the background, causing delayed notifications.

Will disabling battery optimization drain my battery faster?

Yes, slightly. WhatsApp will use more battery because it can run in the background freely. However, the impact is usually minimal for most users, and the convenience of timely notifications outweighs the small battery cost.

Do I need to root my phone to fix this?

No. All the steps above can be done without root. Rooting is not required and is not recommended for this purpose.

What if my ROM doesn't have a 'battery optimization' option?

If your ROM is older (pre-Android 6.0), you may not have this option. In that case, check for any built-in task killer or RAM cleaner and add WhatsApp to the ignore list. You can also use the 'Don't kill my app' app (available on Play Store) to detect which setting is blocking WhatsApp.

Does using a third-party notification app help?

No. Third-party notification apps cannot override the system's battery management. The only reliable fix is to adjust the system settings as described.

After a ROM update, my notifications are delayed again. What should I do?

ROM updates often reset battery optimization settings. Simply re-check the steps above, especially the battery optimization and auto-start settings.