Python api on balenaOS error

Anybody trying to use the Power Management Python API inside a balenaOS docker container on a raspberry pi 4?

I’m unable to communicate (over I2C) with the power management HAT.

The error comes when I try to write i2c data to device:
bus.write_i2c_block_data()

Error:
TimeoutError: [Errno 110] Connection timed out
OSError: [Errno 121] Remote I/O error

The library works fine on:

  1. raspberry pi 4, Raspbian default install host OS
  2. raspberry pi 4, Raspbian default install host OS inside docker container
  3. raspberry pi 3, inside balenaOS container

any ideas?