Check Battery reach after a certain amount of time
One Method which checks the Battery reach and the distance to the target and if the reach is lower then the distance to the target, then call a method which change the behavior. Plus checks if battery state is lower than a certain percentage (20%?). Checks once at the start of the trip (setting the first target) and updates together with actuator update?
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information