Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

4.20.4 - Battery and performance issues

Open kpuljek opened this issue 8 years ago • 27 comments

  • [x] I have searched open and closed issues for duplicates
  • [x] I am submitting a bug report for existing functionality that does not work as intended
  • [x] I have read https://github.com/signalapp/Signal-Android/wiki/Submitting-useful-bug-reports
  • [x] This isn't a feature request or a discussion topic

Bug description

Describe here the issue that you are experiencing.

Since the update to 4.20.4, signal is constantly active in the background and is using a lot of battery. Never before have I seen such a huge usage, it's first on the list with 20% right now.

Steps to reproduce

  • updated to 4.20.4
  • i made a short call in the morning, messaged as usual
  • 3 hours later my battery is at 35% down from a full charge, signal in the first place, it's usually not even on the list

Actual result: Describe here what happens after you run the steps above (i.e. the buggy behaviour)

Battery quickly drained with signals "usage in the background" being the same as the time since i unplugged the charger

Expected result: Describe here what should happen after you run the steps above (i.e. what would be the correct behaviour)

Battery usage like before

Screenshots

Device info

Device: OnePlus 3T Android version: 8.0 Signal version: 4.20.4

Link to debug log

kpuljek avatar May 24 '18 13:05 kpuljek

Finally made it to the charger, upon plugging in the phone started heating and continued to do so until I force closed the Signal process. When I restart it, it starts heating again. I'd love to submit more/any useful info, just let me know. I skipped sending logs because this looks like something that wouldn't end up in there.

kpuljek avatar May 24 '18 15:05 kpuljek

I am currently experiencing a major performance regression in the current beta release 4.20.4 (Moto G5S, Android 7.1.1). It gets worse while the app is open. When the app is open for just some seconds, even typing a message is lagging. Could this be related?

cascheberg avatar May 24 '18 16:05 cascheberg

@cascheberg could be related, my phone also stutters a bit more so Signal's probably doing something in the background that's using cpu cycles and draining the battery.

kpuljek avatar May 24 '18 17:05 kpuljek

This is because the app is allowing all the CPUs to run the programs in the back end.

dineshdevarapally avatar May 24 '18 19:05 dineshdevarapally

Same issue here

Slomo17 avatar May 25 '18 08:05 Slomo17

same issue here, the app is extremely jerky, normal typing is almost impossible

0xnor0 avatar May 25 '18 09:05 0xnor0

@0xnor0 @cascheberg then maybe it's not related, while I do feel some overall performance losses, I can use the application and type just fine, it's just using ridiculous amounts of battery and overheating my phone. It's doing something in the background, but I wouldn't say it's that degrading to performance. I noticed the stutters once I noticed the battery usage and heating, I don't think I would pay too much attention or notice them otherwise.

kpuljek avatar May 25 '18 09:05 kpuljek

@kpuljek my OP5 isn't heating, but the overall performance is very bad, closing or opening other apps is very very slow. A restart didn't help, only the hard close of the app brings the performance of the phone back.

0xnor0 avatar May 25 '18 09:05 0xnor0

@0xnor0 no battery drain? if not, that sounds like a separate issue. Yesterday it ended up using 24% by idling in the background. I actively used pocket casts for 5 hours and streamed the podcasts using LTE and that only used 10%

screenshot_20180524-173429

kpuljek avatar May 25 '18 09:05 kpuljek

@kpuljek yes there's battery drain too. but i would say there's no temp change in normal use.

0xnor0 avatar May 25 '18 09:05 0xnor0

@0xnor0 my phone gets hot as hell, especially if i'm charging it while signal's doing its thing. if i force close it, the phone cools down to the usual temperatures. maybe OP5 handles the load a bit better so it heats less than my op3t, who knows.

kpuljek avatar May 25 '18 09:05 kpuljek

@kpuljek i noticed my charging procedure today tooks much longer than on other days before the update was installed. It definitely sounds like your issue.

0xnor0 avatar May 25 '18 09:05 0xnor0

Hi, Also running 4.20.4 however I don't have this issue but it reminds me of an old performance issue (7016) where I was instructed to provide a system trace. I'm not sure if it's useful for this situation and I guess the device needs to be rooted for that however it might give the developers something to work with. Here's how I've created the requested info back then.

bme13 avatar May 25 '18 09:05 bme13

My performance issue was gone after I enabled system emoji. I wonder if that also reduces battery usage back to normal? Otherwise we should treat these as separate issues.

cascheberg avatar May 25 '18 11:05 cascheberg

Enabling system emoji stops the stutter on my phone, i will observe the battery life now

edit: i switched again to signal emoji and it's gone for some time..

0xnor0 avatar May 25 '18 11:05 0xnor0

@kpuljek @cascheberg for now signal is nearly unusable on my OP5. If i force to close the app and reopen it again, all works fine until i type and send a message. after that, the app stutters, the view of the message window ist very very slow and it looks like the app does some work in the background.

for example if i want to switch to the message overview, it takes around 6-7 seconds until signal responds.

0xnor0 avatar May 26 '18 07:05 0xnor0

Working with Signal 4.20.4 on a Samsung S7 and see the fast battery draining as well. I had 36% two hours before and now my phone switched off because battery was empty. Samsung's battery status states that Signal is using 48% of all together.

I now read that some had better performance with using system emoji. I switched some minutes ago and will observe if somethin changes.

Edit: If someone needs more details please contact me. I will see if I can find the things needed.

CaptainBalou avatar May 26 '18 14:05 CaptainBalou

With activated energy saving mode the problem is gone, everything is smooth again. While the display used 11% of my battery, Signal took 16%...

0xnor0 avatar May 26 '18 18:05 0xnor0

เมื่อ 27 พ.ค. 2018 01:02 น. "0xnor0" [email protected] เขียนว่า

With activated energy saving mode the problem is gone, everything is smooth again. While the display used 11% of my battery, Singnal took 16%...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/signalapp/Signal-Android/issues/7839#issuecomment-392277891, or mute the thread https://github.com/notifications/unsubscribe-auth/Alvdl9AeLqwJbrWBBQyq3GwBJAXUp4IAks5t2ZjGgaJpZM4UMPkh .

rachanon2116 avatar May 26 '18 18:05 rachanon2116

Energy saving mode didn't solved it for me. Using system emojis improved the most. Nevertheless, while 'Android System' used 38%, Signal used 61% even I didn't wrote more then 3 lines today. So I think it's still a strange behavior.

CaptainBalou avatar May 26 '18 19:05 CaptainBalou