Patent ID: 8519938

Claim:
A method of adjusting intensity of illumination of a device based on changes in ambient light, the method comprising: measuring a first level of ambient light for the device, in response to detecting a change in ambient light; determining whether the device is in a conservative mode or an aggressive mode; if the device is in the aggressive mode: determining whether an association between the first level of ambient light and a first illumination level is recorded in a data structure; if the association between the first level of ambient light and the first illumination level is recorded in the data structure: adjusting the intensity of illumination for the device to the first illumination level; and if the association between the first level of ambient light and the first illumination level is not recorded in the data structure: interpolating a second illumination level corresponding to the first level of ambient light based on values stored in the data structure, wherein the values are associated with illumination levels corresponding to ambient light levels previously recorded in the data structure; and adjusting the intensity of illumination for the device to the second illumination level; and if the device is in the conservative mode: making no adjustment to the intensity of illumination of the device such that the device remains at an original illumination level; and monitoring user interaction with the device within a threshold period after detecting the change in ambient light to determine whether the user adjusts the intensity of illumination for the device to an adjusted illumination level; and if the user adjusts the intensity of illumination for the device to the adjusted illumination level, recording an association between the adjusted illumination level and the first level of ambient light in the data structure.