Energy storage charging pile detection and fault maintenance