xxx: by the way, recently understood the Chinese one - there "gyroscope" is simulated quite simply.
There is a button as on the end switch and the lever on the slider is fixed. When the man turns the phone, the lever falls and the picture on the screen turns. This is an analog sensor. It is strange that the battery is not powered by gas from the lights.