# Xiaomi - Control Background Running in MIUI

#### MIUI Autostart

* Open Settings
* Go to Permissions
* Go to Autostart
* Enable desired apps

<figure><img src="/files/H48ghYN0XvPtqAIvU77R" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/zwPjPi4Ej1PhdxDtFgnQ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/QcJM9MBTAJtE7LOt4OCP" alt=""><figcaption></figcaption></figure>

#### Lock Apps in Recent

* Go to Recent
* Tap and hold on the app
* Tap on the lock icon
* The app is now locked

<figure><img src="/files/fewYVM2SKjgkVsdEdCS6" alt=""><figcaption></figcaption></figure>

#### App Battery Saver

* Go to Settings
* Battery & performance
* Choose apps
* Select apps and set “No restrictions”

<figure><img src="/files/YOlvCaMWh40xp5JnxD0n" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/STnMzRcypw5swvRPWyto" alt=""><figcaption></figcaption></figure>

#### Enable show in Lock Screen

* Go to Settings
* Permissions
* Other Permissions
* Select Toky
* Accept all permissions included Show on Lock Screen

<figure><img src="/files/PDMhULgQf7M8jll2zZst" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/xvy3O60sLmUOv3ZlYNHn" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/wYUBv7SkZPrd9wrw4QAF" alt=""><figcaption></figcaption></figure>


---

# 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://docs.bird.com/toky-en/integrationstokyapp/xiaomi-control-background-running-in-miui.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.
