def METHOD_NAME(self) -> None:
    """
    Will create connection to dbus only if we want to listen out
    for a sleep or wake signal.
    """
    if not has_dbus:
        logger.warning("dbus-next is not installed. Cannot run inhibitor process.")
        return
    if not (self.sleep or self.resume):
        return
    create_task(self._start())