Add suspend and hibernate functions