Chosen Solution

My Moto G power button is broken, and the phone now just turns itself on & off continuously until it runs out of battery power. If I plug in the charger, it will carry on turning on & off indefinitely. I’ve asked about a repair at the Vodafone shop where I bought it, and they’ve said they’d have to wipe the phone before sending it off to be repaired. I’m not keen on this as there’s stuff on the phone I’d like to keep. The button appears looser than the volume control, so has probably become detached internally. Is there any way of repairing it myself?

i fixed mine. The power button is a tactile switch soldered directly to the board. theres nothing behind it to stop it from snapping off the board if it gets pushed too hard, except for some plastic “posts” to hold the part that presses the button inside. unfortunately they are only somewhat effective. Anyway, I fixed it by aligning the tact switch with the pads on the board and soldering it back on. you will need a relatively small tip on your iron, and take care not to melt the posts I mentioned earlier. take the mobo out entirely if you need to. I protected the button from breaking off again in the future by cutting a small piece off an itunes card and sandwiching it between the back of the tact switch and the edge of the battery.

Possibly replacing a new button will fix that problem. But it depends. Need to check the circuit before making any decision. Better to look for personal workshop around your home.