The //services/device WakeLock requires to pass a context id that is related to the view/window. Blink doesn't have this information so the current usage in Blink ignores this information which makes the API useless on Android.
I discovered this while working on another project requiring using WakeLock from Blink (bug 903793).
The fix is to create a Blink service linked to a frame such that Blink will be able to have its WakeLock creation use the appropriate context_id without knowing.
Comment 1 by tsteiner@google.com
, Dec 6