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?

  • @WhoRoger
    link
    English
    71 year ago

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

    • @[email protected]OP
      link
      fedilink
      English
      41 year ago

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

      • @WhoRoger
        link
        English
        11 year 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
    link
    English
    1
    edit-2
    1 year 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.