# Prevent App Sleep

The "Enable preventing app to sleep mode" feature allows you to keep your app active and prevent it from going to sleep automatically. This ensures that your app remains functional and visible even if the device is not actively being used.

## **How to Enable?**

<figure><img src="/files/8altyWZTRbpPXf5XXQ01" alt=""><figcaption></figcaption></figure>

### **Navigate to App Settings:**

* Open your Twinr dashboard.
* Go to the "App Settings" section from the left-side menu.

### **Enable Preventing App to Sleep Mode:**

* In the "App Settings" section, find the toggle switch labeled "Enable preventing app to sleep mode."
* Toggle the switch to the "on" position. The switch will turn green, indicating that the feature is enabled.

### **Save Changes:**

* Click the "Save As a Draft" button at the bottom of the page to save your changes.
* Optionally, click the "Publish" button to apply the changes to your live app immediately.


---

# 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://help.twinr.dev/setup-branding-info/app-settings/prevent-app-sleep.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.
