build in temperature monitor on the control chip. in fact, most of modern SOC (system on chip) has temp monitor, just not necessarily let you know about.