Jennifer Garner ''cares'' about Ben Affleck's sobriety.

The 'Peppermint' star may have split from the 'Batman vs. Superman: Dawn of Justice' actor but she is still focused on helping Ben through the tough times, after recently staging an intervention.

A source told People magazine: ''There are no secrets, and Jen is great at explaining what's going on in ­age-appropriate ways. She tells them Ben is sick and needs doctors. What she ultimately cares about is his sobriety and whether she can rely on him to co-parent. She is trying to keep the father of her children alive. It's devastating for her to have to stage an intervention in the middle of the afternoon, pretty much in public. But this was a crisis situation.''

Meanwhile, it was previously revealed that Ben ''wanted to go'' to rehab before his estranged wife Jennifer - with whom he has children Violet, 12, Seraphina, nine, and Samuel, six - encouraged him to go.

An insider shared: ''Ben had been drinking alone for days. He was in bad shape. He had barely been eating and had not showered. It didn't take much convincing. He wanted to go, and he cooperated. He knew he needed help and was vocal about it.''

Rehab is a ''major step in the right direction'' for the actor, who previously spent time in a facility for alcohol addiction in 2001 and 2017.

The source shared: ''One of the key elements with taking control of your addiction is knowing when to seek help, which he did, and it is a major step in the right direction. One crucial aspect of Ben's recovery is for him to be able to seek help when he feels as though he is not in control - when his ongoing treatment and meetings with sober coaches aren't quite enough. The best case scenario is for him to seek help, which he has done willingly, and for that, we are all very grateful and hopeful.''