I assume that they mean batteries are not a net "source" of electricity, they only store electricity that has been produced in another way earlier. Like a farmer scoffing at someone who says they get their eggs from the supermarket, it's not like the supermarket produced the eggs.
GP could have been less of an asshole in the way they expressed themselves though.