Replacing battery detection circuit

I wonder how this could be incorporated to take over the onboard circuit. It has an l2C interface but how would you disable the onboard and have it use this as the detector? Not a code person.

This “fuel gauge” does exactly the same as the onboard battery monitor: it measures voltage. So it won’t have any advantage over original meter in a standard configuration, but it might be useful in a 2S ESC+brushed conversion. I don’t know if the board has accessible I2C ports to plug it.