What instrument measures the tilt of a surface - one that has an air bubble in a liquid?

A spirit level.