Diagnostic Code Light Question on 2002 Hyundai XG350

Recently, both the dashboard "brake" and "battery" lights have been coming on when the cars under load, (gas pedal is depressed) then once the car is up to speed or the load is equalized, they go off. Any idea what this indicates?

Asked by for the 2002 Hyundai XG350
2 answers 2 comments
HAVE CHARGING SYSTEM CHECKED AT AUTO REPAIR SHOP, NOT A PARTS STORE!! BEST"GUESS"ALTERNATOR TROUBLE.
My mechanic said basically same thing. Alternator issue, and on this car that is $800 to replace
GET 2ND EST. ON PRICE TO REPLACE ALT!!! NAPA HAS ONE FOR 286.00 WALK IN PRICE.
FIRST LINE (BEST) ALTERNATOR, NAPA PARTS ARE AS GOOD AS YOU CAN GET IN THE AFTER MARKET LINE. BOTH LIGHTS ON IS COMMON PLACE ON FOREIGN MAKES.
have charging system ck'd by your mech and also ck brake fluid in master cyl. double ck price sounds way to high