diff options
author | Arve Hjønnevåg <arve@android.com> | 2008-10-09 21:01:46 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2012-04-09 13:53:13 -0700 |
commit | 025ff0ad2ff6030b7071fc3da7dda4a96ec91468 (patch) | |
tree | 759a0ce3936e1495dcafb331787335aca6a5f0f2 /drivers/leds | |
parent | e9911f4efdc55af703b8b3bb8c839e6f5dd173bb (diff) |
PM: Add user-space wake lock api.
This adds /sys/power/wake_lock and /sys/power/wake_unlock.
Writing a string to wake_lock creates a wake lock the
first time is sees a string and locks it. Optionally, the
string can be followed by a timeout.
To unlock the wake lock, write the same string to wake_unlock.
Change-Id: I66c6e3fe6487d17f9c2fafde1174042e57d15cd7
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions