[2/2] Framework: add option to hide power menu when screen is locked

Change-Id: I45642604e1754ce781a7a26f1128b081c88bf1bf