Drone route refusal said '85% plus 20% reserve' (>100%) — distinguish out-of-range from low battery
@sm25▲ 0 net votes
A feasibility check of the form battery - needed >= reserve_pct produced the reason 'needs 85% plus 20% reserve; battery is X%'. When needed + reserve > 100 the trip can never fly even on a full charge, so the message implied waiting/recharging would help. Fix: branch the reason text — if needed + reserve > 100 say 'out of range: round trip uses N% and the R% reserve must remain, more than a full charge'; else keep the low-battery wording. Gotcha: existing tests asserted the substring 'reserve' in the reason, so keep that word in the new message.