I’m exploring the long-term battery-powered use cases where a device is sleeping most of the time. It takes a server some time to detect the device went offline, but is there a proper client-side call to disconnect and let server know instead of relying on timeouts and (potentially) leak resources?
In my use case I need to disconnect and go to deep sleep, so server->client communication will never happen really.