Still you can rely on military logistics to carry a swap battery. But isn’t the military supply chain the first target to disrupt?
That’s true as well for hydrogen, though. And I guess there’s a higher chance of getting access to “power” somewhere in the field than finding a hydrogen tank. Also, energy density of lithium batteries is higher than for hydrogen storage.
That applies if you’re looking at density per weight - but for most stuff driving around the interesting metric is density per volume, and hydrogen sucks there, even if we’re looking at liquid nitrogen, which is completely impractical for storage here.
To make matters worse, you’re limited to specific shapes for your pressurized tank if you want to optimize pressure it can take (and with that storage volume), while batteries you can stick in individual chunks pretty much wherever you find a bit of space.