A misdemeanor domestic battery charge against a district judge is being dismissed by the judge if she does community service.