disable standby mode smarteyeglass

80 views Asked by At

My problem is that the SmartEyeglass display is disabled after around 30 seconds of non-activity.

The SmartEyeglassUtils lib provides a requestEnterStandbyMode() method. But not a disableStandbyMode or something like that.

How can I disable the standby mode?

1

There are 1 answers

0
Max Abrahamsson On

You can disable standby mode completely using following method call provided in SmartExtension API:

setScreenState(Control.Intents.SCREEN_STATE_ON);

Later when your app is closed, you can switch it back to automatic mode to avoid causing battery drain on SmartEyeglass.

 setScreenState(Control.Intents.SCREEN_STATE_AUTO);

You can see a similar question here. It is applicable for Sony SmartWatch 2 as well, because both devices are using SmartExtension API: Tap on SmartWatch screen in code