Try to calibratecheck method (uint16 overflow check)(not working)
add Check Calibration ERROR (working)

(overflow check, convert xcharge and discharge_max_i  to value and reverse
if overflow then diff >~100)