code: @Override public void runAppInBackground(Duration duration) {
          // timeout parameter is expected to be in milliseconds
          // float values are allowed
          execute(RUN_APP_IN_BACKGROUND,
                  prepareArguments("seconds", prepareArguments("timeout", duration.toMillis())));
      }
docs: Runs the current app as a background app for the number of seconds
  or minimizes the app.
  
  @param duration The time to run App in background.