There is a company called Acosense that use accelerometers to detect liquid properties. They use a correlative method where the input is known and correlated to the vibration input. It takes time to build up this knowledge. You might want to talk to them - I believe that the method is patented.