• dan1101@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      It would be good to protect against malware. Bad for apps you legitimately want to run in the background. As usual it seems like a tradeoff between giving the user a choice while not overwhelming uninformed users.

      • CJOtheReal
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        I want a option to turn that off or exclude apps (just put it in dev settings)

        • Markaos@lemmy.one
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          Navigate to the specific app details in settings -> Battery usage -> set to Unrestricted. There, it’s off. Just like it was for the past however many years since Doze was first implemented. Or just turn off adaptive battery to disable this for all apps and enjoy your awesome battery life.

          This fix is for apps that are set to optimized/restricted and are avoiding being killed.

          • CJOtheReal
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 months ago

            I’ve encountered them being killed off as well from time to time.

            • Markaos@lemmy.one
              link
              fedilink
              English
              arrow-up
              1
              ·
              8 months ago

              Does your phone happen to be made by one of the vendors ranking high on this list? If so, that’s not on Google (well, you could argue that Google could take more control over Android and force vendors not to do this, but that’s another discussion - now we’re talking about a fix Google made for apps evading its battery optimizations).

              Because I’ve personally had no problem with apps like AccuBattery and GadgetBridge staying awake when set to unrestricted.

              • CJOtheReal
                link
                fedilink
                English
                arrow-up
                1
                ·
                8 months ago

                I have a Pixel so if anything that’s 100% Google

                XD