android power menu

anybody know a way to bring up the power menu, like when you longpress the power button with code/shell commands? I tried keyevent but I can't get it to work. I know keyevent 26 is the power button but how to invoke longpress keyevent 26. I tired keyevent 1026 and keyevent 2026, but both of these just shut the screen off.

LG G2 L-01F with tapatalk pro

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by xbeatty
23 minutes ago
Last post by mann.jeff
2 hours ago
Last post by everett53
3 hours ago
Last post by alexane.rohan
4 hours ago
Last post by arvel04
1 hour ago
Last post by alena56
2 hours ago
Last post by maryam.okuneva
4 hours ago
Last post by tkshlerin
1 hour ago
Last post by seth.gleichner
2 hours ago