add inactive sleep support