PowerManagerService does it. you may refer to WakeLock in android documents.
--lx On Sun, Sep 25, 2011 at 12:34 AM, Akash <[email protected]> wrote: > Hi, > > I wanted to know as to whether there is a control in the Android > framework which notifies the backlight and LCD drivers to switch them > on or off? > > I have seen some code in PowerManagerService.java which uses > LightService class to change the backlight brightness. But is there > any part of code in Framework which also control the process of > switching the LCD display on or off. > > Regards, > Akash > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
