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
Android
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
π°Our communities below
Rules
-
Stay on topic: All posts should be related to the Android OS or ecosystem.
-
No support questions, recommendation requests, rants, or bug reports: Posts must benefit the community rather than the individual. Please post to !askandroid@lemdro.id.
-
Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to !androidmemes@lemdro.id.
-
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.
-
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.
-
No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.
-
No piracy or unverified APKs: Do not share links or direct people to pirated content or unverified APKs, which may contain malicious code.
-
No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.
-
No offensive or low-effort content: Don't post offensive or unhelpful content. Keep it civil and friendly!
-
No affiliate links: Posting affiliate links is not allowed.
Quick Links
Our Communities
- !askandroid@lemdro.id
- !androidmemes@lemdro.id
- !techkit@lemdro.id
- !google@lemdro.id
- !nothing@lemdro.id
- !googlepixel@lemdro.id
- !xiaomi@lemdro.id
- !sony@lemdro.id
- !samsung@lemdro.id
- !galaxywatch@lemdro.id
- !oneplus@lemdro.id
- !motorola@lemdro.id
- !meta@lemdro.id
- !apple@lemdro.id
- !microsoft@lemdro.id
- !chatgpt@lemdro.id
- !bing@lemdro.id
- !reddit@lemdro.id
Lemmy App List
Chat and More
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.
I feel like half the time that doesn't work though :/
Because it's cached and gets killed when Android needs to free up resources.
Works perfectly for me. Do you have a Samsung device? Because they basically ignore it.
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.
I'm sure this will have good and bad consequences.
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.
Mostly bad
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.
I want a option to turn that off or exclude apps (just put it in dev settings)
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.
I've encountered them being killed off as well from time to time.
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.
I have a Pixel so if anything that's 100% Google
XD
This really was a trick and was mostly exploited.
An app that actually needs being in the background would just show a persistant notification.