This. Software engineering can be a mentally draining task, and just like with physically draining tasks your body needs time to recover its strength. Nobody would expect an athlete to last very long doing back to back events without recovery time between them - they'd end up injured. Your brain is similar.
Recognizing that and accommodating it is a sign of maturity for both an engineer and a manager.