Charging pile to charge the battery