I have a Nexus 6P. I have disabled battery optimization for a few apps and yet those apps still seem to doze off.

Specifically those apps are 1) a sip client (csipsimple and bria) and 2) pushover.

It would be great if those apps would never sleep :-)

Is this possible?


Edit: I agree with CmosBattery below that this might not be the way to go. In fact, I have set battery optimization on all apps like it was before. As mentioned in my comment below, some apps, like Bria, suggest that we should do so (and maybe they shouldn't suggest this at all). After a few weeks with the suggested setting, I see no improvement in call reception and a reduction in battery life.

GCM allows developers to send high priority messages. High priority messages allow you to wake your app (haven't tested, but the Android documentation says that this is reliable). Could there be other ways?

1 Answer 1


Apps are designed how they are designed by each developer. Apps can acquire wakelocks and keep the cpu (for instance) from sleeping thereby allowing the app to stay active: http://developer.android.com/training/scheduling/wakelock.html

A great app will do this as little as possible especially as apps can set alarms to check the internet for updates or an app can wait to receive a push from an internet server.

Apps never sleeping is the wrong way to look at it and will do nothing for you but hasten the battery usage for typically no good reason.

If there's an app that stops working when it should stay working then the developer should be contacted so as to let them know you want it to continue working even after situations where it may have become disabled regardless of what happens.

  • Interesting. I have pondered your answer for a few days. For example, when you install Bria there is a popup that suggests you must do this. I assumed this was the way to go about the issue. It is also suggested on a few blogs. Nonetheless, I don't think the answer is a simple as contacting the app developer as they don't seem to agree.
    – nlambert
    Commented Dec 22, 2015 at 21:12
  • High Priority messages sent through Google Cloud Messaging should wake up the device. However, it would be great if we could do that from an Android setting i.e.: always treat messages as high priority for app xyz
    – nlambert
    Commented Dec 23, 2015 at 13:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .