iPhones have an internal thermometer which monitors the temperature of the battery - it’s how the deice knows that it’s either too hot or too cold to function.
Clearly, as a monitor for the internal temperature, it’s not measuring the external, ambient temperature. But I wanted to know how much effect the ambient temperature would have.
As such, I tested decided to run some tests to see with a device, some cold temperatures and a digital thermometer.
The Details
The Files
The temperature of the battery is recorded in either knowledgeC or within a biome:
In knowledgeC.db, search for ZSTREAMNAME '/dasd/batterytemperature'.
In both files, the value is recorded in celcius, but requires dividing by 100.
So a value may show 2800, in which case 2800 / 100 = 28c.
Note that the point of the test was purely to see how the internal temperature fluctuations matched the fluctuations recorded by the digital thermometer.
Test Scenario 1
An iPhone X without case, and running iOS15.2.1, was placed inside a freezer alongside a digital thermometer for 15 minutes to assess how the Battery Temperature was affected.
At one-minute intervals, the freezer was opened and the temperature shown on the thermometer was documented.
After 15 minutes, the devices were both removed and monitored as their temperature rose for a further 10 minutes.
Time
Thermometer
Battery Temperature
Control Temp
23c / 73.4f
28.0c / 82.4f
Placed in Freezer
17:10:00
23c / 73.4f
-
17:11:00
22.1c / 71.8f
-
17:12:00
19.0c / 66.2f
22.0c / 71.6f
17:13:00
16.1c / 61f
-
17:14:00
12.7c / 54.9f
17.0c / 62.6f
17:15:00
9.6c / 49.3f
-
17:16:00
6.3c / 43.3f
-
17:17:00
4.2c / 39.6f
-
17:18:00
1.8c / 35.2f
-
17:19:00
0.2c / 32.4f
-
17:20:00
-1.9c / 28.6f
-
17:21:00
-3.2c / 26.2f
-
17:22:00
-4.8c / 23.4f
-
17:23:00
-5.9c / 21.4f
-
17:24:00
-7.0c / 19.4f
-
17:25:00
-8.1c / 17.4f
-6.0c / 21.2f
Removed from Freezer
17:26:00
-6.7c / 19.9f
-
17:27:00
-3.8c / 25.2f
1
17:28:00
-0.8c / 30.6f
-
17:29:00
2.2c / 36.0
-
17:30:00
4.4c / 39.9f
-
17:31:00
6.6c / 43.9f
-
17:32:00
9.4c / 48.9f
-
17:33:00
10.7c / 51.3f
-
17:34:00
11.4c / 52.5f
12c / 53.6f
17:35:00
13.0c / 55.4f
15c / 59f
Orange dots/lines = iPhone | Blue dots/lines = digital thermometer.
Test 1 Conclusion
The recorded temperatures in knowledgeC.db were fairly sporadic, with no real discernable cadence. However, as can be seen in the graph above, the readings were in line with the readings of the digital thermometer.
Test Scenario 2
An iPhone X without case, and running iOS15.2.1, was placed outside in -5c/23f temperatures and left untouched for 15 minutes, brought inside for 10 minutes and then returned outside for another 15 minutes before being brought inside again.
This test was intended to provide more real-world testing conditions of moving from outdoors to indoors with a view to monitoring temperature accuracy and the reactivity of the monitoring.
Time
Thermometer
Battery Temperature
Control Temp
22c / 71.6f
-
Placed Outdoors (-5c / 23f)
09:00
22c / 71.6f
-
09:02
-
19c / 66.2f
09:05
7.2c / 45f
-
09:10
1.8c / 35.2f
-
09:15
0.4c / 32.7f
2c / 35.6f
Brought Inside (22c / 71.6f)
09:20
9.3c / 48.7c
-
09:25
15.0c / 59f
16c / 60.8f
Placed Outdoors (-5c / 23f)
09:27
-
12c / 53.6f
09:29
-
8c / 46.4f
09:30
7.4c / 45.3f
-
09:35
2.4c / 36.3f
-
09:40
1.1c / 34f
1c / 33.8f
Brought Inside (22c / 71.6f)
09:42
-
7c / 44.6f
09:45
12.3c / 54.1f
-
09:50
17.6c / 63.7f
-
09:55
20.7c / 69.2f
19c / 66.2f
10:00
22.3c / 72.1f
-
10:03
-
22c / 71.6c
Orange dots/lines = iPhone | Blue dots/lines = digital thermometer.
Test 2 Conclusion
As with Test 1, the recorded temperatures in knowledgeC.db were fairly sporadic, with no obvious cadence. However, also as seen in Test 1, the readings were in line with the readings of the digital thermometer.
Wrapping Up
In a locked state, with little activity occurring on the device, the battery temperature is heavily affected by the ambient temperature of the environment, matching the pattern of the fall and rise of the thermometer temperature.
The cadence of the records is sporadic with no obvious reason or pattern.
As can be attested by anyone who uses their phone for prolonged periods of time, usage of the device will result in increased internal temperature. So device usage needs to be considered if looking at using this artifact as evidence.
Previous Article
"Apple Health Accuracy & Reliability"