Thanks, that makes sense. One other question: what is "excess power from the engine" and how is it possible (2nd law) that using it to recharge the batteries is better than using it to move the plane directly?
It's possible that these requirements lead to engines which have a optimal power output above what would be required in straight & level flight.
This is a reason mathematicians loathe the overuse of "optimal" by engineers: in the real world there are often too much variables.