Have a look at GitHub - mr-manuel/venus-os_dbus-serialbattery: Battery Monitor driver for serial battery in VenusOS GX systems
Caution should be said on connecting jkbms directly, as older jkbms connection ports had full battery voltage on one of the pins and potentially could fry items directly connected to it, unknown to myself if newer versions have this or not.