docs: int obtainPortraitPercentage() {
      // If no changes to landscape
      if (currentOrientation.equals(Configuration.ORIENTATION_PORTRAIT) && portraitTimeInMillis == 0) {
        return ONE_HUNDRED_PERCENT;
      }
      // Calculate given the time spent in portrait
      double portraitFraction = portraitTimeInMillis / (System.currentTimeMillis() - startSessionTime);
      return (int) (ONE_HUNDRED_PERCENT * portraitFraction);
    }