As the others stated, it only happens if your watch is less than 30% and I believe it happens 1 hour before you are scheduled to start sleeping. I’m not sure what happens if you are at, say 31% one hour before sleep, but it drops under 30% within that hour. Maybe they estimate that 30% is enough to go from one hour before sleep all the way through morning.