I almost give up. I tried many many things but my samsung s23 is killing important apps and I miss notifications. As soon as I unlock my phone, all of them showing up instantly. I’m missing messages and important notifications. I’m constantly checking phone because of it. BTW, it’s working sometimes I don’t know how and when it decides to kill my apps. I disabled any memory and battery related optimizations and mark my important apps as unrestricted and never sleep but it doesn’t work mostly
EDIT: it’s definitely duckduckgo app tracker. It somehow kills some apps. Disabled it and all of my issues are gone away
Find what actually kills your app by running the following line via ADB terminal.
adb dumpsys activity exit-info *app package*
That gave you a list of the “killers” of your apps. The reason or subreason constant value can be checked here.
You haven’t mentioned this in OP yet, try to lock your apps from recents and enable autostart for them.
It suprises me that the guide for Samsung at dontkillmyapps is so long lmao.
I checked my problematic apps and all of them killed with this message
TOO MANY EMPTY PROCS description=too many empty state=empty trace=null
My bad, I didn’t mention it yet, What I meant by constant values ar the number after
subreason=
orreason=
lines.Do you see them? What are they mostly?
ApplicationExitInfo #0: timestamp=2023-07-11 08:03:20.572 pid=23084 realUid=10386 packageUid=10386 definingUid=10386 user=0 process=org.thoughtcrime.securesms reason=13 (OTHER KILLS BY SYSTEM) subreason=3 (TOO MANY EMPTY PROCS) status=0 importance=400 pss=70MB rss=139MB description=too many empty state=empty trace=null
Oh, that’s for sure the system. But nothing too crazy if their background process are not set to unrestricted.
You may want to check Playservices as well, especially the main activity.
If It gets killed often and not getting restarted, it could be a problem since they are pretty much responsible for handling cloud messaging.
play services does not generate any log, and my apps are set to unrestricted. so I should live with it?
This is the strange part.
But well, if you’ve done everything suggested here and it still doesn’t work, you have no choice but to live with it.
I guess Duckduckgo app tracker is blocking something. I disabled it and so far so good, I will test for a few days and report back for future references
Yes it’s DDG go app, disabling it fixed all of my problems. Thanks for your support