Why does my phone gets switched off even though the charge is 100?

Picsart 23 06 10 17 04 24 604