You can track who holds and releases wake_lock.
I looked into this a bit sometimes back, to reduce this exact delay, but
shortening the delay is not a quick hack it seems.
The delay between 'key-press' and 'actual-suspend' is mostly dicated by user
side, which are mostly due to wakelock held by
Hi,
I am trying to get suspend/resume enabled in OMAP3 EVM with rowboat
sources. For this I enabled power management feature (set hw.nopm to
false). When I press power key, early-suspend handlers are getting
executed and surfaceflinger is down. But It takes 6-7 seconds to enter
into linux suspend