Hydrogen vs. Battery Electric Cars

If battery electric is more efficient as we transition, some of the energy used to make inefficient fuels would be used to charge vehicles. Do our total energy needs increase or decrease with the transition?