Potentiometric titration curves for lubricants