Xiaomi smartphones today have a lot of sensors, one of which is the accelerometer, which is the step counter. But how does the phone tell you you've made a step, not just shook the device in your hand? Why do these pedometers sometimes diverge from fitness bracelets, and can you increase the accuracy of measurements?
In this article, we will discuss in detail the principle of pedometer operation in Xiaomi smartphones (including Redmi models, POCO And we'll explain what technologies are involved, and we'll give you practical tips for setting up, how to calibrate sensors, what applications to use to monitor activity, and why pedometers sometimes lieΒ».
Spoiler: The accuracy depends not only on the hardware, but also on the data processing algorithms, and where exactly you carry your phone.
What sensors are responsible for calculating steps in Xiaomi
In Xiaomi smartphones, a combination of several sensors is responsible for the pedometer operation, the main one is an accelerometer, but some models also use additional sensors to improve accuracy.
Here are the key components:
- π± Accelerometer: The accelerometer detects the acceleration of the phone in three axes (X, Y, Z). Algorithms analyze the nature of vibrations to distinguish steps from other movements (for example, cycling).
- π§ A gyroscope helps you determine your phone's orientation in space, and it's used to adjust data if you're carrying it in your pocket or bag.
- π‘ Approximation Sensor β In some models (such as the Xiaomi 12 Pro) helps to determine whether the phone is in your pocket or in your hand.
- π Machine learning algorithms β MIUI Uses cloud services to analyze motion patterns and improve accuracy over time.
It's important to understand that the pedometer doesn't work all the time. To save battery power, the sensors are activated periodically, and the data is extrapolated. This is one of the reasons why the metrics may differ from fitness bracelets, which measure heart rate and movement. 24/7.
Interesting fact: in Xiaomi models with Qualcomm Snapdragon processors (for example, POCO F4 Or the Redmi Note 11 Pro.+) Use a specialized low-consumption coprocessor (LP DSP), It's a processor that processes sensor data without the main processor being turned on.
How algorithms distinguish steps from other movements
The main task of the software is to separate regular steps from random vibrations (for example, when driving a vehicle or working with tools).
- Frequency analysis: A person's steps have a characteristic frequency (usually 1-2 Hz) and the algorithm filters signals that go beyond that range.
- Acceleration patterns: The graph of acceleration when walking has a repetitive saw-shaped appearance, and the system compares it to reference patterns.
- Contextual information: if enabled GPS Or Wi-Fi, the phone can take into account the speed of travel, for example, if you're moving at 5 km/h, it's more like walking than running.
In smartphones Xiaomi with MIUI 13 and later, a neural network trained on millions of motion samples is adapted to the individual user's walking style, reducing the error by 15-20% compared to older versions of firmware.
But the algorithms are not perfect.
- πΆββοΈ Walk with your phone in your hand, actively waving it (the algorithm can count extra steps).
- π Pushing a cart in a supermarket (wheel vibrations are sometimes perceived as steps).
- π Driving on a bad road (unevents can simulate steps).
π‘
If the pedometer is constantly overestimating, try to carry the phone in your pocket closer to your hip - there the vibrations from walking are clearer, and extraneous movements are minimized.
Where is the history of steps stored and how to export it
Step data in Xiaomi is collected and stored in several locations:
- Locally on your phone: in the Mi Fitness app database (formerly Mi Health) or Google Fit if you use it.
- In the cloud Xiaomi: syncs with your Mi Account (sync settings can be found in Settings) β Accounts. β Mi Account β Synchronization of data).
- In Google Fit: If you connect Mi Fitness to Google services, the data is duplicated there.
To export the step history:
- Open the Mi Fitness app.
- Go to the Profile section β Settings β Export of data.
- Select the period (such as βLast 30 daysβ) and the format (usually.csv or.json).
- Confirm the export β the file will be saved in the Download folder.
Open Mi Fitness|Go to Profile. β Settings|Select βData export"|Specify the period and format|Download the file-->
If you use Google Fit, export is available through the web version of the service:
- Go to fit.google.com.
- In the menu, select Data Management β Export of data.
- Google will create an archive of data for the entire period of observation.
Note that when you reset your phone to factory settings, the local step history is deleted, and if you don't have cloud sync, you can't restore it.
Why the pedometer in Xiaomi lies: common reasons
Step error is a common complaint among users, and here are the main reasons for the inaccuracy and how to fix it:
| Problem. | Reason. | Decision |
|---|---|---|
| Overestimated indicators | Phone in hand or bag, extraneous vibrations | Wear your phone in your pants pocket or belt |
| Understated indicators | Sensors are calibrated incorrectly or contaminated | Calibrate the calibration (see the next section) |
| Steps don't count at all. | Sync with Mi Fitness or Google Fit is disabled | Check the application settings and permissions |
| Sharp jumps in statistics | Failure of sensors or software | Reboot your phone or update your MIUI |
Another common problem is data duplication, and if you're using Mi Fitness and Google Fit at the same time, both apps can record steps independently, leading to double counting, to avoid this:
- Open Settings β Applications β Application Management.
- Find Google Fit and turn off auto-start.
- In Mi Fitness, turn off sync with Google Fit (Profile) β Settings β Connected applications).
What to do if the pedometer resets after the update MIUI?
How to Calibrate a Pedometer to Improve Accuracy
Calibration of sensors helps reduce the error of the calculation of steps, and at Xiaomi, this can be done in two ways: through built-in tools. MIUI or through third-party applications.
Method 1: Calibration with Mi Fitness
- Open the Mi Fitness app.
- Go to Profile. β Settings β Stepper.
- Select the pedometer calibration.
- Follow the instructions on the screen: walk 20β30 steps with your phone in your hand, then repeat with your phone in your pocket.
Method 2: Manual calibration through an engineering menu (for advanced users)
#4636## β Testing β Sensors β
Select "Axelerometer" and check the readings at rest (should be close to 0 on all axes).
If the values are strongly deflected, reset the sensors (see spoiler above).After calibration, it is recommended that:
- π² Take 100 steps and compare your phone readings to the real number.
- π Repeat calibration in 2-3 days β algorithms adapt to your walking style.
- π Use applications like Accupedo or Pedometer to compare accuracy.
π‘
Calibration pedometer is recommended to repeat after replacing the case, updating the firmware or resetting the phone settings.
The best apps for counting steps on Xiaomi
Built-in pedometer in MIUI It is not always good for users in terms of accuracy or functionality. Consider alternative applications that can be used on Xiaomi smartphones:
| Annex | Features | Cons |
|---|---|---|
| Google Fit | Integration with other Google services, support for fitness goals | Can duplicate data with Mi Fitness |
| Accupedo | High accuracy, height and weight calibration, widget on the main screen | Advertising in the free version |
| Pacer | Social features, Challenges, support for smart watches | Registration is required |
| Leap Fitness Step Counter | Minimalist interface, low battery consumption | Limited statistics |
When choosing an application, pay attention to:
- π Battery consumption: Some pedometers run in the background and severely drain the phone.
- π Detailing statistics: the best apps show not only steps, but also distance, calories, activity time.
- π Sync: If you use a fitness bracelet, check compatibility with it.
For maximum accuracy, you can use a combination of two applications: one for calculating steps, the other for analyzing data. + Google Fit for Long-Term Statistics.
π‘
If you run or exercise, install the Strava app or Nike Run Club. GPS for accurate distance measurement, and steps are calculated based on the path traveled, which is often more accurate than the accelerometer data.
How a pedometer affects battery consumption and whether it can be turned off
The constant operation of sensors and background processes inevitably affects battery life. In Xiaomi smartphones, the pedometer consumes about 1-3% of the charge per day, but this value can increase if:
- π± You use multiple apps to count steps at the same time.
- π Real-time data synchronization with the cloud is enabled.
- π Pedometer app displays widget on home screen with frequent update.
To reduce battery consumption:
- Open Settings β Battery and Performance β Battery Consumption Management.
- Find a pedometer app (such as Mi Fitness) and set a background limit mode for it.
- Turn off autosynchronization of data in the application settings.
If you do not need a pedometer, you can completely turn it off:
- Go to Settings β Applications β Application Management.
- Find Mi Fitness (or another stepmer app).
- Click Disable or Delete (if the application is system-based, only deactivation will be available).
- Turn off sensor access permissions in Settings β Confidentiality β Permits β Physical activity.
π‘
Even after disabling the pedometer app, the phoneβs sensors continue to capture movement, but the data is not stored and processed, saving charge.
Note: In some Xiaomi models (e.g. Redmi Note 10 Pro), the pedometer is built-in at the firmware level and cannot be completely deactivated without root rights.