Update IC2 charge and discharge to include ICustomElectricItem and wrap it in a helper fuction