I did a little bit of research and found West Virginia's criminal code and according to West Virginia statute 61-2-10b(c):
"Any person who unlawfully, knowingly and intentionally makes physical contact of an insulting or provoking nature with a police officer...

Now, passing gas near someone isn't making "physical contact" with them, so I have no idea how they think they're going to get this to
fly in court. Sure, it's offensive, but to charge this guy with battery for passing gas is going overboard. It sounds to me like this officer was
already annoyed and let it cloud his judgement, which in NO WAY is an excuse.