It’s called first and second sleep.
Thanks, windcliff - it’s been about 5 years since I read about it.