107
submitted 1 year ago by limerod@reddthat.com to c/android@lemdro.id
all 17 comments
sorted by: hot top controversial new old
[-] Tier1BuildABear@lemmy.world 54 points 1 year ago

I seriously don't get why this can no longer be controlled by the user. I like my weather and music to be readily available, everything else can be killed

[-] limerod@reddthat.com 35 points 1 year ago

Android already has a setting for that. Disable battery optimization for apps you want to run in the background. Samsung goes much further with their sleeping, deep sleeping, and never sleeping lists.

[-] Tier1BuildABear@lemmy.world 22 points 1 year ago

I feel like half the time that doesn't work though :/

[-] mojo@lemm.ee 10 points 1 year ago

Because it's cached and gets killed when Android needs to free up resources.

[-] KrummsHairyBalls@lemmy.ca 1 points 1 year ago

Works perfectly for me. Do you have a Samsung device? Because they basically ignore it.

[-] limerod@reddthat.com 2 points 1 year ago

This has not been true for me since oneui 4 and currently oneui 5. Apps can continue running however long within reason(doze). The ones that need to be running 24/7 like accubattery, tasker work fine when you set battery optimization to unrestricted. Others like adguard power through without issue. Only apps that take too many resources or frequent crashes that slow down your device get automatically closed — shown in device care. The only times my apps restart is when running heavy games and apps that take gigs in memory.

[-] dan1101@lemm.ee 15 points 1 year ago

I'm sure this will have good and bad consequences.

[-] PrefersAwkward@lemmy.world 10 points 1 year ago

I think two great ways to manage this are

1: using permissions the user can see and grant/deny "Allow persistent background usage" or something like that with a tooltip or something that warms the user about resource usage. IIRC, this is already a thing in Android 14.

2: providing visibility into background app usage and history. They do this to some degree, but it's not as good as it could be. Especially when I want to know what is draining my battery when my phone is in my pocket.

[-] CJOtheReal@ani.social 2 points 1 year ago
[-] dan1101@lemm.ee 2 points 1 year 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@ani.social 1 points 1 year ago

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

[-] Markaos@lemmy.one 1 points 1 year 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@ani.social 0 points 1 year ago

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

[-] Markaos@lemmy.one 1 points 1 year 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@ani.social 1 points 1 year ago

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

XD

[-] smileyhead@discuss.tchncs.de 11 points 1 year ago

This really was a trick and was mostly exploited.

An app that actually needs being in the background would just show a persistant notification.

this post was submitted on 14 Nov 2023
107 points (92.8% liked)

Android

17671 readers
94 users here now

The new home of /r/Android on Lemmy and the Fediverse!

Android news, reviews, tips, and discussions about rooting, tutorials, and apps.

🔗Universal Link: !android@lemdro.id


💡Content Philosophy:

Content which benefits the community (news, rumours, and discussions) is generally allowed and is valued over content which benefits only the individual (technical questions, help buying/selling, rants, self-promotion, etc.) which will be removed if it's in violation of the rules.


Support, technical, or app related questions belong in: !askandroid@lemdro.id

For fresh communities, lemmy apps, and instance updates: !lemdroid@lemdro.id

💬Matrix Chat

💬Telegram channels / chats

📰Our communities below


Rules

  1. Stay on topic: All posts should be related to the Android OS or ecosystem.

  2. No support questions, recommendation requests, rants, or bug reports: Posts must benefit the community rather than the individual. Please post to !askandroid@lemdro.id.

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to !androidmemes@lemdro.id.

  4. No self-promotion spam: Active community members can post their apps if they answer any questions in the comments. Please do not post links to your own website, YouTube, blog content, or communities.

  5. No reposts or rehosted content: Share only the original source of an article, unless it's not available in English or requires logging in (like Twitter). Avoid reposting the same topic from other sources.

  6. No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.

  7. No piracy or unverified APKs: Do not share links or direct people to pirated content or unverified APKs, which may contain malicious code.

  8. No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.

  9. No offensive or low-effort content: Don't post offensive or unhelpful content. Keep it civil and friendly!

  10. No affiliate links: Posting affiliate links is not allowed.

Quick Links

Our Communities

Lemmy App List

Chat and More


founded 1 year ago
MODERATORS