Why is the pedometer data of the POCO F7 Ultra inaccurate?

Thank you for your continued support. The pedometer algorithm relies on the data of the built-in sensors (accelerometer and gyroscope) of the phone to calculate the number of steps. However, the sensor data in special scenarios, such as large pockets, large backpacks, and other loose scenarios, cannot reflect the real movement state of the human body. Therefore, the accuracy of step counting cannot be guaranteed in such scenarios.