Battery-percentage

is there any way to know what percentage of charge the battery has left?

You can monitor the bus voltage with odrv0.vbus_voltage, but % charge on a lithium battery is non-trivial.