the device doesn't show up till main battery is connected, so we need this change to allow for separate avionics battery and main battery with avionics battery powered on first
and move to common function for update_consumed()
added parameters for I2C bus and address. Tested on INA231 and INA226 This allows any 2M flash board to use an INA2xx battery monitor