Resolution of apnoeas in slow wave sleep