I don't think a code scan will pick up anything but it sounds like your alternator, belt, or wiring has a problem. The battery light usually means the battery is not gettting recharged. A charging system test at an autoparts store would probably be a good idea. If you had the alternator/battery work done at a shop, I would bring it back because it should be covered under some kind of warranty. (And the alternator is a big job on the V6 anyway.)