The following patch series adds two apis, wakelock and earlysuspend.The Android platform uses the earlysuspend api to turn the screenand some input devices on and off. The wakelock code determines whento enter the full suspend state. These apis could also be useful to other platforms where the goal isto enter full suspend whenever possible. This is the second version posted to linux-pm. The main change from the firstversion is that it no longer reuses /sys/power/state for the non-blockinginterface. --Arve Hjønnevåg _______________________________________________linux-pm mailing listlinux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx://lists.linux-foundation.org/mailman/listinfo/linux-pm