Are you doing repetitive work? Can you take a step back and ask how you could automate or make mundane tasks take less time?
I often get exhausted when I know it takes 20 minutes of busy work (manual testing, spinning up environment, opening IDE, updating tickets, etc) to commit a single line of code. Don't try to power through this or you'll burn out eventually. Try to optimize time for tasks you enjoy.