I quit battles when I know I can't win, and don't mind people doing it to me either. I think what's important is at least saying something, maybe "gg, u win", not just leaving randomly. I play for the tactical fun, not for watching all my opponent's pokemon drop to 0%.