Why my car is doing that

Been at it for a while now took it to the mechanic and they told me it was giving a low battery warning but I got a new one about a month ago it's 2019