-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signal with no gaps(websockets) is sucking the battery dry (oneplus5 - Lineage 16) #8658
Comments
This may be related to #8217. Quoting @greyson-signal from that thread:
And later on:
|
I digged a little deeper into the problem and if you search through the posts you come to a user called 5_c_d - He basically describes my problem
Its definitely a bug in the websokets implementation and under android 9/lineage 16 the os constantly tries to open and closes the websokets. Thats the reason why the battery is sucked dry…… The current workaround is, to manually disable the app an only check messages every 3 hours and then force to close it. |
I'm having issues with battery drain from Signal on my BlackBerry Classic, too (BB10 / Android 4.3 runtime with no GApps). |
Technical speaking, android 4.3 is EOL? How do you manage do get security updates for your rom? |
BlackBerry 10 is supposedly still supported, it got a patch for Krack when it was discovered. The Android 4.3 runtime runs in a secured sandbox. I've got Signal working with MicroG, but now I'm not getting push notifications. Probably caused by issues with the Android runtime. I guess I'll have to stick to websockets for now so I actually get notifications. The "Background connection enabled" notification seems to refresh every 5 hours or so, and pops up in my notification feed. I hope this gets sorted out. |
I fixed Signal's fallback behavior for lack of Play services by having MicroG and then using App Systemizer (Terminal) in Magisk to make MicroG Services Core a system app in |
There is a test-APK 100% unofficial and experimental so please use at your own risk, associated with the pull-request above. https://community.signalusers.org/t/very-high-battery-drain-on-4-34-8-without-google-play-services/6536/41 Can people who are experiencing battlife trouble on non-gApps devices, kick the tires please? @ewired @johnb-xp @razzor1984 @0bscura Can people also please test that this APK works fine with no unintended side-effects, on stock ROMs that have gApps + GSM + FCM + playStore installed as is typical? Please direct commentary to the forum-thread linked immediately above, not commenting further here in this github issue. (Every github comment emails 700+ repo-watchers so best not to annoy them.) |
I also got the same issue with Oneplus 5 and Oneplus 5T with lineage 16 with microG. Are there any news to solve this issue ? Thanks |
Having this issue as well after upgrading my OnePlus 5 to Lineage 17.1 and dropping Play Services / MicroG. I observed a quite drastic decrease in battery life and the main offender seems to be Signal (with notifications webhook enabled) consuming around 25% over a day of usage. Is it expected to be this much? |
Is this the same as #6732? |
Having the same issue after installing Signal (apk Version from Signal.org). Mobile Xiaomi MI8 with Lineagos 17.1. NO GAPPS, no microg. Massive power consumption 25-50% |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Bug description
After upgrading my onelpus 5 to lineage 16(no gaps – under power usage Soc is on the lowest setting energy saving), the Signal app is sucking my battery dry.
Under lineage 15.1 it was not really good but manageable (20 to 30% battery usage – two days were manageable) Now under the new android 9 os its like Signal is completely preventing the device to go into sleep mode(usage more than 50% and only one day of battery life). My screen time for an entire charge is less that one hour twenty. So the app isn’t used that much. Maybee it’s to the artificial battery monitoring which now didn’t touch often used apps, or the web sockets go haywire and check to often, if new messages are in the pipeline.
Steps to reproduce
Just using Signal with Lineage 16 - with no Gaps - no GCM and therefor websockets.
Actual result: Signal is sucking my battery dry
Expected result: a decent battery life
Screenshots
After the next charge it will be delivered
Device info
Device: Oneplus 5
Android version: Lineage 16 - 20190301
Signal version: 4.34.8
Link to debug log
Not needed
The text was updated successfully, but these errors were encountered: