> For the complete documentation index, see [llms.txt](https://dev.pointr.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.pointr.tech/features/indoor-location-blue-dot/hardware-specifications/battery-consumption/battery-consumption-report.md).

# Battery Consumption Report

This document provides an analysis of battery consumption for a Mobile SDK across different beacon, GPS, and geofence scenarios.

***

## Configuration Parameters&#x20;

The test environment was configured with specific settings. These configurations may affect battery consumption and were applied consistently throughout the entire test process.

<table><thead><tr><th width="640.6796875">Configuration Parameter</th><th>Value</th></tr></thead><tbody><tr><td><code>analyticsConfiguration_isEnabled</code></td><td>true</td></tr><tr><td><code>positioningConfiguration_gpsFastestUpdateIntervalInSecondsInBackground</code></td><td>2</td></tr><tr><td><code>positioningConfiguration_gpsUpdateIntervalInSecondsInBackground</code></td><td>6</td></tr><tr><td><code>positioningConfiguration_gpsAccuracyModeInBackground</code></td><td>(default) 4, (lowest) 7, (highest) 1</td></tr><tr><td><code>geofencingConfiguration_isGpsGeofencingEnabled</code></td><td>true</td></tr><tr><td><code>positioningConfiguration_isBeaconTrackingEnabledInForeground</code></td><td>true</td></tr><tr><td><code>positioningConfiguration_isGpsTrackingEnabledInForeground</code></td><td>true</td></tr><tr><td><code>geofencingConfiguration_scanPeriodBackground</code></td><td>10000</td></tr><tr><td><code>geofencingConfiguration_betweenScanPeriodBackground</code></td><td>300000</td></tr><tr><td><code>positioningConfiguration_isGpsTrackingEnabledInBackground</code></td><td>true</td></tr><tr><td><code>positioningConfiguration_isBeaconTrackingEnabledInBackground</code></td><td>true</td></tr><tr><td><code>userInterfaceConfiguration_isRatingPopupEnabled</code></td><td>true</td></tr><tr><td><code>wayfindingConfiguration_areTurnDirectionsEnabled</code></td><td>true</td></tr><tr><td>Theme configurations</td><td>enabled</td></tr><tr><td>Banner configurations</td><td>enabled</td></tr><tr><td>Branding configurations</td><td>enabled</td></tr></tbody></table>

***

## Testing Environment

{% hint style="success" %}

### **Devices Used**

**iOS:** iPhone 11 - Version: 17.6.1

**Android**: Samsung A25 - Version:14
{% endhint %}

### **Test Steps**

{% stepper %}
{% step %}

#### The app is launched with different configuration settings

{% endstep %}

{% step %}

#### Battery percentage is noted at the start of the test

{% hint style="info" %}
The battery starting percentage was set at 90% to ensure accurate results. Starting the test at 100% can sometimes produce unreliable data, as devices may temporarily show battery levels up to 103% before stabilizing at 100%. To avoid such inconsistencies, a starting point of 90% was selected.)
{% endhint %}
{% endstep %}

{% step %}

#### The app runs for two hours in both foreground and background modes

{% endstep %}

{% step %}

#### Beacon and GPS configurations are tested separately

Specific environmental conditions (e.g., vehicle movement for GPS) are tested.
{% endstep %}

{% step %}

#### Battery consumption is measured after two hours.

{% endstep %}
{% endstepper %}

***

## Test Scenarios and Results

### Beacon Scenarios

{% hint style="info" %}
During beacon testing, the beacon signal was changed every 15 minutes. The test also included entering geofence areas, with at least three levels of geofence areas encountered.&#x20;

The test area had nearby beacon signal points to simulate a real-world scenario.
{% endhint %}

**Accuracy Mode Settings** `positionManagerConfiguration_gpsAccuracyModeInBackground`

We have between 1-7 stability numbers for accuracy mode:

* **Highest accuracy**: High decision for GPS search speed (1)
* **Default accuracy**: Middle decision (4)
* **Lowest accuracy**: Low decision (7)

#### Test Scenario 1: Battery Consumption with Geofence and Beacon (Foreground)

| Device                | Value                 | Battery Starting % | Battery Ending % | Difference % |
| --------------------- | --------------------- | ------------------ | ---------------- | ------------ |
| iOS - iPhone 11       | Default               | 90                 | 88               | 1%           |
| iOS - iPhone 11       | Lowest Accuracy Mode  | 90                 | 88               | 2%           |
| iOS - iPhone 11       | Highest Accuracy Mode | 90                 | 87               | 3%           |
| Android - Samsung A25 | Default               | 90                 | 85               | 5%           |
| Android - Samsung A25 | Lowest Accuracy Mode  | 90                 | 85               | 3%           |
| Android - Samsung A25 | Highest Accuracy Mode | 90                 | 84               | 6%           |

#### Test Scenario 2: Battery Consumption with Geofence and Beacon (Background)

| Device                | Value                 | Battery Starting % | Battery Ending % | Difference % |
| --------------------- | --------------------- | ------------------ | ---------------- | ------------ |
| iOS - iPhone 11       | Default               | 90                 | 89               | 1%           |
| iOS - iPhone 11       | Lowest Accuracy Mode  | 90                 | 89               | 1%           |
| iOS - iPhone 11       | Highest Accuracy Mode | 90                 | 87               | 3%           |
| Android - Samsung A25 | Default               | 90                 | 87               | 2%           |
| Android - Samsung A25 | Lowest Accuracy Mode  | 90                 | 87               | 3%           |
| Android - Samsung A25 | Highest Accuracy Mode | 90                 | 85               | 5%           |

### GPS Scenarios

{% hint style="info" %}
For GPS testing, a vehicle was used throughout the entire test process. The vehicle was moving for at least 1.5 hours of the 2-hour test. The test also involved entering at least three GPS geofence areas to evaluate battery consumption in a moving scenario.
{% endhint %}

#### Test Scenario 3: Battery Consumption with GPS Geofence (Foreground)

| Device                | Value                 | Battery Starting % | Battery Ending % | Difference % |
| --------------------- | --------------------- | ------------------ | ---------------- | ------------ |
| iOS - iPhone 11       | Default               | 90                 | 87               | 3%           |
| iOS - iPhone 11       | Lowest Accuracy Mode  | 90                 | 87               | 2%           |
| iOS - iPhone 11       | Highest Accuracy Mode | 90                 | 85               | 5%           |
| Android - Samsung A25 | Default               | 90                 | 85               | 5%           |
| Android - Samsung A25 | Lowest Accuracy Mode  | 90                 | 85               | 4%           |
| Android - Samsung A25 | Highest Accuracy Mode | 90                 | 83               | 7%           |

#### Test Scenario 4: Battery Consumption with GPS Geofence (Background)

| Device                | Value                 | Battery Starting % | Battery Ending % | Difference % |
| --------------------- | --------------------- | ------------------ | ---------------- | ------------ |
| iOS - iPhone 11       | Default               | 90                 | 88               | 2%           |
| iOS - iPhone 11       | Lowest Accuracy Mode  | 90                 | 88               | 1%           |
| iOS - iPhone 11       | Highest Accuracy Mode | 90                 | 86               | 4%           |
| Android - Samsung A25 | Default               | 90                 | 86               | 4%           |
| Android - Samsung A25 | Lowest Accuracy Mode  | 90                 | 86               | 3%           |
| Android - Samsung A25 | Highest Accuracy Mode | 90                 | 84               | 6%           |

***

## Analysis

### Beacon Analysis

<table><thead><tr><th width="295.0390625"></th><th></th></tr></thead><tbody><tr><td><strong>Default Configuration (Foreground)</strong></td><td>Battery consumption was higher on Android (5%) compared to iOS (1%). This shows that beacon tracking with the default configuration consumes more battery on Android.</td></tr><tr><td><strong>Lowest Accuracy Mode (Foreground)</strong></td><td>Both platforms saw slightly lower battery drain (2% for iOS, 3% for Android). Lowering the accuracy of beacon positioning reduces battery consumption.</td></tr><tr><td><strong>Highest Accuracy Mode (Foreground)</strong></td><td> The highest accuracy mode resulted in the greatest battery consumption, with iOS showing a 3% reduction and Android consuming 6%.</td></tr><tr><td><strong>Default Configuration (Background)</strong></td><td>Battery drain was moderate, with Android seeing a 2% drop and iOS showing a 1% decrease.</td></tr><tr><td><strong>Lowest Accuracy Mode (Background)</strong></td><td>Battery performance improved, with iOS maintaining almost no loss (1%) and Android experiencing 3% consumption.</td></tr><tr><td><strong>Highest Accuracy Mode (Background)</strong></td><td>In the highest accuracy mode, iOS saw a 3% drop while Android consumed 5% of its battery.</td></tr></tbody></table>

{% hint style="info" %}

#### **Additional Context for Beacon Testing**

* Beacon signals were changed every 15 minutes during the test.
* The test environment included nearby beacon points and required entering three levels of geofence areas.
  {% endhint %}

#### **Conclusion for Beacon**

Beacon-related configurations tend to cause higher battery drain on Android, especially when using higher accuracy modes. Lowering accuracy helps conserve battery, but the highest accuracy mode results in the highest battery consumption.

### GPS Analysis

* **Default Configuration (Foreground)**: Battery consumption was 3% on iOS and 5% on Android, indicating that GPS tracking drains more battery, especially on Android, when in the foreground.
* **Lowest Accuracy Mode (Foreground)**: Both iOS and Android saw improved battery performance compared to the default, with 2% on iOS and 4% on Android.
* **Highest Accuracy Mode (Foreground)**: The highest accuracy mode resulted in the greatest battery consumption, with iOS showing a 5% reduction and Android consuming 7%.
* **Default Configuration (Background)**: Battery consumption was slightly lower in the background, with 2% loss for iOS and 4% for Android.
* **Lowest Accuracy Mode (Background)**: Battery consumption was minimal, with iOS showing almost no loss (1%) and Android experiencing 3%.
* **Highest Accuracy Mode (Background)**: In the highest accuracy mode, iOS consumed 4% of its battery, while Android lost 6%.

{% hint style="info" %}

#### **Additional Context for GPS Testing**

* A vehicle was used throughout the test, and it was moving for at least 1.5 hours.
* The test included entering at least three GPS geofence areas.
  {% endhint %}

#### **Conclusion for GPS**

GPS tracking, particularly at higher accuracy levels, causes noticeable battery drain on both iOS and Android. The highest accuracy mode consumes the most battery, while lowering the accuracy helps reduce the impact, though GPS generally consumes more battery than beacon.

***

## Conclusion

Beacon tracking tends to cause less battery drain than GPS tracking, particularly in foreground modes. However, both technologies consume significantly more battery when set to the highest accuracy mode, with Android devices generally consuming more battery than iOS under both scenarios. Reducing the accuracy of location tracking is an effective strategy to minimize battery consumption without sacrificing too much performance.

### **Beacon vs. GPS**

Beacon tracking tends to cause less battery drain than GPS tracking, particularly in background modes. However, both technologies consume significantly more battery when set to the highest accuracy mode, with Android devices generally consuming more battery than iOS under both scenarios.

### **Accuracy Considerations**

If it is not necessary, the highest accuracy mode should not be used. Instead, users can opt for the default accuracy mode to achieve a better balance between battery consumption and performance.

### **Battery Optimization**

Reducing the accuracy of location tracking is an effective strategy to minimize battery consumption without sacrificing too much performance.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://dev.pointr.tech/features/indoor-location-blue-dot/hardware-specifications/battery-consumption/battery-consumption-report.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
