The present invention provides a method and system for controlling an
illuminating device on a mobile electronic device comprising determining
in a global position of the device in real-time, determining a state of
at least one light condition currently affecting ambient light at the
global position and adjusting the intensity of the illuminating device in
response to the state of the at least one light condition. Light
conditions include weather conditions and a position of the sun at a
particular global position. A mobile electronic device having a
geographically dependent illuminating device is also provided.