I'm trying to implement wakelock in C/cpp.. I assume there's a bit of c code that sits under the java call, and when I look at the wakelock in the com_android_server_power_PowerManagerService, I see what looks like a good bit of code.. But it of course sits on code I can't find. The hardware/power.h file.
So my question. Does anyone know where to find the hardware/power.h file. I don't see it in the android source.. Perhaps I'm missing it.