add rapi Sleep(). Change StartCharging() to Enable()