My moto z2 will reboot if it gets slightly wet (rain, shower). Only a few drops will cause it to happen. When it reboots, the pool were button no longer works. If I then add a moto mod, like wireless charging, the fingerprint/ home button also will not work until I remove it. Then the home button works again. But a few hours later, both work again. I suspect water is causing the power button to “close”, main the phone think you are holding it down. Later it dries and is ok again