Man charged with battery after farting near cop