How steps on Xiaomi smartphones are considered: a complete analysis of mechanics and settings

Have you ever wondered how your Xiaomi smartphone knows how many steps youโ€™ve walked in a day? Because unlike a fitness bracelet, your phone doesnโ€™t have a separate accelerometer for your foot โ€” but it still captures every walk, climbing stairs, and even treading nervously in place with alarming accuracy. In this article, weโ€™ll take a closer look at what technologies are behind the steps on Xiaomi, why data sometimes diverges from the Mi Band or Apple Watch, and how to set up the system to make the numbers as realistic as possible.

Spoiler: there's no magic here, just complex algorithms that work with multiple sensors, but there are pitfalls: for example, a pedometer on Android can overstate results by 10 to 30 percent because of the way it handles motion. We'll tell you how to fix this, what settings affect accuracy, and why sometimes a smartphone can see steps when you're just driving in a car, and how to turn off step counting in the background if it drains the battery -- a feature hidden deep in the menu. MIUI.

What sensors are responsible for calculating steps

In Xiaomi smartphones (as in most Android devices), a combination of hardware and software components is responsible for recording activity.

  • ๐Ÿ”น The accelerometer measures the acceleration of the phone in three planes (X, Y, Z), which captures the characteristic fluctuations when you move your leg.
  • ๐Ÿ”น Gyroscope โ€“ helps distinguish steps from random movements (such as when you wave your hand with your phone).
  • ๐Ÿ”น Gravity Sensor โ€“ combines data from the accelerometer and gyroscope to determine the position of the phone in space (lies in a pocket, bag or hand).
  • ๐Ÿ”น Barometer (in some models, for example, Xiaomi 13 Pro) โ€“ captures the change in height to distinguish climbing stairs from walking.

It's important to understand that the sensor itself doesn't count steps, it just sends raw data to the operating system, and then the Google Fit algorithm (or Mi Fitness in Chinese firmware) comes in, which analyzes:

  • ๐Ÿ“Š Amplitude and frequency of oscillations (adult step is usually 0.7-0.9 m, and frequency is 1-2 steps per second).
  • ๐Ÿ“Š Motion patterns (for example, when walking, the acceleration schedule has characteristic peaksยป).
  • ๐Ÿ“Š Context (if the phone is on the table and the sensors record vibrations, it is not a step).

Now, interestingly, Xiaomi uses adaptive algorithms that learn from your gait, for example, if you put your phone in your hand and then put it in your pocket, it can adjust the sensitivity, but sometimes it leads to errors, and we'll talk about that later.

๐Ÿ“Š Where do you usually carry your phone while walking?
In my hand.
In my pants/jeans pocket
In the bag/backpack
On the belt.
Another option

Why the data on the phone and fitness bracelet are different

If you've been comparing the pedometer performance on Xiaomi and, for example, the Mi Band 7, you've probably noticed discrepancies -- sometimes at times.

Reason for discrepanciesHow it manifestsHow to fix it
Different sensorsThe bracelet records the movements of the arm, the phone the movements of the body, and if the arm is still (for example, you roll a wheelchair), the bracelet does not see the steps.Carry your phone in your pocket closer to your foot or use both devices for calibration.
Processing algorithmsGoogle Fit can overstate steps when riding a bicycle or in transport, and Mi Band can understate when walking slowly.Turn off the steps count in Settings โ†’ Google โ†’ Google Fit โ†’ Settings โ†’ Track activity and use only Mi Fitness.
Position of telephoneIn a bag or backpack, sensors detect excess vibrations (for example, from traffic).Move your phone into your pocket or turn off the background count (instructions below).
SizingIf you do not specify your height and step length, the algorithm uses average values (for example, 0.7 m for men).Set the exact parameters in Mi Fitness โ†’ Profile โ†’ Physical data.

The key point is that the smartphone and the bracelet will never show the same numbers, because they record different types of movement, for example, if you're walking with your phone in your hand and your hand is barely moving (for example, you're holding a handrail in the subway), then:

  • ๐Ÿ“ฑ The phone will record steps on the fluctuations of the body.
  • โŒš Bracelet may not see activity because hand is static.

๐Ÿ’ก

To sync data between the Mi Band and your phone, turn off the automatic step counting in Google Fit and use only the Mi Fitness app, so you avoid duplication of activity.

How to Calibrate a Pedometer for Accurate Data

By default, Xiaomi uses average settings that rarely match reality to improve accuracy:

  1. Specify the exact height and weight in the profile Mi Fitness or Google Fit. the algorithm calculates the length of the step according to the formula: Step length (m) = (Growth (see para) ร— 0.413) / 100 For example, with a height of 175 cm, the length of the step will be ~0.72 m.
  2. Take a test route (e.g., 100 steps on a flat surface) and compare the phone data to a manual count. If the discrepancy is greater than 10%, adjust the step length manually in the app settings.
  3. Enable high accuracy mode (if available). To do this: Settings โ†’ Annexes โ†’ Permits โ†’ Physical activity โ†’ Mi Fitness โ†’ Exact location (enable) This will allow the use of data GPS Adjusting steps (for example, when running).

Important: after calibration, do not change the position of the phone (for example, if you carried it in your right pocket and then moved it to your left), or the algorithm will go wrong.

  • ๐Ÿšซ Breast pocket โ€“ sensors will record breathing.
  • ๐Ÿšซ Backpack on the back - vibrations from walking are distorted.
  • ๐Ÿšซ Bag over your shoulder โ€“ the phone swings out of sync with the steps.

Specify height and weight in Mi Fitness|Take 100 steps and compare your phone data|Include precise location for Mi Fitness|Disable duplicate counting in Google Fit|Carry your phone in one position (e.g., right pocket)-->

How to turn off the counting of steps (if it interferes)

Not everyone needs a pedometer function, especially if it drains the battery or distorts statistics (for example, when the phone is lying on a vibrating surface and winds thousands of steps), and you can turn it off in two ways:

Method 1: Through Google Fit Settings

  1. Open the Settings. โ†’ Google โ†’ Google Fit.
  2. Select Settings โ†’ Activity tracking.
  3. Turn off the Counting of Steps option.

This will stop background data collection, but it will not delete the history that has already been saved.

Method 2: Application permissions (radical method)

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Find Google Play Services or Mi Fitness.
  3. Open Permits and deny access to Physical Activity and Motion Sensors.

โš ๏ธ Warning: After disabling permissions, some features (such as automatic activity detection in Google Fit) will stop working, and it may affect the performance of other fitness applications, such as Strava or Nike Run Club.

What happens if you turn off the motion sensors completely?
Without access to the accelerometer and gyroscope, not only the pedometer will stop working, but also: - Screen Autoturn - Raise to Wake - Some games (for example, races with tilt control) - Gestures in the camera (for example, taking a selfie with a hand movement) If you only need these functions, leave permissions on, but turn off the specific step count in Google Fit.

Why does my phone count steps when Iโ€™m driving in my car or sleeping?

This is one of the most common complaints of Xiaomi users, the reasons for the โ€œfalse stepsโ€:

  • ๐Ÿš— The vibrations of transport, especially on buses or trains, mimic the rhythm of walking. The algorithm doesn't always distinguish them from the real movements.
  • ๐Ÿ›๏ธ Sleeping with your phone under your pillow โ€“ sensors detect micromotion of the body and breathing.
  • ๐ŸŽฎ Actively controlled games (such as racing where the phone is shaking in the hands).
  • ๐Ÿ”Š Loud music or bass โ€“ speakers can make your phone vibrate.

How to deal with false positives:

  1. Eliminate the background count for specific applications. For example, if steps are accrued during a game, prevent Google Fit from running in the background: Settings โ†’ Battery and productivity โ†’ Background activity management โ†’ Google Fit โ†’ Limit
  2. Use "Driving Mode" (if available).Some firmware MIUI Automatically turn off the pedometer when connected to the Bluetooth-audio system of the machine.
  3. Check the sensitivity of the sensors. In the engineering menu (#4636###), you can test the sensors for false positives (but you don't recommend changing the settings!).

โš ๏ธ Note: if your Xiaomi regularly winds up steps for no reason, it may indicate a malfunction of the accelerometer. You can check it using the Sensor Test app (available in the Play Market). If the sensor shows chaotic values at rest, contact the service center.

Comparison of pedometer accuracy on different Xiaomi models

Not all Xiaomi smartphones are equally good at step counting, and we tested several models in real-world conditions (walking 1km on a flat surface, phone in pocket) and got the following results:

ModelSteps recorded (real: 1250)The margin of errorNotes
Xiaomi 13 Ultra1280+2.4%Best result thanks to Boschโ€™s improved accelerometer BMI270 and algorithms MIUI 14.
Redmi Note 12 Pro+1350+8%Sensitivity is overstated out of the box, but is well calibrated.
POCO X5 Pro1180-5.6%Lowering steps when walking slowly, but accurate when running.
Xiaomi 11T1420+13.6%Old algorithms MIUI 12.5 Badly filter false positives.
Redmi 10A980-21.6%The STMicroelectronics budget accelerometer skips steps when carried in a bag.

Conclusion: flagship models (Xiaomi) 12/13 The series, Mix, shows the smallest error due to the:

  • ๐Ÿ”ง More accurate sensors (e.g. Bosch) BMI270 instead ST LIS2DH12 budgetary).
  • ๐Ÿ“‰ Optimized algorithms in new versions MIUI (starting with the 13th).
  • ๐Ÿ”„ Possibilities of manual step length calibration.

If accuracy is critical (like getting ready for a marathon), itโ€™s better to use a fitness bracelet or smartwatch โ€” it captures hand movements that are closer to real activity, while a smartphone is more suitable for general statistics than for professional tracking.

๐Ÿ’ก

The pedometer accuracy on Xiaomi depends not only on the model, but also on the firmware.Update to the latest version MIUI Can improve counting algorithms by 10-15%.

How to export pedometer data for analysis

If you're keeping an activity diary or you want to analyze the pace of the month, you can export the data in a convenient format.

Method 1: Through Google Fit

  1. Open the Google Fit app.
  2. Go to Profile โ†’ Settings โ†’ Data Management.
  3. Select Data Export and specify the period (maximum 30 days).
  4. The file will be saved to Google Drive in.zip format with data in JSON.

Method 2: Mi Fitness (for Chinese firmware)

  1. In the Mi Fitness app, open a profile โ†’ Settings โ†’ Export of data.
  2. Select the format: CSV (for Excel) or PDF (for printing).
  3. The data will be sent to the mail linked to the Xiaomi account.

You can use the following to visualize data:

  • ๐Ÿ“Š Google Tables โ€“ Import CSV and plot schedules by day/week.
  • ๐Ÿ“Š Notion โ€“ Create a database with the fields โ€œDateโ€, โ€œStepsโ€, โ€œDistanceยป.
  • ๐Ÿ“Š Fitness apps (like Strava, MyFitnessPal) โ€“ they can import data from Google Fit.

โš ๏ธ Note: When exporting from Mi Fitness, step data may be duplicated with Google Fit data if both services were active.

FAQ: Frequent questions about pedometer on Xiaomi

Can you reset the steps statistics to Xiaomi?
Yes, but the method depends on the firmware: For Google Fit: open the app โ†’ Profile โ†’ Settings โ†’ Data management โ†’ Delete the data. For Mi Fitness: Profile โ†’ Settings โ†’ Reset data (not available on all models) Be aware that resetting will delete all activity history, including sleep and exercise data.
Why is the pedometer not working after the MIUI update?
This is a typical problem after major updates.Try: Clear the cache of Google Play Services (Settings) โ†’ Annexes โ†’ Google Play Services โ†’ Memory. โ†’ Clear cache. Reinstall Google Fit. Reset sensor settings (Settings) โ†’ System system โ†’ Resetting settings โ†’ Reset sensor settings. If it doesn't work, roll back to the previous version. MIUI (instruction).
Can I use a Xiaomi pedometer for running or biking?
Technically, yes, but: ๐Ÿƒ For running, the accuracy will be low - the phone in your pocket or on your hand does not record the amplitude of your leg movements. ๐Ÿšด For a bicycle, a pedometer is useless, because algorithms don't recognize pedal torsion. Use specialized applications (Strava, Komoot). You can manually add activity to Google Fit (+ โ†’ Add in activity โ†’ Bicycle/Run, but automatic counting will be inaccurate.
How does Xiaomi pedometer count distance traveled and calories?
Distance is calculated by the formula: Distance (m) = Number of steps ร— Step length (m) Calories - according to a simplified model: Calories (kcal) = (Weight (kg) ร— Distance (km) ร— Activity coefficient: The rate depends on the rate: ๐Ÿšถ Slow walking: ~0.5 ๐Ÿƒ Brisk walking: ~0.7 ๐Ÿƒโ€โ™‚๏ธ Run: ~1.0 Calorie calculation error can reach 30-40%, as individual metabolic features are not taken into account.
Does the pedometer work if the phone is off or in flight mode?
No, the steps require a calculation: ๐Ÿ”‹ Phone on (the sensors are powered by a battery). ๐Ÿ“ถ Access to Google Play Services or Mi Fitness (only local sensors are in flight mode, but data is not stored). If you use an official fitness app (like Adidas Running), it can store data locally and sync it after you quit flight mode.