If the kid was arrested just for farting, that would be one thing. But from the sound of it, that was just part of the disruption. Repeatedly turning off computers while people are using them can be extremely disruptive.
I was in an office where doing it once resulted in a near fist-fight and an immediate firing with security escort off the premises. Actually, it was the guy whose computer got turned off that was fired, and it was a damned good thing because he was a psycho who had laid out (to me) a plan to go postal and our boss was refusing to act on it.
But still, I strongly suspect that the farting was not what got the kid arrested or even in trouble. It just makes a better headline.