summaryrefslogtreecommitdiffstats
path: root/libsuspend/include
Commit message (Collapse)AuthorAgeFilesLines
* Adds a parameter to the wakeup_callback to report sucessful wakeup or ↵Ruchi Kandoi2015-06-251-2/+5
| | | | | | | | | | | suspend aborts. Adds the call to wakeup_callback when the write to the /sys/power/state fails. This will help userspace account for the suspend aborts. Bug: 17478088 Bug: 18179405 Change-Id: Icd1194cfbaf61044ca0b2fe63a10a4c52e1535bc
* Add ability to have a callback when wakeups happen.Dianne Hackborn2014-03-071-0/+7
| | | | Change-Id: I02ff0e035bf8a97bd1a3b6b1699181fc3a137d79
* libsuspend: create new library to handle triggering suspendColin Cross2012-05-071-0/+48
libsuspend provides functions autosuspend_enable() and autosuspend_disable() to trigger suspend on a variety of different kernels. Change-Id: I5dc28fb51532fa7c514330f1cfde7698d31d734c