signalapp / Signal-Android

A private messenger for Android.
https://signal.org
GNU Affero General Public License v3.0
25.46k stars 6.1k forks source link

Heavy Battery drain Issue #9724

Closed teynav closed 4 years ago

teynav commented 4 years ago

Bug description

Too much battery drain while on being on signal compare to other IM

Steps to reproduce

Actual result: Battery drain large Expected result: Brain drain Should be in range of other IM

Screenshots

Device info

Device: Samsung m30s Android version: 10 Signal version: 4.62.3

Link to debug log

https://debuglogs.org/2ca9ac45c24e26054b987057f8e0286f15706b1302a3c57332e79c2b647c9d81

teynav commented 4 years ago

Screenshot_20200609-212146_Device care Screenshot_20200609-212050_Device care 20200609_212132

merkste commented 4 years ago

Could this be related to ##9636 where the battery drain occurs right after (not) sending a picture?

Edu4rdSHL commented 4 years ago

Please try disabling battery optimizations for the Signal app. That battery drain issue is mostly caused because the "battery optimizer" kill the app in the background, then the app try to start again resulting in a kill/start loop. See https://dontkillmyapp.com/ for more info.

mu-hi commented 4 years ago

I also have this issue but noticed it's doing this only while using mobile data instead of Wi-Fi. I'm using the separate app because I don't use Google Play by the way. The battery optimization is already disabled but checking the battery usage the app is always running since the last charge and drained the 22% of battery singlehandedly and I didn't even use the app for 2 days.

teynav commented 4 years ago

Please try disabling battery optimizations for the Signal app. That battery drain issue is mostly caused because the "battery optimizer" kill the app in the background, then the app try to start again resulting in a kill/start loop. See https://dontkillmyapp.com/ for more info.

Okay this helped , Although I used it for only small time, battery drain was comparable to Whatsapp and telegram. Thanks!!!