A Pixel phone enters the "emergency" state when the temperature reaches 125.6 degrees Fahrenheit (52 degrees Celsius). This state is triggered by the Adaptive Thermal feature when the phone is overheating, and it may lead to more drastic actions being taken to prevent damage to the device.
The "pre_shutdown" dialog on a Pixel phone indicates that the device is about to shut down due to high temperature. This dialog appears when the phone's temperature reaches 131 degrees Fahrenheit (55 degrees Celsius), and it warns the user that the phone will shut down in about 30 seconds. This safety measure helps prevent damage to the phone's internal components caused by excessive heat.
The Adaptive Thermal service checks the battery temperature at five-minute increments. This is done to monitor the temperature and ensure that the device does not overheat, and if it does, appropriate actions are taken to prevent any damage to the device or its components.