Energy storage charging pile battery test