YouTube is home to content of all kinds, from short, fun videos to really long video essays. If you’re falling asleep, the latter ones can be annoying, and autoplay can just go on for hours without any checking in. Now, YouTube is trying out a sleep timer to solve that problem.
Source : YouTube Is Testing a Sleep Timer