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. Changes since the last version:- The separation between the api and implementation has been removed.- The user space wakelock api moved from sysfs to a device.- Moved more wakelock stats code out of the main functions.- Some other requested cleanup. --Arve Hjønnevåg _______________________________________________linux-pm mailing listlinux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx://lists.linux-foundation.org/mailman/listinfo/linux-pm