语言

Menu
Sites
Language
Get Ultra saving mode

Anybody share with me the code snippet of ultra saving mode or any API.

 

Thanks in advance.
 

响应

2 回复
pius lee

I don't know about "Ultra saving mode" but I think you want somthing about CPU running.

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.native.mobile.apireference/group__CAPI__SYSTEM__DEVICE__POWER__MODULE.html

If you want to run the CPU, even though screen is off, use following code.

device_power_request_lock(POWER_LOCK_CPU, 0);

but If you want to go hibernation mode, there is no public API for it.

 

daniel kim

Hi,

As wifi  is deactivated in Ultra saving mode, you can refer to below API to acheive it.

And Ultra saving mode is a feature of Z1 launcher, I think that relevant API is not exposed.

 

 int wifi_deactivate  ( wifi_deactivated_cb  callback, 
  void *  user_data 
   )  

  Privilege:

       http://tizen.org/privilege/network.set
       http://tizen.org/privilege/network.get