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

  • Devgard@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    that’s weird, I haven’t faced any optimisation issues on my S23 Ultra, I get all messages like normal

  • d3Xt3r@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    No such issues on my Fold 4. I even have battery saver mode on all the time, but I turn off optimizations for some important apps and it works fine.

  • heeplr@feddit.de
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    do a factory reset and start from scratch. do optimizations step by step to learn the cause of your problem.

    • ggnoredo@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Starting from stratch will take huge amounts of time, configs and other things , is it really the only way. Im using android for 2 months and i just installed my apps.

      • heeplr@feddit.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        That shouldn’t happen with fault free hardware and standard apps from official appstores. have you tried reaching out to the support?

    • bbbhltz@beehaw.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Do this. If you don’t want to start from scratch you can reset all permissions in the settings somewhere, but that means you’ll have to re-grant permissions again. It is possible that there is an app installed that is “managing” things.

  • urkindagood@lemdro.id
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    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.

    • ggnoredo@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      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

      • urkindagood@lemdro.id
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        My bad, I didn’t mention it yet, What I meant by constant values ar the number after subreason= or reason= lines.

        Do you see them? What are they mostly?

        • ggnoredo@lemm.eeOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago
          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
          
          • urkindagood@lemdro.id
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            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.

            • ggnoredo@lemm.eeOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              play services does not generate any log, and my apps are set to unrestricted. so I should live with it?

              • urkindagood@lemdro.id
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 year ago

                my apps are set to unrestricted.

                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.

                • ggnoredo@lemm.eeOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  1 year ago

                  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

                • ggnoredo@lemm.eeOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  1 year ago

                  Yes it’s DDG go app, disabling it fixed all of my problems. Thanks for your support

  • ijeff@lemdro.idM
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Will leave this post up but just a heads up on rule 2 in the sidebar. Tech support and other questions related to Android are welcome at [email protected]. Thanks!

  • zettajon@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Settings > Battery and Device Care > Battery > Background Usage Limits > Never Sleeping

    Add all the apps you want constantly running to this list.