Just to clarify, I define endless battle trolling as where you could pp starve your opponent out or otherwise allow the match to progress, but choose to prolong their life indefinitely in such a way that the game will never end unless a player quits or only you do something different (and you don't for a lengthy period of time or have intentions of doing so) OR purposely creating a situation in which neither player's actions can cause the match to progress. If I see someone committing or conspiring to commit Endless Battle I reserve the right to give the win to the other player on sportsmanship grounds, even if the fight is on the ladder. I also reserve the right to edit this post retrospectively. I have edited the OP to reflect this and to avoid any confusion on the matter.
To clarify some edge cases. It is entirely fine to run infinite pp stalling sets if their goal lends itself to match progression
examples include but aren't limited to, stalling an opponent's pokemon to death/out of a move's pp, tricking a pp recovering berry onto a pokemon to temporarily delay them from struggling to death(such as to allow for more time to set up a baton pass chain), a situation wherein hazards are not on the field, and one player has locked themselves into an infinite pp chain and the other player is infinitely double switching (in which case the match is not progressing because of deliberate action by both players, as opposed to one player holding the match in permanent stasis).
It is my goal to make this as clear cut as possible, both so that no one need be confused about this, and so that no one can try to call technicalities on this rule. To that end, if you have any questions about whether or not something constitutes endless battle, please post in this thread or message me.