I think it measures body roll. It is one of the sensors that contributes to the traction control.
If it is on the way out then it manifests itself by the traction control coming on at random times and then staying on. E.g. going round a roundabout it comes on and stays on until the ignition is turned on and off.