Open MurzNN opened 7 years ago
I'm not sure I understand the issue. But I'm thinking could it be possible to monitor the activity of both the sms android service and the riot android client if it is installed on the same phone? And only waking up smsmatrix when activity is detected on one or the other?
Will be good to create dynamic long polling intervals in app for minimize battery usage - after receive SMS - decrease poll interval to minimal for 15 minutes (maybe do this configurable), because chances that user reply to SMS in this time are maximum, and increase poll interval after this time to longer time (configurable too). This will minimize battery and traffic usage with minimum user behavior.