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

Android

17644 readers
79 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] 4 points 9 months ago (2 children)

It was a way for apps to run without risk of being killed while letting the user easily see that the app was running.

[–] [email protected] 7 points 9 months ago (2 children)

That sounds like a weird way to get around battery optimizations without having to ask the user to explicitly do that for this app? I mean there is a mechanic for that already via disabling battery optimizations, far as I understand it.

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

Showing a notification doesn't "evade" battery optimization - as battery optimization is completely independent of Android's memory management.

Showing a notification allows Android's memory management to better assess what apps to kill using a weights system, based on whether they are in the foreground or background, if any of the app's overlays/notifications are visible to the user, and exactly how visible they are.

Battery optimization will kill any non-system app based on how frequently it is used, dependent on its overall background CPU usage, regardless of whether the app is showing a notification or not.

[–] [email protected] 4 points 9 months ago

Exactly, it was a crappy stop gap solution.

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

I hated apps that did that. Never really worked anyway. Do your app properly for God's sake!