Ambient light detection
Jump to navigation
Jump to search
Ambient light detection
Note that XO-1.75 laptops have a built-in Ambient Light Sensor. The scheme outlined below hasn't ever been implemented, partially because of the privacy questions that it raises.
Introduction
By using the XO's camera as an ambient light detector and using that data to control the backlight brightness, it may be possible to make the XO's battery life longer when used by kids (who may not walk around adjusting their backlight to optimal power-saving levels all the time).
Features to implement
- Every N seconds (suggested: 60 seconds, but we'll have to experiment to find a good polling interval), take a picture.
- Don't store the picture (for privacy reasons) - instead, average the luminance of the image and square that number. (Why square? See the formula on how luminance is calculated.)
- Use this number (the square of the luminance) to control the backlight.
- Allow the user to manually override the automatic backlight setting, and to easily turn the auto-backlight-setting mode on and off.
How to help
Contact Chris Ball.