Alot of batteries are "smart" these days, that terminal is probably a temperature sensor so the device can know to shut off charging when it gets to a certain temperature. You can check by measuring the resistance from the middle pin to the "-" ground pin. then while still measuring, or coming back later sit on the battery or warm it up with a bit with hair dryer or heat gun and check again, probably show a good change in resistance. If it does not change, its possible that pin is used to somehow balance the charging to the individual cells in the battery, not sure how to verify this though...