On OSRS, the bot just doesn't eat food at all. I don't know what to tell you but I've put Lobster as food in the GUI and to eat at 10hp, there is lobbies in my inventory and it just ignores them and pickpockets till it dies.
You can turn that option off in the anti ban settings.