Deactivate the standby mode in the smartwatch

1.3k Views Asked by At

I've a control application for the smartwatch and the device goes automatically to standby mode. Is there any way to deactivate the standby mode?, I need to show the info displayed the whole time. I know that this will reduce the battery life (perhaps dramatically), but it is indispensable on my application.

Any help would be appreciated.

1

There are 1 best solutions below

1
On

You can easily control the screen state of the SmartWatch by sending the CONTROL_SET_SCREEN_STATE_INTENT intent to the SmartWatch host application, which will then propagate the state to the SmartWatch device. The available states are:

  • SCREEN_STATE_OFF
  • SCREEN_STATE_DIM
  • SCREEN_STATE_ON
  • SCREEN_STATE_AUTO

If you are using the SmartExtension SDK, which I suggest you do, you can make use of the ControlExtension utility class which provides the method setScreenState(int state). There is extensive documentation available in the SDK - read more about changing screen state in the "SmartExtention API Specification", chapter 6.2.

Good luck!