What might cause Notifications about Instant Messages to appear late and batched up on a Huawei P8 running Android 6?


Question

I noticed a strange behavior on my newly-acquired Huawei P8 phone: Notifications about Instant Messages from WhatsApp, Facebook Messenger, and Threema seem to arrive late and in a "batched up" manner. This can take one of two forms:



  1. The phone will all of a sudden start to beep and vibrate like crazy, displaying multiple Notifications about new Instant Messages, however, those Messages aren't actually new, they may be anything between several minutes and several hours old, and may come from multiple sources (e.g. a mix of WhatsApp, Facebook, and Threema Messages). E.g. at 11:44 my phone vibrated, and showed me two WhatsApp Messages from two different conversations from 11:33 and 10:02.

  2. There will be no Notifications on the phone, and no indicator on the icon, but when I open, say, WhatsApp or Threema, shortly after it has finished loading (less than half a second, usually), several messages will appear at once, both within the app and as Notifications.


It appears as though either the client apps (WhatsApp, Facebook Messenger, Threema) or the Google Cloud Messaging service or both are stopped and/or blocked. This behavior appears both with mobile connections and WiFi, both when on battery power and when fully charged and connected to mains power.


There are various advanced power and data saving options which I am not familiar with from my earlier phones (might be new in Android 6 or Huawei-specific enhancements) which could cause this, but I thought I have everything set up correctly:



  • Settings → Airplane mode: OFF

  • Settings → Wi-Fi: ON

  • Settings → Wi-Fi → Advanced Settings → Keep Wi-Fi on during sleep: Always

  • Settings → Data traffic management → Networked apps: both Mobile data and Wi-Fi checked (√) for all System Services, as well as WhatsApp, Facebook Messenger, Threema

  • Settings → Data traffic management → Networked apps → Advanced network management: both Mobile data and Wi-Fi checked (√) for all System Services, as well as WhatsApp, Facebook Messenger, Threema

  • Settings → More … → Mobile network → Mobile data: ON

  • Settings → More … → Mobile network → Enable always-on mobile data: ON

  • Settings → Notification panel & status bar → Notification center: Status bar, banners, lock screen enabled for all of WhatsApp, Facebook Messenger, Threema

  • Settings → Do not disturb: OFF

  • Settings → Accounts → Menu → Auto-sync data: ON

  • Settings → Apps → Advanced → App permissions: I did not change anything here and always accepted the default permissions when installing

  • Settings → Apps → Advanced → Ignore battery optimizations: Allowed for all of WhatsApp, Facebook Messenger, Threema

  • Settings → Advanced settings → Battery manager → Protected apps: ON for all of WhatsApp, Facebook Messenger, Threema

  • Settings → Advanced settings → Battery manager → Settings → Close excessively power-intensive apps: OFF

  • Settings → Advanced settings → Battery manager → Settings → Keep Wi-Fi on when sleeping: Always

  • Settings → Advanced settings → Battery manager → Settings → Keep mobile data on when sleeping: ON




EDIT: A few minutes ago, I received an OTA update (GRA-L09C432B382) with the following description (bold emphasis mine):



This update optimizes the background operation of Google Duo and WhatsApp for an improved experience.


[Optimizations]



  • Optimized the background operation of Google Duo, enabling you to make more stable video calls.

  • Optimized the background operation of WhatsApp, enabling you to receive new message notifications when your screen is off.

  • Optimized the NFC feature by enabling it by default when your device is switched on.

  • Provided Wi-Fi coverage in Greenland.

  • Expanded the roaming coverage.

  • Optimized the display of UI text elements.


[Update notes]



  1. If you experience any issues during the update, please call the Huawei customer service hotline or visit an authorized Huawei service center for assistance.

  2. This update will not erase your personal data, but we recommend that you back up any important data before updating.



If it turns out that this update fixes the issue, I am going to add a self-answer and accept it.


Answer

The issue was resolved with OTA update GRA-L09C432B382 with the following description (bold emphasis mine):



This update optimizes the background operation of Google Duo and WhatsApp for an improved experience.


[Optimizations]



  • Optimized the background operation of Google Duo, enabling you to make more stable video calls.

  • Optimized the background operation of WhatsApp, enabling you to receive new message notifications when your screen is off.

  • Optimized the NFC feature by enabling it by default when your device is switched on.

  • Provided Wi-Fi coverage in Greenland.

  • Expanded the roaming coverage.

  • Optimized the display of UI text elements.


[Update notes]



  1. If you experience any issues during the update, please call the Huawei customer service hotline or visit an authorized Huawei service center for assistance.

  2. This update will not erase your personal data, but we recommend that you back up any important data before updating.



Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes