added sweep2wake support