A power-management unit is described. This power-management unit allows a common signal line to communicate data between an integrated circuit (which may be external to the power-management unit) and a battery-monitoring mechanism in a battery pack, and to convey a signal that represents a temperature state of the battery pack to a temperature-monitoring circuit or mechanism that monitors the temperature state of the battery pack. In particular, the power-management unit may include a single-wire interface or a multiplexer that, at a given time, selectively couples the signal line from the battery pack either to the integrated circuit or the temperature-monitoring circuit based on a control signal provided by the integrated circuit (for example, via an I2C bus or interface). In this way, the power-management unit may reduce the number of signal lines needed to communicate with the battery-monitoring mechanism and to convey the signal.