• bent@feddit.dk
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 hours ago

    Yes, I used web sockets for Signal for a while. It drained 30% of my battery when the phone sat idle for a day. Absolutely bonkers. Made the phone almost unusable so had to revert to FCM or disable notifications.

    • NotMyOldRedditName@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 hour ago

      Ya, it can be brutal on battery.

      I worked on an app once where delivery was critical, so we gave them the option of the active service+websocket, but for them the trade off was acceptable.

      Pushes can be pretty flakey given all the shenanigans OEMs do on the device, even when marked as high priority correctly.

      And the even worse part is when OEMs reset battery saving flags the user had set to help pushes get through and they stop working one day because of it.