big battery drain after incoming call - infinite sync loop every 2-3 seconds
See original GitHub issueElement 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
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:20 (2 by maintainers)
Top Results From Across the Web
many sync - big battery drain · Issue #2733 · vector-im/element ...
Android Element use many sync calls at every day and it is in top of battery usage. Element do many sync periodicaly -...
Read more >What's Draining Your Android Battery? - Techlicious
A sign that your battery could do with some discharge/recharge time is if the battery says it's extremely low – say, 2% -...
Read more >Why is my phone's battery draining so fast? - Android Authority
You shave a second or two off of your phone's maximum battery capacity every time you charge it.
Read more >iOS 16 Battery Drain - Apple Support Communities
Is it normal to experience battery drain after a big update? ... It basically says that your phone is probably indexing a bunch...
Read more >Why your Android battery is draining fast and how to fix it
Not sure why your phone battery is dying so quickly? Learn what's causing battery drain and how to stop it on your Android...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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:
I close this bug as party fixed: after voip call battery drain stops - it nice.
But periodicaly strange many syncs still occure. About this bug I create new issue: #2733