Issue with flashlight and power button on stock rom - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Hello everyone,
following issue:
When the flashlight is turned on and the screen is turned off, pressing the power button will turn off the flashlight. You then have to press the power button again to wake the phone.
Is there any solution/workaround/mod to just have the power button not affect the flashlight at all?
I go running in the dark sometimes and this is really an annoying issue since I sometimes accidentally press the power button.
Thanks already for reading this!
Cheers

Related

[Q] Is there a way to set behaviour of Power button?

Hi all,
I have got a Tytn II running on AthineOS Lite Rom,
I just wonder if it is possible to set the behaviour of the power button.
As original shipped rom, pressing power button turns into standby mode, which music players continue to work.
However,when I use this rom, whenever I try to turn the screen off + locking the keys by pressing the power button, music player just stops working.
Same to Resco Audio Recorder... When i press the power button to turn my screen off, recording would stop too
I tried Backlight Off programmes, however keys wont lock at the same time.
and I wonder if there is a way, like Reg modification to change how power button works.
Many thanks =]
cn2661 said:
Hi all,
I have got a Tytn II running on AthineOS Lite Rom,
I just wonder if it is possible to set the behaviour of the power button.
As original shipped rom, pressing power button turns into standby mode, which music players continue to work.
However,when I use this rom, whenever I try to turn the screen off + locking the keys by pressing the power button, music player just stops working.
Same to Resco Audio Recorder... When i press the power button to turn my screen off, recording would stop too
I tried Backlight Off programmes, however keys wont lock at the same time.
and I wonder if there is a way, like Reg modification to change how power button works.
Many thanks =]
Click to expand...
Click to collapse
try using AE Button Plus to replace the function button on the device
Thanks for quick responce
I am trying the little tool
however, I just manage to map a key to switch screen turning backlights off,
or lock device,
but I cant figure out how can I turn off the screen at the same time hardware keys are locked (just as how power button acts except keeping programs running while screen off)
Please advice, and thanks again mate =]

is there a setting where only the power button turns the screen on and off?

hi. thanks for reading this. is there a setting i can choose to stop the volume bars from unlocking/waking up the nook?
i just want the power button to turn the screen on and off.
running cm7.

[Q] LG G Flex Power Button

The power button on my LG G Flex is not working correctly.
The power button will turn on the phone every time however it will not turn off the phone (turn off the screen). I have to double tap the screen to turn it off.
When the home screen (or some kind of app) is illuminated and I press the power button the volume raises.
I know the up volume and the power button are close to each other and knowing this I really try to precisely press the power button and not the volume button however I cannot get the power button to turn off the screen.
If I hold the power button down for 10 seconds I can get the "Power off in 5 seconds" screen to appear.
I believe it is a SOFTware issue.
Any suggestions???
THANKS!!!!!!!!!!!!!!!!!!!!!!!!!

Screenshot

hi all this sound weird but since i flashed roms on my phone am unable to take screenshot with cap home button and power button nothing happen any reason?
Its power button + vol down

Question Remap powerbutton

Hello,
is it possible to remap long press power button after root?
I want to turn flashlight on after holding down the power button for while.
Thanks!
ok, AOSP mods solved it

Categories

Resources