Hi, You can try to use something we called PARTIAL_RESUME, for example from here: https://android.googlesource.com/kernel/msm/+log/android-msm-shamu-3.10-m-preview
The idea is if all registered wakeup sources callbacks that will be called after wakeup "agree" to go back to suspend then system will go to suspend without waking up userspace. On Monday, June 8, 2015 at 1:46:04 PM UTC-7, Nick Gart wrote: > > Hi, > I need to quickly handle a HW gpio interrupt from a peripheral, and then > go back to sleep, every few hundred ms or so. In order to not take a big > power hit, I would like to not have the full android VM start up when the > processor handles the IRQ. > Currently I've registered a threaded IRQ. > > Is there a way to not have the full android system start up when > processing the IRQ? > How do I tell the system to Suspend after I handle the IRQ? > > Thanks > -- -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel --- You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-kernel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.