HOW TO SET CHARGING PILE FUNCTION