Brake and battery light come on when driving on 2003 Nissan Altima

Brake and battery light come on when driving just started today had it checked out cant find nothing everything looks good it comes on for about 5 min than goes away has anybody had this problem and had it fixed thk

Asked by for the 2003 Nissan Altima
1 answer 1 comment
I would have the alternator thoroughly checked under load
altrenator bad replaced it's good now