# Avoid Suspension

![](/files/rAoWsUxx8aexmF2ACAZE)

{% tabs %}
{% tab title="Entry Vars" %}
**onlyEnable :**&#x20;

**Step by Step :**

<figure><img src="/files/iz93ODIXI98MAZDzicI2" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Callbacks & Outvar" %}
**On Error :** Runs when our function can't prevent screen sleep.

OutVars&#x20;

`Null`

**On Success :** Runs when our function executes successfully and prevents screen sleep

OutVars&#x20;

`Null`
{% endtab %}

{% tab title="Features" %}

{% endtab %}

{% tab title="examples" %}

{% endtab %}
{% endtabs %}


---

# 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.apphive.io/reference/funciones/phone-apis-e/avoid-suspension.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.
