Power mode at the Java stack initialization
When the java stack is initialized, power mode is set via Host class. It sets the power mode by calling setDefaultPowerMode(), then it call native getHostPowerMode() to register Event Dispatcher listener. Doing that, the power change event is missed. When that happens, DeviceSettingsHostManagerImpl() which registers power mode change listener in Host does not get the power change event, meaning the vopEnable() is not called and video/audio output is not changed.
Would it make sense to move the call to setDefaultPowerMode() in the Host constructor after the ED is registered ?
Video output is being changed if mpeenv ocap.api.option.ds is enabled because in the DeviceSettingsHostImpl() power mode is changed again via call getPersistence().initHostSettings() - which seems to happen by luck more then by design.