# What happens when the device is offline?

**Q:**\
What happens to the data collected by the Agent app when there’s no Internet connection?

**A:**\
When the device is offline, all data collected by the Agent app is **stored locally in encrypted form**.\
The app does **not delete or lose any information** due to a lack of network connection.

As soon as the device connects to the Internet again (either Wi-Fi or mobile data), all pending records will be **automatically uploaded** to the server in the background.\
This ensures no data loss and no unnecessary retries while the device is disconnected.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://myparentalapp.gitbook.io/support/help/faqs/agent-app/connectivity-and-data-sync/what-happens-when-the-device-is-offline.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
