The DS2784 stand-alone fuel gauge provides overvoltage and overcurrent protection to lithium-ion (Li+) batteries. Some newer Li+ applications, however, also necessitate thermal protection. This application note illustrates how to implement programmable temperature control by adding a MAX6506 temperature sensor and a MAX4613 analog switch to the typical DS2784 application circuit. Full functionality of the DS2784 is maintained with the additional components.