Deputy guilty of battery gets away with warning