def max_brightness(self):
        """
        Returns the maximum allowable brightness value.
        """
        self._max_brightness, value = self.get_cached_attr_int(self._max_brightness, 'max_brightness')
        return value