-
Notifications
You must be signed in to change notification settings - Fork 395
Heavy battery drain. #167
Comments
When GCM is disabled, the android client fallbacks to a polling thread which drains battery |
Do you think this bug is probably more on your side, or is it more on the end of GSMCore? If I can provide you with some more detailed debug info. I'll gladly do so, but I might need some guidance, because I've not done this. |
I really don't know which is responsible ? Could you send a bug report ? Our client has been designed to work with GCM. If GCM is not found, a polling thread is launched. |
I'll opened an issue at android_packages_apps_GmsCore. |
@DatGizmo If you get this working please let me know. Im trying to get vector-android pushed into Fdroid |
1- #167 Heavy battery drain. 2- should improve the GApps / No GApps device management : the background sync and disable notifications should have the right behahviour.
Setup:
Android 5.1 (CM12.1)
GSMCore 0.2.2 from microG, as a replacement for Google play services. (/~https://github.com/microg/android_packages_apps_GmsCore)
I recently switched to the microG apps/services instead of the Google play ones.
On my mobile there is a heavy battery drain by matrix.
As long as the event-service from the vector app is not running, everything is fine.
When I receive a message, the app is woken via the GCM, and the event-service is started.
Now, for me it seems, that the event-service is used, which then keeps waking up the mobile network, causing the heavy battery drain.
Is there some kind of fallback to the notification service if there are issues with GCM?
Note: On my tablet, I don't have this issue with the same setup. But as the tablet is losing the Wifi connection sometimes during the day, I'm not sure if the two devices are comparable.
I've also reported this issue to the "matrix-android-console" as I'm facing the same issue there. (matrix-org/matrix-android-console#24)
But got no response there.
The text was updated successfully, but these errors were encountered: