Oxygen sensor, pictured next to a mug. They are about the same size.

An Optical Oxygen Sensor

This is a prototype of an oxygen sensor that contains a special photoluminescent silica aerogel. Oxygen concentration is measured by recording the brightness of the aerogel, which is affected by the amount of gaseous oxygen around the aerogel.