I have attempted several different methods for getting imx.6 solo based device running Android ICS to enter STANDBY but not MEM without success. I was wondering what others here believe would be the best mechanism for accomplishing this goal. I tried overriding the state in kernel/power/earlysuspend.c request_suspend_state(), but this only works if the USB OTG port is connected (otherwise the board locks up). I have also tried overriding the state in arch/arm/mach-mx6/pm.c, but this locks the board on boot. Thank you.
The device I'm using is on AC and does not have a battery.