title: Is there a way to get wakelock on android through the JNI/NDK?
body: <p>I'm tryin' to get a wakelock on my android phone, but I can't find any info on doing this in c/cpp  through the NDK/JNI.<br>
  I have been googlin so long I can't see straight.  All I see is Java Java Java, and I need some C.  A small bit of C will do me.  :)</p>
  
  <p>Does anyone know where I'd find a small bit of C that achieves a wakelock on an android device?</p>
  
  <p>Why I need it... I'm creating a lib to do a very specific task and I want to include wakelock as part of that lib.  To keep what needs to be together together and not mix my code where I don't have to. </p>