In my 2017 2861, I hear the solenoid in the BCC operating to charge the engine battery. The BCC (Battery Control Center) is located on the side of the lower step. The BCC decides when to close the relay depending on the voltage of the engine battery and the charge voltage available from the converter when on shore power.
2017 Forester 2861DS
towing 2015 Jeep Rubicon