How the pedometer works in the fitness bracelet Xiaomi Mi Band 4: technologies, errors and secrets of accuracy

Why does the Mi Band 4 pedometer show different numbers?

Have you ever compared the pedometer data on the Xiaomi Mi Band 4 to other devices or applications and noticed discrepancies? Maybe the bracelet overstates the number of steps when you're driving in a vehicle, or vice versa, it "loses" some activity while walking. These errors are not accidental: they depend on the principles of the built-in sensors, the algorithms for processing data and even on how you wear the bracelet.

In this article, we'll go into detail about how the Mi Band 4 pedometer captures movement, what technology is responsible for it, and why it can be different from reality, how it distinguishes walking from driving, why it sometimes resets steps, and what to do to make the data as accurate as possible, and compare the accuracy of the Mi Band 4 with other popular fitness trackers.

If you want to not just trust the numbers on the screen, but understand where they come from, this guide is for you, and let's start with the most important thing, the bracelet stuffing, which is responsible for counting the steps.

What sensors are responsible for counting the steps in the Mi Band 4?

The pedometer is based on a triaxial accelerometer, a microchip that detects the bracelet’s acceleration in three planes: X (left-right), Y (back-to-back) and Z (up-down), and the Mi Band 4 uses an accelerometer model ADI ADXL362 from Analog Devices, which consumes minimal energy, but is able to capture even minor hand movements.

Aside from the accelerometer, the bracelet has a gyroscope, but it is used mainly to detect gestures (like raising your hand to see the time) rather than counting steps. However, gyro data can indirectly influence the algorithms for filtering false positives, such as when you wave your hand but don’t walk.

Here's how it works in practice:

  • πŸ“Š The accelerometer records the rhythmic vibrations of the hand with frequency ~1-2 Hz (typical step frequency when walking).
  • πŸ”„ The processing algorithm analyzes the amplitude and frequency of these fluctuations, sifting out random movements.
  • 🧠 Microcontroller (Dialog chip) DA14680) Converts raw data to steps using pre-loaded motion profiles.

Interestingly, the Mi Band 4 doesn't use GPS to count steps -- this module is missing from the bracelet -- instead, it relies solely on motion sensor data, which explains some of the errors, for example, if you're walking at a straight line, the algorithm can add extra steps because it doesn't see the trajectory change.

πŸ“Š How often do you check the Mi Band 4 pedometer data with other devices?
Every day.
Once a week.
Only if I notice discrepancies.
Never.

Data processing algorithms: how the bracelet distinguishes walking from random movements

The raw data from the accelerometer is just a set of numbers showing acceleration at different points in time, and to convert it into meaningful activity metrics, the Mi Band 4 uses several layers of algorithms:

  1. Noise filtering: The device ignores high-frequency vibrations (e.g. hand tremors when writing) and movements with atypical amplitude (e.g. sudden swings).
  2. The algorithm looks for the repetitive cycles of movement that characterize the step: first, the hand moves forward, then backward, with peak acceleration in the middle.
  3. Adaptive calibration: The bracelet learns to match the user's walking style: if you often walk with a bag in one hand, it will adjust the sensitivity over time.
  4. Contextual analysis: Additional factors are taken into account: time of day (at night, steps are considered stricter), heart rate (if your heart rate is elevated, you are more likely to actually move).

One of the key features of the Mi Band 4 is that it dynamically changes the sensitivity threshold, for example, if you sit for a long time and then stand up abruptly, the first few steps may not count, the algorithm will perceive them as random movement, and vice versa: if you walk exactly 10 minutes, the bracelet will "understand" that this is a purposeful activity, and will record the steps more accurately.

But there is a downside to this approach: the bracelet can mistakenly count steps when driving on rough roads or when working with a vibrating tool (such as a drill), which is because the accelerometer detects vibrations similar to the rhythm of walking.

Why does Mi Band 4 sometimes reset its paces?
If the bracelet has not synced with the Mi Fit app for a long time (more than 7 days), it can reset some of the data to free up memory. Also, the reset occurs when the battery is completely drained or when the firmware fails. To avoid losses, sync the device at least once every 2-3 days.

Pedometer accuracy: comparison with other fitness trackers

Independent tests show that the Xiaomi Mi Band 4 has an average step error of Β±5-10% for normal walking, compared to the Apple Watch Series 5, which is about Β±3-7%, while budget models without a brand can reach Β±20%.

ConditionsMi Band 4Apple Watch 5Huawei Band 4
Walking on a flat surfaceΒ±5%Β±3%Β±6%
Climb the stairsΒ±15%Β±8%Β±12%
Bicycle ridingΒ±30% (often overstated)Β±5%Β±25%
Computer workΒ± 20% (false positives)Β±2%Β±15%

The Mi Band 4’s main advantage is its price-to-function ratio, which is inferior to the flagship smartwatch in exactness, but for most users, the 5-10% difference is not critical, and the margin of error can be reduced by following a few simple rules.

⚠️ Note: If you wear a bracelet on a non-dominant hand (for example, on the right hand, if you are left-handed), the accuracy of step counting may fall on the head. 10-15%. This is because the movements of the leading hand are more rhythmic and predictable for algorithms.

How to increase the accuracy of the pedometer: 7 practical tips

Mi Band 4 is not perfect, and you can improve its accuracy by following these guidelines:

β˜‘οΈ Optimization of the Mi Band 4 pedometer

Done: 0 / 7

It's especially important to set up a profile in the Mi Fit app correctly, for example, if you put an incorrect growth, the algorithm will not correctly calculate the length of the step, which will lead to an overstatement or an understatement of the distance, to update the data:

  1. Open the Mi Fit app.
  2. Go to Profile β†’ Device Settings β†’ Personal Information.
  3. Indicate current height, weight and date of birth.
  4. Save the changes and wait for the synchronization with the bracelet.

Another useful life hack: if you're a sportsman (running, cycling, swimming), use special training regimes in the bracelet, in which case the step-counting algorithms adapt to a particular activity, for example, when choosing a "bicycle" mode, the bracelet will ignore the rhythmic hand movements that it could count for steps.

πŸ’‘

If you notice that the bracelet is constantly overstating steps, try turning off the auto-activity function in the Mi Fit settings. This will reduce the number of false positives, but will require manual training.

Common Pedometer Mistakes and How to Avoid Them

Even with the right setup, the Mi Band 4 can be wrong. Here are the most common problems and solutions:

  • πŸš— The reason is that the vibrations of the steering wheel are like the movements of the hand when walking. Solution: remove the bracelet or switch it to flight mode during the trip.
  • πŸ›οΈ The reason for this is that if you turn or tremble (for example, from the cold), the accelerometer may work. Solution: activate the "Do Not Disturb" mode for the night.
  • πŸƒ The reason is that when you run fast, the algorithm can lose some of the steps. Solution: Use the Running mode on the bracelet to calculate more accurately.
  • πŸ’» Steps count when you're working on a computer, and the reason is that you're moving your mouse or typing on your keyboard creates vibrations, so you can either hold the bracelet tighter or you can take it off while you're working.

One of the most insidious mistakes is to reset your data after you update your firmware. If you update your bracelet through Mi Fit, make sure that:

  1. The battery level is not lower than 50%.
  2. The bracelet is located next to the smartphone (distance is not more than 1 meter).
  3. You do not interrupt the update process (this may result in the loss of all data for the last month).

⚠️ Note: If after updating the firmware pedometer began to work incorrectly (for example, shows 2 times more steps), reset the bracelet settings to the factory. β†’ Additionally. β†’ Reset.

Technical Limitations: Why a Pedometer Will Never Be Perfect

Despite the tricks of Xiaomi’s engineers, the physical limitations of the accelerometers make it impossible to count 100% of the steps accurately.

  • πŸ“ Individual stride length: The bracelet uses averages (e.g, 0.7 m for men and 0.6 m for women), but the actual length of the step may vary by 10-20%.
  • πŸ”‹ Energy saving: To extend battery life, Mi Band 4 reduces the frequency of sensors to 10-20 Hz (for comparison: professional trackers use it) 50-100 Hz).
  • 🧭 Absence GPS. Without location data, the bracelet cannot adjust the steps based on distance traveled (for example, if you walk in a circle).
  • πŸ€– Simplified algorithms: Budget devices don’t use neural networks to analyze movements, like Apple’s flagship models or Garmin’s.

Fun fact: if you walk on an escalator, the Mi Band 4 will count it as activity, when you don't actually make an effort. More expensive trackers (like the Garmin Vivosmart 4) can tell passive from active motion by analyzing heart rate and acceleration.

For most users, however, the Mi Band 4 is accurate enough β€” especially if you use it not for professional training, but to motivate movement β€” to understand the limitations of the device and not expect lab accuracy.

πŸ’‘

The Mi Band 4 is optimized for everyday use, not professional sports, and has a margin of error of Β±10% offset by low price, long operating time and convenience.

FAQ: answers to frequent questions about the Mi Band 4 pedometer

Why does the Mi Band 4 show more steps than a smartphone?
Smartphones typically use combined data from an accelerometer, a gyroscope, and GPS to improve accuracy, but the bracelet relies only on an accelerometer, so it can count random hand movements (like when you pull the phone out of your pocket), and to reduce the difference, calibrate the stride length in the Mi Fit settings and wear the bracelet on the dominant hand.
Can I reset the step counter to Mi Band 4?
Yes, but only through a full reset. To do this, go to Settings β†’ Additional β†’ Reset. Note that this will delete all the data from the previous day. The alternative is to wait until midnight: the counter will reset automatically. If you want to reset the statistics for the current day, temporarily switch the clock on the bracelet to 23:59 the next day (but this may disrupt the sync with the application).
How does the bracelet count the steps if I carry it in my pocket?
In your pocket, the accuracy of the counting will drop to 30-50%, because the accelerometer records the movements of the body, not the hands. The Mi Band 4 algorithms are optimized for wearing on the wrist, so in your pocket they will count steps only when you walk or run intensively. For better results, wear a bracelet on your hand or use a smartphone with the Google Fit app.
Why did the pedometer work worse after replacing the battery?
If the steps have deteriorated since the repair, there are two possible causes: (1) the accelerometer plume (located next to the battery) has been damaged, (2) the body has been improperly assembled, causing the sensor to shift, or try resetting the bracelet (press the button for 10 seconds), or resetting the settings. If the problem persists, contact the sensor diagnostics service center.
Can I turn off the pedometer to save charge?
No, the pedometer is hardware-based and can't be turned off separately, but its effect on battery consumption is minimal -- the accelerometer only consumes ~0.5 mA per hour. If you need to save charge, you better turn off notifications or reduce the brightness of the screen. You can only completely shut down the motion sensors in Do Not Disturb mode, but it also blocks the counting of steps.