Charging pile battery management technology