Change sampling rate for auto brightness. 17/14917/2
authorsh.pi <sh.pi@samsung.com>
Mon, 6 May 2013 13:18:43 +0000 (22:18 +0900)
committerKrzysztof Sasiak <k.sasiak@samsung.com>
Thu, 16 Jan 2014 10:38:45 +0000 (11:38 +0100)
'auto brightness on' is default setting now.
then change timer value of auto brightness from 1 second to 2 seconds.
It reduces power consumption during LCD on state.

Change-Id: I198316118721dec26d70aa1ff763a39f4fa87715
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
src/display/lsensor.c

index 2207386..fbfb8e5 100644 (file)
@@ -32,7 +32,7 @@
 #include "core.h"
 #include "device-node.h"
 
-#define SAMPLING_INTERVAL      1       /* 1 sec */
+#define SAMPLING_INTERVAL      2       /* 2 sec */
 #define MAX_FAULT              5
 
 static int (*prev_init_extention) (void *data);