Why does my tablet turn off when the battery is full

I have an Insignia Flex 7 on occasion the back of it will grow warm and then the tablet will turn itself off completely. Is there anything I can do to fix this, if so how do I fix it?

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

crwdns2934109:0crwdne2934109:0

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