Connected directly to the battery terminals so it can also be used to charge the battery.