What happens if I repair display with the battery connected?

I replaced the display because the original was blacked out but touch worked (quicktime). After replacing it it's in the same state. But when I finished the replacement I realize the battery was connected all the time.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0