I'm using imx6q sabresd board.
My question is how to control the power switch for Android based on normal press and long press...
What exactly have to do? Which pin have to make enable according to power button press.
I'm not understood that how that actually works for normal press and long press..
Please help me..