menu press long power button - Android Q&A, Help & Troubleshooting

Hey guys! I need to disable shutdown or put password for power off button, but I can't catch the event on Android 11.
My dad has Alzheimer's and I need him not turn off the phone.

Related

[Q] Get Power Menu Without Long Pressing Power Button

Hello,
As the title says, is there any widget kind of a thing to get the power menu, without long pressing power button?
Thank you

[Q] change key layout of hardware power button

I want to change how the power button functions and I need some help on where to start or for someone to tell me it's not possible.
The power key works like this,
press -> Turn screen off
long press -> Tablet options menu appears
20 sec press -> Turn off tablet
And I want to flip the press and long press functions so the power key works like this,
press -> Tablet options menu appears
long press -> Turn screen off
20 sec press -> Turn off tablet
I was looking at files in /system/usr/keylayout but don't know if I'm on the right track or how to find out key codes for long presses.
Any help is appreciated.

[Q] Close apps with power button

Hello all!!!
Is there a way to close apps with power button? I want to go to the start screen when I press the power button and unlock my phone, not back again to the app. Something like home button.

[QESTION] change power button function

Hello. On every phone, if i hold the powrr button long inought, it will pop up a power menu. But on meizu, there is only 2 options (power off, reatart) and i found app, that have more options (recovery, turn off sounds, etc). So is possible to somehowe stop the menu function and replace it with open app function? I know that it sounds like an idiot idea, but for me it would be great. Thanks for your time and answers.
P.S.: i was thinnking about macrodroid, but it have only power button toggle (3-5 times) but every device i know lock screen after 1 time pushing power button. Sr for my english

Question Zenfone 9, phone can be shut down without unlocking.

So if the phone is locked, anyone without the password or proper authentication can turn on the phone then hold the power button and shut it down.
Other phones ask you to unlock the phone in order to do that so that unauthorized people can't mess with your phone.
Any help on how I can secure my device?
Thanks
It's very standard behaviour in Android phones, long press of the power button shows up the power menu with the usual "Power off" , "Reboot" and "Emergency" even if the phone is locked.
Double press the power button also usually open the default cam app (and anyone can take pics without even unlocking the phone)
If you want to disable this you can go to the settings and disable the long press power off option and the double press option
: Settings -> Advanced -> Smart Key : Disable double press and Disable press&hold
But be aware if you disable the press&hold option the only way to reboot the Zenfone 9 will be from Power icon located in the bottom right of the completely expanded notifications panel
Also if you hold power + vol down for 12s (short is screenshot) it will do a force reboot. There is a combination for almost all android phones to do this

Categories

Resources