Xiaomi models

Battery Settings #

If your app implements a tracking use case, it will probably need to run for hours in the background. However, by default Android may prevent apps to run for long periods of time in order to save battery. You may disable this Android feature by:

  1. Disabling the Power Saver mode in your smartphone.
  2. Disabling the battery optimization feature for your app.

Disable Power Saver mode #

You may disable the Power Saver mode directly from the Security App > Battery and deactivate both Battery saver and Ultra battery saver.

Disable Battery optimization for your app #

In addition, you will need to deactivate the battery optimization option for your app. This action can be performed by selecting Manage apps in the Security App.

Then, in the configuration of the APP, select the option Battery and configure it as Unrestricted.

WiFi scan throttling (Android 10 and onwards)  #

Disabling WiFi Throttling from the Developer options #

One way to disable WiFi Throttling is through the Android Developer Options. First of all, you must turn on these options by going to Settings > About Phone. Then, tap on the menu called “MIUI version” 7 times (1).

Then, go back to Settings> Additional settings and access the Developer Options (2). On Networkingdeactivate the WiFi scan throttling (3).

(1)
(2)
(3)

Disabling WiFi Throttling with ADB #

As an alternative to the previous process, you may also disable WiFi Throttling in your device by using ADB. First of all, you should install and get ADB running on your computer. Then, connect your smartphone to your computer via USB and introduce the following command in your favourite console:

adb shell settings put global wifi_scan_throttle_enabled

Enabling Wifi & Bluetooth scanning #

In order to scan WiFi and BLE signals correctly, you must allow scanning WiFi networks and Bluetooth beacons in Settings > Location > Location Services and activate Wifi & Bluetooth scanning.

Clearing your app’s cache #

Sometimes, the data in your cache may become corrupt and you may want to clear it. You may do this from your Application icon. Hold down your app icon (Situm MRM Tracker App in this example) and click on App info. Then, select Clear data and Clear cache.

Finally, login in to your app again.

Disabling unrestricted mobile data #

Tracking apps usually need to communicate continuously with Situm Platform (in the cloud) in order to upload the users’ geolocations in real time. Android OS may restrict these communications if your smartphone has the “Data saver” option enabled. We highly recommend disabling this option for these kinds of apps.

To do so, go to Security < Data usage < Restrict data usage < Unrestrict the app.

Enabling the unrestricted data usage and background data usage #

Additionally, we also recommend enabled the following:

  • Background data usage
  • Data usage while Data saver is on

You may do this from your App info (name may vary across Android versions). Hold down your app icon (Situm Mapping Tool App in this example) and click on Mobile Data. Then, enabled Allow background data usage and Allow data usage while Data saver is on.

Subscribe to our newsletter

BASIC INFORMATION ON DATA PROTECTION

Data controller: SITUM TECHNOLOGIES, S.L.
Contact: Data controller: situm@situm.es
Responsible for protection: dpo@situm.es
Purpose and legal basis: To manage the sending of SITUM newsletters only with consent.
Legitimation: Express consent of the interested party.
Recipients: The data will not be passed on to third parties with the exception of legal obligations.
Retention period: As long as the interested party remains subscribed to the newsletter (a link to unsubscribe will be available in each newsletter sent by Situm).
Rights: The interested party may at any time revoke their consent, as well as exercise their rights of opposition, access, conservation, rectification, limitation, deletion of data and not be subject to a decision based only on automated data processing, by writing to SITUM at the addresses indicated.
Additional Information: You can consult additional and detailed information on Data Protection in our privacy policy.

Please, download your copy here

Thank you for downloading our whitepaper. Please do not hesitate to contact us if you would like to know more about how our solutions can help your business. Download whitepaper


Close window