If you are asking this question, it means you are not familiar with the i2c bus and the wire library code to use it with an external chip like an eeprom or your battery chip.
One of the best tutorials is by Nick Gammon.
https://www.gammon.com.au/i2c
It is worth your review, and there is plenty of other material on line.