A 20-year-old Racine man pleaded no contest to a battery charge about seven months after he and another inmate allegedly attacked two other prisoners in the Racine County Jail.