Clean up wakeup/sleep API in sl4a.

Remove the duplicate wake up API.
Update deprecated API to check if screen is on.
Add an API to wake up device with a delay.

Change-Id: I92a08022ebf1899e3fb3b2b783dc79bebe284661
2 files changed