This diff introduces a ping interval to check if the device is online.
The default "beacon" value for pinging is `2500` ms, which seems reasonable.
More context can be found in the Linear task.
Related Linear task: [[ https://linear.app/comm/issue/ENG-1766/make-sure-the-device-is-offline-to-send-a-notification-to-wake-it-up | ENG-1766 ]]