Just go and solve your problem and thanks me later https://okadtech.com/moto-z2-black-screen-black-screen-of-death-problem-solution/
+
I was also facing the problem i solved it by pressing power up + volume down button this is where i found the solution https://okadtech.com/moto-z2-black-screen-black-screen-of-death-problem-solution/