void (boolean value) { if (!LoadingState.COMPONENTS_REGISTERED.isOccurred()) { return; } PropertiesComponent propertyComponent = PropertiesComponent.getInstance(); boolean isEnabled = propertyComponent.getBoolean(POWER_SAVE_MODE); if (isEnabled != value) { propertyComponent.setValue(POWER_SAVE_MODE, value); ApplicationManager.getApplication().getMessageBus().syncPublisher(TOPIC).powerSaveStateChanged(); } }