Finally, moving to pins 9 and 10, are resistors Rok1 and Rok2. The bq25504 allows the user to set a programmable voltage independent of the overvoltage and undervoltage settings to indicate whether or not the battery voltage is at an acceptable level. This result is indicated via the VBAT_OK signal. An additional bq25504 safety feature is an internal temperature sensor, which monitors the internal device temperature and shuts down device operations for elevated junction temperatures, to prevent device and system failure.