I have a motorola-moto-g which has a broken power button. I tried to fix my button by gluing it but now it seems that the button connection is somehow isolated and unworking completely, similar to that of this post. Now I need to find a workaround for being able to power my phone up if it shuts down.
I've researched about remapping volume buttons but most of what I've seen seem to work only on already powered up devices. I believe what I need is a lower level remapping. How can I remap volume up button so that it acts completely like the power button?