connecting to the battery system