method and apparatus for determining deterioration of e . g . lubricating oil by measuring the contraction of a polymeric matrix holding charged ionic groups . the support contracts due to oil quality degradation . the expansion / contraction is detected e . g . electrically .