Energy storage charging pile current measurement method