def update_status(self) -> BatteryStatus:
        """Read the battery status

        Reads the battery status from the system and returns the result.

        Raises RuntimeError on error.
        """
Read the battery status

        Reads the battery status from the system and returns the result.

        Raises RuntimeError on error.
        
libqtile/widget/battery.py