Merge "similar to the samplers in batterystats, when we do diff, if the value is not monotically increasing, we should take the absolute value as the diff."