Hello and welcome to justanswer.com
WHen the battery light comes on this means there is a problem with the charging system and usually not an engine management problem. The code P1111 is a readiness code in which there is no repair needed and it does not need to be cleared. The battery and alternator should be tested. I also see issues with the battery cables causing this.