What you've linked has essentially nothing to do with the discussion. What the person who replied to you thought you were talking about was the equation for energy stored in a capacitor, which is proportional to inverse of distance.
It absolutely has. It’s basic physics and it definitely applies to batteries or in fact any static charges, which is what is being discussed.
I'm not a physicist, but my understanding is that batteries do not use the electric field at all to store charge, unlike a capacitor. Batteries use chemical reactions to move electrons, not static electric charge.