Hello @FLOSCH

the reason battery level, power, voltage and current are incorrect is that the calls to GetBatteryLevel(), GetBatPower(), GetBatVoltage() and GetBatCurrent() are happening before I2C is initialized and therefore return invalid values. You'll need to do this calls inside setup() and after M5.begin().

Thanks
Felix