Abstract:
A method includes sensing a level of ultraviolet radiation in an environment in which an electronic device is present, detecting an environmental condition of the electronic device based upon the sensed level of ultraviolet radiation, and controlling the operation of the electronic device based upon the detected environmental condition. The detected environmental condition may include an indoor condition, outdoor condition, near-window condition, near-door condition, and in-vehicle condition of the electronic device. Controlling the operation of the electronic device based upon the detected environmental condition may include selectively activating and deactivating components of the device based on the detected environmental condition to reduce power consumption of the device.