Changes to threshold and sleep