1

My phone has very low memory (2 GB of ram) and thus any app that is running in background is automatically closed after a minute or so. It appears in the task manager but when I open it, the app doesn't resume but rather starts up again.

However, apps like zoom or WhatsApp calls are not subject to the same background limit.

My question is, can I force other apps to stay active as well?

1
0
  • Go to Settings -> Apps & notification and list all applications.
  • Select your Application, expand the menu "Advanced" and choose "Battery":
    • check that your App does not have any restriction and can use battery in background
  • Go to "Battery optimization" and list "All apps". Find your application, click on it and choose "Don't optimize".
7
  • I have unoptimized my app as you said, but it still restarts. – A.Shetye Aug 18 '20 at 7:08
  • in the java/kotlin code you can check in your app if it's in power whitelist: developer.android.com/reference/android/os/… . If it return true, then your App is not optimized and there is no reason that it'll be killed by the OS. Do you have the logs when the app stop ? – St0rm Aug 18 '20 at 7:32
  • I'm not very knowledgeable about android, so where can I obtain the logs from? – A.Shetye Aug 18 '20 at 7:57
  • 1
    Sorry, I thought that you was the developer of the App. If the App restart even if it's not optimized by the system, then it's probably a functionality or a bug in the App. Maybe you should report the issue to the developers of the App, they can give you more information about that. – St0rm Aug 18 '20 at 8:05
  • This happens to every app, even ones that you may be using like YouTube. – A.Shetye Aug 18 '20 at 10:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.