def start(self) -> None:
        """
        Will create connection to dbus only if we want to listen out
        for a sleep or wake signal.
        """
        if not has_dbus:
            return

        if not (self.sleep or self.resume):
            return

        create_task(self._start())

        Will create connection to dbus only if we want to listen out
        for a sleep or wake signal.
        
libqtile/resources/sleep.py