@daniel Signal needs to keep active and send regular pings to keep the WebSocket connection open. This is not a technical requirement of WebSockets, but stems from Signal using the latest advanced cloud technology on their servers which cuts the connection if it doesn't see active payload traffic.
@daniel That's why Molly people developed mollysocket, which is basically just a proxy you run on a private VPS so you don't have to keep the connection to the signal server from your client. And because your private VPS does not use the same advanced cloud technology as Signal, you can connect to it and keep the connection alive just using the regular means of TCP, which is far better on the battery.