Hi there,
We are developing an app that has the “Instant messaging” feature and occurred the “High background battery usage” problem on some Samsung device (e.g Samsung S9+).
The problem can be reproduced when there were thousands of GCM push notifications for 24 hours, the app will be waked up and handle the push notification (including showing notification for the user and some network requests) once it receives a push notification.
We initially thought that there was unnecessary consumption in processing the push notifications, but the problem still exists after we disable all the handling and just do nothing when receiving a GCM push notification.
My question is: How does the system determine if an application has high background battery usage and how to avoid it.
Thanks for any help.
Gavin