Energy storage charging pile detection teaching