trying to stay positive..

My SO has been dealing with 3 misdemeanors for the past 3-4 years. Whenever he goes to court they tell him other dates for trial, he's been going to all of them but everything gets so confusing since there's more than one.
Last year some guys were picking a fight with him while he was alone and he's a pretty good fighter like he knows how to defend himself and how to hurt others but one of them got into his jeep and tried running him over, luckily he got behind a pole and didn't get hurt, but, he had a pocket knife and stabbed the hood of the car and ran away. Now they are trying to press charges on him for vandalism but he can't afford a lawyer now or anytime soon. So he'll probably end up paying them. Anyways he had an arraignment at the court on march 30 for this but with so many dates to keep track of this one slipped his mind and they issued a warrant for his arrest. This morning he was taken into custody and told him he had court at 1.
I guess whatever happens happens but I'm really worried about him being able to get out of jail soon since he has a trial on May 2. Our first and only child is due on April 28th. Does anyone have any experience in this? Like do you think he'll be able to get out of jail after his court today or do you think it's possible they keep him in there until his trial, which has nothing to do with this current warrant? So sorry this is so long I'm just wondering if anyone has gone through something similar.. thanks.