1. Open the compass application that comes with Huawei mobile phone.
2. After entering the compass application, click the "My" option in the lower right corner.
3. In the opened interface, find the "Altitude Barometer" option and open it.
4. Return to the compass application interface, and then you can see the value of the altitude barometer.
If the above steps can't solve the problem, it is recommended to consult Huawei's official customer service to find out whether the altitude barometer needs to be turned on.