IMO the energy you expend doing exercise is coming from a completely different place than energy for knowledge work. On the contrary, doing exercise clears your mind and engages your body -- the opposite of sitting at a desk. In my experience you will feel your baseline "mental energy" also start to increase.