Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Android system often warns of high battery usage of Riot #1391

Closed
ylecollen opened this issue Jun 29, 2017 · 4 comments
Closed

Android system often warns of high battery usage of Riot #1391

ylecollen opened this issue Jun 29, 2017 · 4 comments
Labels

Comments

@ylecollen
Copy link
Contributor Author

This user's device receives a lot of notifications while the application is background.

@ylecollen
Copy link
Contributor Author

@ylecollen
Copy link
Contributor Author

There are two cases in theses issues
1- the users received a lot of notifications (several hundreds per hour) : the application starts a caught up for each notifications so it might drain battery

2- Google play versions only
on versions <= 0.6.12, if the events thread service is killed while the application is backgrounded, it is automatically restarted but it used the fallback mode to trigger the sync requests : a new one is triggered each 10s. It was happened because the GCM registration was not checked. So, it used to drain battery until the application was opened.

On version 0.6.13, if a GCM registration token has been retrieved, we assume that the GCM registration has been done (might be true in most of the cases) so the sync/ requests will be triggered when a notification will wake up the app.

@mehturt
Copy link

mehturt commented Jul 16, 2017

I have this problem even with 0.6.13

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants