Yeah that part doesn't always seem to work properly. What you can do is go into the service window for your tank, and select the options to automatically repair and resupply after a battle. That way it'll work every time, all the time. With the bot's option it's more like 60% of the time, it works every time.