When a Raspberry Pi is overkill.
And it's all thanks to the cool sensors included in modern smartphones ...