element-android: big battery drain after incoming call - infinite sync loop every 2-3 seconds
Element use too match battery.
I check on my server push:
root@im:~# cat /var/log/matrix-synapse/homeserver.log* | grep 'push actions for @progserega:rsprim.ru' | cut -d ' ' -f1 | sort | uniq -c
13 2019-10-04
37 2020-09-23
81 2020-09-24
And sync:
root@im:~# cat /var/log/matrix-synapse/homeserver.log*|grep '@progserega:rsprim.ru' |grep YD201|grep sync|cut -d ' ' -f1 | sort | uniq -c
13 2019-10-04
11771 2020-09-23
10685 2020-09-24
Screenshots Sorry for non-english screenshots.
Most translations:
- “Активный режим (Акт. режим)” - active mode
- “Работа экрана” - Screen on
- “Сигнал мобильной сети” - mobile network connectivity level
- “ЦП - всего” - CPU all
- “ЦП - акт.режим” - CPU at active mode
- “Данные получены по моб. сети” - data received by mobile network
- “Данные отправлены по моб. сети” - data sended to mobile network
- “Время работы приемопередатчика” - time work of radio-tranciver module
- “Экран” - screen
- “Система Android” - system android
23.09.2020:

24.09.2020 (no problems with push):

Smartphone:
- Device: Yotaphone 2 (YD201)
- OS: Android 6.0.1
Additional context
- App version and store: 1.0.7 - G-b153 (gapps)
- Homeserver: rsprim.ru
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 20 (2 by maintainers)
Yesterday I clear all cache of element (in his menu) - this is stop battery drain.
But today I get incoming voice call. And after that (may be) battery drain come again. I get incoming call on Element-desktop, but element-android still screen on and was showing incoming call splash after call was ended. May be incoming call tell android-element sync every 2-3 seconds?
I open element-android and see “incoming call splash screen”. But call was ended ~1hour ago. I clear “all cache” again, start element-android, wait when first sync is complete and start monitoring server logs again, but today this not help - sync started again and again every ~3 seconds: