
Quoting
Mr. Knowitall
Pursuant to PC 1203.1(a), (j) ("[U]pon the payment of any fine imposed and the fulfillment of all conditions of probation, probation shall cease at the end of the term of probation, or sooner, in the event of modification."). Assuming that you had completed the full term of probation and complied with your sentence such that you should have been discharged, what is it that you hope to accomplish?
If you received full credit toward the sentence for battery of the officer for the time you spent in jail on the probation violation, then even if we assume you should not have been convicted of the probation violation you would seem not to have been harmed by the error. Also, had you been convicted of both new charges, you might have been giving a greater sentence on the new charges -- assuming we're talking about PC 241(b) (battery of an officer) and PC 148(a)(1) (resisting arrest), your plea bargain subjected you to a sentence of up to six months on the new charge, but without it you could have been sentenced to up to a year. You might try to have the probation violation charge vacated, if you think it's worth the effort.