Shutdown a device without power button
If you have got root acces then install an app from the play store that can shut down your phone. Like this one: https://play.google.com/store/apps/details?id=GRuV.PowerOff.PowerOff

Hope it helps!