Thanks for the bug report, Abhilash. I have added some Android people who might be able to comment on this. regards, dan carpenter On Thu, Sep 05, 2013 at 09:00:46AM -0400, abhilash jindal wrote: > timed_gpio.c uses hrtimer to switch off the gpio. > > However, hrtimer does not get fired after the CPU suspends. Hence, if > the CPU suspends before the timer gets fired, the gpio stays > on until the next time when CPU wakes up causing unnecessary > battery drain (which can be as long as 15 minutes). > > IMHO, we should replace hrtimer by android alarm timer to make sure that > CPU wakes up at the right time and gpio gets turned off. > > Thanks > Abhilash _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel