But under opposite goals - you're confusing information density with energy density.
Electronic data storage uses the least possible amount of energy to store the most possible amount of information in the smallest space.
Battery storage, while willing to go complex if necessary, is trying to store the most amount of energy in the smallest space.
So there are literally opposite energy storage engineering schemes at play.
Unless... you could create gate switches in the actual stored energy, or (more likely) in the electromagnetic energy fields generated by the stored energy itself. In which case the energy density of a battery would also be information density, which would be majorly slick.
But the opposite isn't true, because energy density approaches minimal in purely information storage, because of the heat and durability issues that affect semiconductors.
Maybe you’re right. Just a thought I can’t quite explain or let go of. It’s like trying to remember a name to go with a face. Something familiar about the answer but I can’t quite get to it. Senility at an early age, I guess.