lock CPU – Permission denied

lock CPU – Permission denied

BY 06 Jul 2017 Native Application Development

Hello,

i want to lock the CPU on my Samsung Gear S3. I used the command  

device_power_request_lock(POWER_LOCK_CPU,0);

I included the Privileges power.

But it didn’t work. The return value says ‘DEVICE_ERROR_PERMISSION_DENIED’


How can i fix this? I’m thankful for every advice.

 

Written by