Jail drugs boyfriend

So basically my boyfriend got arrested in January for weed which is illegal here and he got put on unsupervised probation. But he got pulled over again about a week ago and now he has a court date in 3 days before he had weed and dabs in his car. He should have been taken and arrested right away everyone keeps saying. But his lawyers claim he will either go to jail for two weeks and be put on probation or for a month then be done with it all. He's thankfully sworn to me he is quitting, he was saying he would at the end of the summer but this basically made him dead set have to quit now and he has no issue with it because he kept saying he doesn't want to lose me over it. But yeah he's probably going to jail in 3 days and he is the only person I talk to. All of my friends have moved away for college or not contacted me since graduating high school. Today I found out my grandpa has cancer again so I'm going to be completely alone if he goes to jail and I have no idea what to do. Has anyone ever been in this situation before and if so have any advice on what to do?