Patent ID: 8730270

Claim:
A method for gradually adjusting screen brightness when switching an operating system, used for gradually adjusting a brightness value of a screen of an handheld mobile electronic device when the electronic device is switched from a first operating system to a second operating system, and the method comprising: receiving an operating system switching signal when the first operating system is running on the electronic device and automatically perform these following steps in response to receiving the operating system switching signal: when the first operating system is still running on the electronic device, sending a brightness value request message to the first operating system by a controller of the electronic device through a hardware interface which the controller communicates with the first operating system and the second operating system by transmitting a brightness configuration message, and receiving the first brightness value sent back by the first operating system according to the brightness value request message; when the first operating system is not running on the electronic device, reading the first brightness value of the first operating system from a memory built in the controller, wherein the first brightness value of the first operating system is stored in advance by the first operating system through the hardware interface; gradually adjusting the screen brightness from the first brightness value to a predetermined second brightness value by decreasing the screen brightness; switching the first operating system to the second operating system immediately in response to the screen brightness reaches the predetermined second brightness value; and immediately after the first operating system is switched to the second operating system. gradually adjusting the screen brightness from the second brightness value back to the first brightness value by increasing the screen brightness while the second operating system is running on the electronic device.