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

Textsecure causes huge wakelocks

Open roberdorfer opened this issue 11 years ago • 3 comments

screenshot_20150615-233326

Can't really say precisely what's causing them, but it seems like every time I receive a message textsecure holds a wakelock for 26-30 seconds.

Nexus 5 Android 5.1.1 stock

roberdorfer avatar Jun 16 '15 09:06 roberdorfer

Yep, we need a wakelock in order to retrieve the message, get it into the database, and notify you.

moxie0 avatar Jun 16 '15 16:06 moxie0

Well, I understand that textsecure has to hold a wakelock in order to do that, but half a minute for every single message? That really adds up if you get a lot of messages. Textsecure has become the number one app when it comes to wakelocks on my phone. It used to not do that, and the issue has only popped up recently. What changed? Can there not be made any improvements in order to shorten the wakelock?

roberdorfer avatar Jun 16 '15 16:06 roberdorfer

Yes, for every message we need a wakelock.

moxie0 avatar Jun 16 '15 16:06 moxie0