5,604,292 Members 49,347 Now Online
XDA Developers Android and Mobile Development Forum

scheduled light sensor (off at night)

Tip us?
 
papo
Old
(Last edited by papo; 9th June 2010 at 09:24 PM.)
#1  
papo's Avatar
Senior Member - OP
Thanks Meter 6
Posts: 185
Join Date: Jul 2007
Location: HTC City D.C.
Default scheduled light sensor (off at night)

objectives: switch off auto light sensor at preset time every day

edit: updated files.
-fixed missed notif between midnight - morning
-level 0 was not behaving correctly, changed to 1 as minimum (still the same-minimum intensity)

no autolight app is working for me, maybe because I have t-mob version and sensor is behind black color of digitizer. dunno
It's still sensing 0 lumens on total dark or on interior light during day.
At 0 lums, backlight is still on 3rd level, which is burning my eyes off if I want to read some sheet before dozing off for night.

Whttp://forum.xda-developers.com/images/editor/bold.gifhen this would switch hour after dark I never need to touch brightness again.

I made it for kaiser and now, being lazy, just change a little, so there is not a checkbox for auto, but entering value 99 would do it.
But no matter as you would use interface once or twice to set it, then it goes itself every day.

- no memory use, not running in background. done by notifications.

attached files:
CAB: should be uninstallable but don't forget to switch it off before uninstalling

zip: just script files for oems
UPDATED FILES
Attached Thumbnails
Click image for larger version

Name:	autoSensorOFF.jpg
Views:	106
Size:	38.1 KB
ID:	334991  
Attached Files
File Type: cab Paplight-autoSensorOFF.cab - [Click for QR Code] (157.1 KB, 20 views)
File Type: zip files for OEM.zip - [Click for QR Code] (2.6 KB, 16 views)
 
howdykeith
Old
#2  
Senior Member
Thanks Meter 2
Posts: 876
Join Date: Oct 2009
Location: East Greenwich, RI
Very interesting thanks!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes