1. Technical Field
The disclosure relates to electronic devices and, more particularly, to an electronic device capable of adjusting display brightness and a method for adjusting display brightness adapted for the electronic device.
2. Description of Related Art
The brightness of an LCD panel in a variety of electronic devices, such as mobile phones, digital cameras, and other devices, can be adjusted by detecting ambient brightness with a detector, and thereby the brightness of the display can be balanced against the ambient level of light. However, when the light detector is covered by an object, such as the fingers or face of a user, or other objects, the backlight of the device will be adjusted to become low. The device cannot distinguish between generally low ambient light and a decrease in light due to the unintentional covering of the detector by objects around the device.
Therefore, what is needed is an electronic device to overcome the described shortcomings.
The two light sensors 10, 20 are positioned on different locations in the electronic device 1 and sense and register a level of ambient light at different locations in real time. In the embodiment, the first light sensor 10 senses the level of ambient light in front of the electronic device 1, the second light sensor 20 senses the level of ambient light at back of the electronic device 1 or on one side of the electronic device 1.
The storage unit 40 stores a first display setup 41 associated with the normal display mode, a second display setup 42 associated with the dark display mode, and a brightness rule 43 for switching between the normal display mode and the dark display mode according to ambient light. Each of the first and second display setups 41 and 42 records a number of display parameters. The display parameters include, but are not limited to, a brightness of the display unit 60, a background color, and a font color on the display unit 60.
The first display setup 41 includes a first brightness, a first preset background color, and a first preset font color associated with the normal display mode. For example, the display on the display unit 60 is based on the first preset brightness, the background color is set in a medium shade, and the font color on the display unit 60 is not arresting or eye-catching. The second display setup 42 includes a second brightness, a second preset background color, and a second preset font color associated with the dark display mode. For example, the display on the display unit 60 is based on a low ambient brightness, the background color on the display unit 60 is set in a darker shade, and the font color on the display unit 60 is set in a lighter color to provide a better contrast against the background color.
The brightness rule 43 defines relationships between the levels of ambient light sensed by the light sensors 10, 20 and the two display modes. For example, when the ambient brightness sensed by any one of the two light sensors 10, 20 is greater than a first preset value, the brightness rule 43 will maintain the brightness of the display unit 60; when the ambient brightness sensed by both of the two light sensors 10, 20 is less than the first preset value, the brightness rule 43 will provide instruction for the control unit 30 to switch the display unit 60 from the normal display mode to the dark display mode.
In another embodiment, when the ambient brightness sensed by the first light sensor 10 is greater than a second preset value and the ambient brightness sensed by the second light sensor 20 is less than a third preset value, or if the ambient brightness sensed by the first light sensor 10 is less than the second preset value and the ambient brightness sensed by the second light sensor 20 is greater than the third preset value, the brightness rule 43 will maintain the brightness of the display unit 60; and when both of the light sensors 10, 20 detect ambient brightness at less than the second and the third preset values, the brightness rule 43 will provide instruction for the control unit 30 to switch the display unit 60 from the normal display mode to the dark display mode.
The control unit 30 records the level of ambient light sensed by each of the first and the second light sensors 10, 20 when the display unit 60 is in the normal display mode, and controls the mode of display on the display unit 60 according to the brightness rule 43. The control unit 30 further decreases the brightness of the backlight unit 50 based on the second display setup 42 to achieve the dark display mode. In another embodiment, in the dark display mode, the control unit 30 further adjusts the background color and the font color on the display unit 60 based on the second display setup 42.
If both of the first and the second light sensors 10, 20 sense the levels of ambient light which are less than the corresponding preset value, in step S230, the control unit 30 switches the display unit 60 from the normal display mode to the dark display mode and controls the backlight unit 50 to decrease the brightness of the display unit 60 based on the second display setup 42. In another embodiment, in the dark display mode, the control unit 30 adjusts the background color and the font color on the display unit 60 based on the second display setup 42.
Two light sensors 10, 20 are mounted in the electronic device 1 in different locations and the two light sensors 10, 20 are configured to sense the levels of ambient light at those different locations. The control unit 30 constantly monitors the two light sensors 10, 20, to determine whether any adjustment of the brightness of the display unit 60 is required, so as to present an appropriate display mode at all times.
Although the present disclosure has been specifically described on the basis of the exemplary embodiment thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
100136685 | Oct 2011 | TW | national |