> For the complete documentation index, see [llms.txt](https://docs-old.telematicssdk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-old.telematicssdk.com/sdk-installation/ios-sdk-intallation/sdk-modes.md).

# \*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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.
