Well if we're talking about commercial aviation, we're talking about jet fuel not gasoline. Regardless, it obviously matters a lot. A fully loaded 747 freighter has somewhere around 200 tons of jet fuel and a max payload of about 130 tons. They already need more fuel than cargo, and that's with the excellent energy density of jet fuel. Furthermore, traditional planes get lighter the longer they fly as they burn off their substantial fuel loads. The last 20% of the fuel goes a lot further than the first 20%. Batteries don't get this advantage at all. (Dropping batteries from the plane with parachutes is a terrible idea, but I've lost count of the number of times I've seen it proposed..)
> We are not anywhere near the theoretical limits of battery energy density.
This doesn't jive with what I've read. It's my understanding that we're already near the limits of what electrochemistry can give us, and future advancements are likely to come from improved electrode designs, with maybe 2-3x better performance possible if we're lucky.