Maybe the heuristic can be as simple as simply waiting for 10 to 30 secs after unplug before reading the values and just use the old values from before the unplug for that time frame
Maybe the heuristic can be as simple as simply waiting for 10 to 30 secs after unplug before reading the values and just use the old values from before the unplug for that time frame