I think just thinking about sleep as recharging batteries for the next day helps a lot. To be able to focus until late in the day is a function of how much rest your body gets the day before. So sleep early and get 7-8 hours of sleep, helps massively to be focused for longer the next day.