bool prevent_sleep