Measuring Air Temperature With Phone Batteries
2013-08-13
OpenSignal—a company responsible for mapping wireless signal strength by gathering data using mobile device software—noticed an interest correlation between battery temperature on devices and air temperature.
Aggregating daily battery temperature readings to city level revealed a strong correlation with historic outdoor air temperature. With a mathematical transformation, the average battery temperature across a group of phones gives the outdoor air temperature.
Note: Graph renderings on their website require proprietary JavaScript, but the article does describe it in detail, so it is not necessary. In particular, note that, from their provided equation, their scaling factor `m’ implies that there is a smaller variance in battery temperature in the graph than there is in the actual air temperature, but that there is still a correlation.
This is an interesting find. The article further states that “[…] we have one data point where the Android data is actually more reliable than the traditional source.”
Such data can be very useful in providing decentralized data, so long as issues of privacy are addressed. Doing so is not terribly difficult, but would have a number of factors. In particular, the user would need the means to submit data anonymously, which could be done via software/networks such as Tor. GPS location data is certainly a privacy issue when it is tied to your mobile device, but fortunately, it’s unneeded: you can trust your users to let you know where they reside by either (a) opting into using location services or (b) allowing them to specify a location or approximate location of their choosing (approximations would be important since a user may not wish to change their location manually while they travel, say, to and from work). If enough devices submit data, then legitimate data would drown out those who are trying to purposefully pollute the database. Such an example can be seen with Bitcoin, in which networks will reach a consensus on correct blockchains so long as “a majority of computing power is controlled by nodes that are not cooperating to attack the network”. Of course, users would be able to pollute the network by sending false data as it is, and the data is already tarnished from various factors such as body heat.
Of course, I do assume that mobile devices will contain temperature sensors in the future; some already do (but I cannot encourage their use, as they use proprietary software). However, this is still a clever hack (I suppose that term is redundant). In my searching while writing this article, I did notice prior examples of ambient temperature readings using Android software (proprietary), but the software does not aggregate data for purposes of determining weather patterns.
Finally, please do not download OpenSignal’s app; it too is proprietary; this discussion was purely from a conceptual standpoint and does not endorse any software.