this post was submitted on 16 Jan 2024
53 points (73.9% liked)

Android

17677 readers
37 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: [email protected]


💡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: [email protected]

For fresh communities, lemmy apps, and instance updates: [email protected]

💬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 [email protected].

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to [email protected].

  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
 

No combined notification+ringer volume control? No non-dismissable notifications? ~~No disabling of the bottom search bar?~~ fair point this is launcher issue What the fuck is that shit?!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 35 points 10 months ago (3 children)

Set the battery usage of your essential apps to Unrestricted and your persistence problem is solved. Android has vastly improved its security by cutting off the workarounds shady (and legit) apps have used to persist. Some of these improvement are from GrapheneOS devs hardening the AOSP pipeline and increasing everyone's privacy. You mention VPN apps getting neutered. I've never experienced Wireguard getting killed by Android and I use that app nearly continuously. I also use Syncthing all day. Setting its battery use to unrestricted keeps it working just fine. I use the app's internal options to disable syncing when my battery tapers off. The hacky workarounds you speak of to maintain persistence on A14 should be killed off to improve everyone's privacy.

[–] [email protected] 6 points 10 months ago

Set the battery usage of your essential apps to Unrestricted and your persistence problem is solved

The background app battery usage feature (otherwise known as "allow background activity", "battery care", or "Adaptive battery") is a different feature to what I'm talking about here sadly AFAICT, and doesn't affect the relative importance weight of apps when Android's memory management is looking for things to kill.

The only thing that the background app battery usage restriction does is stop "inactive" apps from running in the background if they are using up a lot of CPU time, and if the app is not being interacted with frequently: either directly by the user, indirectly via Google Cloud Messaging, or by another app on the device. From what I can tell, it's completely separate to Android's memory management and solely exists to extend battery life.

Android has vastly improved its security by cutting off the workarounds shady (and legit) apps have used to persist.

Shady apps already persist using Google (Firebase) Cloud Messaging, and this change does not impact them. Even if they are killed by the separate background battery app usage feature, a simple push message typically brings these back.

The hacky workarounds you speak of to maintain persistence on A14 should be killed off to improve everyone's privacy.

I wouldn't exactly categorize this as a hacky workaround, since it follows the documented relative app importance weights used by Android's memory management. Users can even bypass this themselves by swiping on the persistent notification, and hiding those types of app notifications.

If anything IMO it forces apps to be less transparent about their activity, since they cannot communicate to the user that they are running

If I'm wrong about the background battery app feature's seemingly lack of impact on Android's memory management please do let me know - I've yet to come across anything suggesting it does ☹️

[–] [email protected] 1 points 10 months ago

Interesting, thanks

[–] [email protected] 0 points 10 months ago

It's supposed to, but on my Realme X3 it just does whatever it wants irrespective. Not Android 14 admittedly, but I have little faith that any future phone will behave in this regard.