2

All of my background apps get killed when I turn off the screen. This is particularly annoying for my most-used messaging app, WhatsApp.

I've looked at the obvious "Battery Optimization" option: battery optimization

Based on advice found elsewhere, I've checked that the background process limit in developer options is the default (I've never changed this AFAIK): developer options

And yet, it gets killed in the same manner as battery optimization would. If I look at running background processes:

before poweroff

When I then press the power button, and power it back on after < 10s, the list is the same. But if I wait longer than that:

after poweroff

...whatsapp has disappeared.

This happens for all apps I install that have some sort of useful background feature - the Battery Optimization setting doesn't seem to do its job anymore.

What else can I try to diagnose this?

NB0: Android 7.0 on DOOGEE S60

NB1: This just started happening some time ago, i.e., it did work propertly when I got the phone.

NB2: I know how to use adb

NB3: I'm also fond of trying new apps and have ~400 apps installed. Ideally, I don't uninstall/disable all of them 1-by-1 to see which one is the culprit...

8
  • Install Addons Detector or any other similar app and filter to see which apps have permission KILL_BACKGROUND_PROCESSES granted. Commented Jul 12, 2019 at 4:32
  • @IrfanLatif hmm only 2 apps show up. 1 is MX Player (presumably because it can make itself the exclusive media player?), the other is Tasker (which I haven't used in ages). Both don't seem likely candidates...Uninstalling them, trying again. Commented Jul 12, 2019 at 4:43
  • @IrfanLatif nope, no effect. Whatsapp is still killed. If it makes any difference, most of my widgets (clocks etc.) also stop updating after reboot + screen off...same thing I guess Commented Jul 12, 2019 at 5:04
  • 1
    Use this method to track kill syscall. Requires root. Commented Jul 12, 2019 at 5:31
  • ...hmm. It would appear the DOOGEE S60 is not easily rooted. Not without significant effort and wiping the entire phone, that is. Any other suggestions? Commented Jul 12, 2019 at 6:12

1 Answer 1

0

Go to "settings", "memory" and turn off "background auto clean memory".

2
  • 2
    Hi, just for confirmation, is this for the device mentioned in the question, Doogee S60? Otherwise, you might want to note the device model since Android is highly customizable, and not every menu is there on every model/version.
    – Andrew T.
    Commented Aug 5, 2020 at 8:39
  • Can confirm; that setting is not there on my model... Commented Aug 6, 2020 at 20:13

You must log in to answer this question.

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