We really need to add battery condition monitoring to K3Flasher.
The battery management is in the same chip as the UART, so we know the support is there.
- - - -
Until then, just do the obvious -
Divide up the huge file you are trying to flash into pieces small enough to flash between battery re-charges.
The posted report tells you where to re-start the download at in both the flash address and the file.