Has anyone try to get the X708 ups hat working on a pi4 with Ubuntu 20.10 running? Ihave working the i2c service, and the start/stop button is working as must be. I must say that I am not a linux expert.
I found how to enable i2c, see https://askubuntu.com/questions/1130052/enable-i2c-on-raspberry-pi-ubuntu/1130074#1130074
for the python-smbus I have installed python3-smbus, see here https://ubuntu.pkgs.org/20.04/ubuntu-universe-arm64/python3-smbus_4.1-2build2_arm64.deb.html
Further I have found the solution for making a etc/rc.local file, see https://vpsfix.com/community/server-administration/no-etc-rc-local-file-on-ubuntu-18-04-heres-what-to-do/
The only thing I have now is the following error; line 123, home/pi/x708bat.py an line 151, home/pi/x708pld.py no such file or direction. I think there is no pi derectory.