using wakelock

51 views
Skip to first unread message

Ran Shalit

unread,
Jan 15, 2017, 5:20:35 PM1/15/17
to android-ndk
Hello,

Is it correct to use wakelock from ndk as following ?  It seems to be better than jni calls, Right ? 

system("echo 'mylock' > /sys/power/wake_lock");

Thank you,
Ran
Reply all
Reply to author
Forward
0 new messages