# \*SDK Modes

{% hint style="info" %}
Applicable for SDK version 5.9.0 and higher
{% endhint %}

#### SDK can work in two modes now:

**Aggressive** - [heartbeats](/platform-features/heartbeats.md) are sent every 20 minutes and SDK never sleeps.&#x20;

**Normal** - [heartbeats](/platform-features/heartbeats.md) are sent every 20 minutes but when system suspends SDK, it gees to a sleep mode and will restore work only in trip start time.

Mode switcher \
\- (**void**)setAggressiveHeartbeats:(**BOOL**)value;\
usage example:

```
[[RPEntry instance] setAggressiveHeartbeats: false];
```

Check state \
\- (**BOOL**)aggressiveHeartbeat; \
usage example:

```
[[RPEntry instance] aggressiveHeartbeat];
```


---

# 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-old.telematicssdk.com/sdk-installation/ios-sdk-intallation/sdk-modes.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.
