def battery(self):
        """
        Current system batter status (:py:class:`Battery`).
        """
        if self._voltage is None or self._current is None or self._level is None:
            return None
        return Battery(self._voltage, self._current, self._level)
def battery ( self ) : if self . _voltage is None or self . _current is None or self . _level is None : return None return Battery ( self . _voltage , self . _current , self . _level )
Current system batter status (:py:class:`Battery`).