I have LG G2 (D801) on Android 5.0.2 Lollipop, rooted. The power button stopped working. I am pretty sure an app messed up its behavior - I don't know which one of the many I recently un/installed trying to fix another issue. I am pretty sure it's not a hardware issue.
How could I restore its default behavior: press to optionally lock the screen and long press to bring up the power menu?