I found this solution:
uint8_t getIP5306REG(uint8_t reg)
{
Wire.beginTransmission(0x75);
Wire.write(reg);
if (Wire.endTransmission(false) == 0
&& Wire.requestFrom(0x75, 1)) {
return Wire.read();
}
return 0;
}
bool batery_mode = (getIP5306REG(0x70) & 0x04) // Return 1 Batery Mode, 0 Charging or V_In enable