Heartbeat for device