diff options
author | Arve Hjønnevåg <arve@android.com> | 2011-10-25 17:54:35 -0700 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2011-11-01 20:09:10 -0700 |
commit | 35caa5b03a07682581f5ecc591142c73fc5a8781 (patch) | |
tree | 48360ff5fa8180f283e2352f0255641742ccb1c9 /libsensors/InputEventReader.h | |
parent | ecd424f0651acaa0ce0687c3efc9bc5cd885159e (diff) | |
download | device_samsung_tuna-35caa5b03a07682581f5ecc591142c73fc5a8781.zip device_samsung_tuna-35caa5b03a07682581f5ecc591142c73fc5a8781.tar.gz device_samsung_tuna-35caa5b03a07682581f5ecc591142c73fc5a8781.tar.bz2 |
sensors: Return a calculated lux value instead using the current 8 entry table
The light sensor now uses the lux to current formula in the datasheet,
I = 10 * log(Ev) uA, and multiplies the result by 4 as an attempt
to correct for the glass in front of the sensor.
Also update the config_autoBrightnessLevels table so the auto brightness
change occurs at the same adc values as before (or close for 7.2 lux).
Change-Id: I121ce0f23dca093c9607ac9447b9263f48507a09
Diffstat (limited to 'libsensors/InputEventReader.h')
0 files changed, 0 insertions, 0 deletions