this post was submitted on 15 Jun 2023
65 points (100.0% liked)
Technology
37747 readers
175 users here now
A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.
Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.
Subcommunities on Beehaw:
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If the app uses Google FCM (which uses Google Play Services to poll notifications on device) it should register an FCM service that runs separately from the application, so it shouldn't need to run in the background.
However to answer your original question, you can disable battery optimization for particular apps. Or if an app wants to really never be killed, it can create an Android foreground service.