def METHOD_NAME(self) -> None:
    """Puts system to sleep mode
    Example:
    .. code-block:: robotframework
        Put System To Sleep
    """
    if platform.system() == "Darwin":
        os.system("pmset sleepnow")
    if platform.system() == "Linux":
        os.system("systemctl suspend")