From a6a01b612fdb162378c4c184351e7cb8e5a559a0 Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Sun, 22 Feb 2015 14:31:03 +1000 Subject: Make sensorfw als values the common standard for QtSensors plugins Change-Id: I69d15c8af9b6e5acde9d86e185395590369baab6 Reviewed-by: Alex Blasche --- src/plugins/sensors/sensorfw/sensorfwals.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/sensors') diff --git a/src/plugins/sensors/sensorfw/sensorfwals.cpp b/src/plugins/sensors/sensorfw/sensorfwals.cpp index 0f1b9591..5dd103b6 100644 --- a/src/plugins/sensors/sensorfw/sensorfwals.cpp +++ b/src/plugins/sensors/sensorfw/sensorfwals.cpp @@ -94,11 +94,11 @@ QAmbientLightReading::LightLevel Sensorfwals::getLightLevel(int lux) return QAmbientLightReading::Undefined; } else if (lux < 10) { return QAmbientLightReading::Dark; - } else if (lux < 50) { + } else if (lux < 80) { return QAmbientLightReading::Twilight; - } else if (lux < 100) { + } else if (lux < 400) { return QAmbientLightReading::Light; - } else if (lux < 150) { + } else if (lux < 2500) { return QAmbientLightReading::Bright; } else { return QAmbientLightReading::Sunny; -- cgit v1.2.3