Power API in Tizen 4.0

Power API in Tizen 4.0

BY 27 Jul 2018 Web Application Development

Hello.

Up until Tizen 4.0, it was possible to turn on and turn off the watch screen using Power API calls:

 

tizen.power.turnScreenOn();
tizen.power.turnScreenOff();

They were deprecated in Tizen 3.0 and now they are gone in Tizen 4.0.

To which API has this functionality been moved? How can I turn the screen on/off on devices with Tizen 4.0?

Thank you

Written by