techgeek89
techgeek89

Reputation: 187

disable standby mode smarteyeglass

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?

Upvotes: 0

Views: 77

Answers (1)

Max Abrahamsson
Max Abrahamsson

Reputation: 1498

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

Upvotes: 1

Related Questions