The phone's screen automatic rotation failed

Solutions:
1. The automatic rotation failure of the screen can be divided into hardware and software problems, which are caused by the problem of the gravity sensor.
2. Check whether the screen rotation function in the notification panel of the phone is on.
3. Turn on the camera and check whether the function icon can rotate with the phone in the frame state.
4. Check whether there is a new version pushed to the phone and try to upgrade to the latest version.
5. Backup the phone data and restore the phone to factory Settings.
6.If the above steps do not work, it is suggested to go to the after-sales center for inspection.