public static boolean isEnabled() {
    if (LoadingState.COMPONENTS_REGISTERED.isOccurred()) {
      Application app = ApplicationManager.getApplication();
      @SuppressWarnings("SimplifiableServiceRetrieving")
      PropertiesComponent propertyComponent = app == null ? null : app.getService(PropertiesComponent.class);
      if (propertyComponent != null && propertyComponent.getBoolean(POWER_SAVE_MODE)) {
        return true;
      }
    }
    return false;
  }
public static boolean isEnabled()