No need to repair hardware when can be fixed with software.
Volume Unlock is utility app which will help devices with broken power key or issues like restarting the device on power key press (Like moto e first gen).
This app can be used for making volume button to work like power button to wake up the screen. Functionality supported by this application are:
1. Volume button to Screen on.
2. Screen off from Notification click.
3. Flip the device to Screen off.
4. Auto start app on restarting the device.
5. Turn on and off the application using timings for better battery performance.
6. Screen off from widget.
Volume Unlock Uses Device Administrator Permission to lock the device, once device admin permission is given user can not uninstall the Application normally, please use the uninstall option provided or go to Device administration settings and uncheck the Volume unlock to uninstall the application normally.