16
submitted 10 months ago by axzxc1236@lemm.ee to c/android@lemmy.world

I currently have a server running in cloud that can send custom notification through self-hosted gotify server.

The down side is battery drain, it eats more than 15% of battery per day and it's unsustainable, I have to turn on battery optimization.

I know google offers GCM and FCM which instant messaging APPs uses, but I couldn't find a software that is as easily configurable and have a ready to use Android client (that preferably connects to GCM and FCM so no battery drain problem), any recommendation?

top 4 comments
sorted by: hot top controversial new old
[-] WhoRoger@lemmy.world 7 points 10 months ago

I use ntfy for two Matrix clients and battery drain is negligible.

[-] axzxc1236@lemm.ee 4 points 10 months ago

I never thought about using instant messaging platform... and that makes so much sense I feel stupid.

[-] WhoRoger@lemmy.world 1 points 10 months ago

Ha that's a way too, although I was pitching ntfy. I don't know much about it, but you can use it separately from IM. Foss Matrix clients just use it as a substitute for gms.

[-] NotMyOldRedditName@lemmy.world 1 points 10 months ago* (last edited 10 months ago)

Just remember that anything you use thats not FCM based will be second tier to FCM.

There are OS level restrictions that FCM can bypass that you won't be able to with any other service.

You can ask users to disable battery optimizations but even then, they'll be intermittently unreliable, and you'll ultimately end up in situations where they won't receive them until the next time they open the app or hours later, depending on the manufacturer

And in case it wasn't clear, you don't need to be a IM app to use FCM. That's not it's only purpose.

this post was submitted on 23 Aug 2023
16 points (94.4% liked)

Android

26901 readers
239 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 1 year ago
MODERATORS