"check engine" light and "battery" light are on at the same time

Sounds to me like this guy’s alternator is not charging the battery properly…Or maybe he needs a new serpentine belt?