suspension level detection algorithm