[Completed] Disabling screen-on/wake-up reaction to change in power status? - XDA Assist

I've noticed that my rooted XT1527 2nd Gen MotoE will automatically "wake up"/turn it's screen on whenever it recognizes that it has been given a power source (or the power source has been taken away).
Basically, every time I plug in, or unplug the power cord, the phone's screen flicks on in recognition of the change in power status. I want to disable this and have the phone screen only turn on if I physically press the power button.
The reason I'm asking is because I am experimenting with charging my phones with solar panels. Things work great when it's very sunny out, but when it's cloudy, even though the phone stays plugged to the solar panel, the charging source flickers in and out with the clouds (which seems to be the equivalent of plugging and unplugging the phone from the commercial charger in rapid succession). When this happens, the phone's screen turns on in recognition of either gaining or losing the power source, and on cloudy or rainy days, this process happens so frequently that the phone screen essentially stays on all day and slowly drains itself of battery much more quickly than it would have if it didn't feel the need to turn on the screen every time the power source came back or went away.
Any suggestions for how to disable this "screen on to recognize change in power status" feature?
My phones are rooted and I've made some simple firmware modifications to them, but I'm definitely a n00b.
I won't go into the details, but I'm using the phones for scientific research, which is the reason for the solar panels. I want my phones to be able to stay on and collect data, but I don't want that screen waking up and flicking on every time there's a change in power status! I'd love to be able to get rid of this feature! Any ideas? Maybe there are apps that would allow me to do this? I'm not even sure what to search for.
(I posted this question in the MotoE-specific forum as well, before I realized XDA Assist was an option, and I'm not sure how to delete that post. Apologies for this double-posting)

Thank you for using XDA Assist
The correct area was the Moto section
XDA Assist is only to guide New users to the correct area or forum on the XDA site of where to research the information they require or ask their question.
XDA Assist staff is not here to actually answer questions but to guide you.
You may also want to place your question in the Android General area.
We are closing this thread and good luck.
Ragnar

Related

Tapping the screen to wake up from standby.

Hello all, I'm new here and I'm also new to the xda world. I just had my Atom few days ago.
I used to use Symbian where I would only need to tap the screen to wake the device so, is it possible to make Xda Atom to wake from standby mode by tapping the screen, instead pressing the "power button"?
Pressing the "power button" few times a day to wake the device could and might wear the button and it won't take long to make it unusable.
I have done my home work as a noob by searching the forum. Here: http://forum.xda-developers.com/showthread.php?t=307481
I do not really mind with the power drop. So, is there any solution to make this possible?
Thank you in advance and any help would be appreciated.
Go to Start>Settings>System>Power >Advanced and untick Turn of device if not used for X minutes.
Now your device will be always on, unless you use the power button, and the screen should just dim when you dont use it after a minute or 2, and come back on when you touch it.
Let us know how it works out.
Surur
Thank you for the hint, Surur. It works, however it's not exactly what I had in mind. By letting it to show the today view all the time, it would take too much.
I was thinking to let the screen to go completely off, but the screen is still active (touch only), or only part of the screen. So, when the device goes to blank or standby, it would wake when I tap on the screen... or some part of the screen if it could help to preserve some power.
In Symbian, I could set the time for the screen to go completely off. And when the screen is completely off, each time I tap on the screen, the screen would go on. And if no input from user, it would go off again, according to the time I set before.
Note: the device does automatic lock, so even if it gets tap by something, the display would show or awake but would not open an app or do something unwanted, until user unlocked it using combination. So, I never need to touch any button with Symbian, completely using screen only.
Is there an application that able to do something similar or better than what Symbian does? I'm even willing to pay for someone to make this kind of program.
I don't know if it's allowed to double posts or not, if not please let me know.
Here is a testimony to back up my point of view regarding the power button:
"Naturally I set it to the power button, but after a while, that button got worn down and stopped "working" so I naturally set it to recognize any other button.
This experience has taught me the hard way, that its a good choice to have (or maybe even a necessity in some cases) that other buttons to wake the unit up in case of situations like this."
Taken from http://forum.xda-developers.com/showthread.php?t=315329
So, please someone create an application to allow user to use screen to wake from standby.
Here is what I had in mind:
1. Lock the screen if standby
2. On standby mode. If I tap some part of the screen (some part of screen only to save some batt power), then it would show option to unlock.
3. If I tap but do nothing or do not unlock, it would goes to standby again.
Again, I would pay the good person who's willing to make this kind of application. Or maybe it's already available?
MDCT said:
Hello all, I'm new here and I'm also new to the xda world. I just had my Atom few days ago.
I used to use Symbian where I would only need to tap the screen to wake the device so, is it possible to make Xda Atom to wake from standby mode by tapping the screen, instead pressing the "power button"?
Pressing the "power button" few times a day to wake the device could and might wear the button and it won't take long to make it unusable.
I have done my home work as a noob by searching the forum. Here: http://forum.xda-developers.com/showthread.php?t=307481
I do not really mind with the power drop. So, is there any solution to make this possible?
Thank you in advance and any help would be appreciated.
Click to expand...
Click to collapse
You can try the keylock in the settings, that will not wake your device by tapping the screen, but it will wake up by pressing any key...
Thanks for trying to help, ai6908. Unfortunately, I couldn't find the keylock in the settings, and it still needs button to be pressed.
I do not feel comfortable pressing button. I used p800, using it, Symbian was able to be operated without the need of any button.
Depending on button, it could decrease the value of the mobile, I mean pressing button(s) few times a day would surely wear the button(s) over time. Movable parts are more easily to get broken or wear. And It would decrease the value if the mobile is going to be sold later on. With p800, I could keep the state like new for many years, thanks to the UI that allows us to fully control from the touchscreen alone.
It seems like a Microsoft and mobile manufactures scheme to make user to buy another device when the button goes wear from waking up from standby. I can't believe Windows Mobile depends on the need of button to be operated. I even have to use button to take picture with Atom.
I know many also like to use button, but I believe there are other who do not like or like me. I hope MS is flexible about this like Symbian. Someone could help me on this issue?
Keylock is under settings/system...you can try it, but it is not like the symbian one that you mentioned...
I couldn't find Keylock in the settings/system, maybe it's a separate application. Thanks ai6908 for trying to help me, unfortunately it's not like what I had in mind. If I couldn't find the solution that I want, I would surely use your advice.
Someone told me that the display panel is "connected" with the touch. So when the display is off, the touch capability will be off too.
Because of that, I was thinking maybe an application that would set the backlight to very minimal (so it would make the screen to go blank) after a defined period of time could do the job.
Has someone tried this before? Or is it also not possible?

Solving Power Button ISSUE

Hey guys,
So my brothers Nexus 5 came to an end but i'm determine to recover it (Already Partially Recover)
Backstory:
So initially the power button wasn't working like it couldn't be pressed, and as the device was already off i decided to plug a charger in and it would enter the boot stage but enter a boot loop which further research showed me it was a issue with the powerbutton, So i came to the conclusion to remove + replace the power button so i opened it up, took a look and soldered the broken power button off, with alot of time and effort i managed to remove it and clean it up with the intentions of installing a new powerbutton i bought a fine tip solder tip however it wasn't burning properly as i noticed eventually, in which i was unable to solder a new power button on even with flux, aswell as this i managed to solder it on in which i was convinced it was a decent soldering job as all the points were clearly connected i placed the board into the device (wHICH WAS A MISTAKE) as i should've waited a solid hour, to ensure it was strong, as of this the power button had come off as i was placing the board back in which meant the button was practically scrapped and i was extremely fustrated, so i decided to screw it a put the device back together without the back casings over the board, and i wanted to see if i could bridge the connection whilst the charger was plugged in in which i did and the device booted up.
Main Question:
Now my main question is, i need a workaround for the powerbutton currently i've installed Gravity Screen for him, however it's got a high battery consumption and it's not too reliable so i'm trying to get a solid method.
I've come across a headphone jack that has a button which i can configure to be a power button (Pressy or iKey)
Now that the issue with Locking + Unlocking is solved
How can i power the device back on when it shuts down due to lack of battery as i've sealed the phone back up, He currently runs Android 6.0 MRA58N, My main idea was to Root his Device + get TWRP installed however i was wondering if i could do this without rebooting his device / setting up a method to power his device via ADB however i haven't installed any ADBs etc so far.
My second idea was if i booted the device into fastboot by plugging in in the power cord and holding volume button, with the battery unplugged via the ribbon would it power on the device?
Last question is, i powered the device with the Camera Unplugged via ribbon cables however it's not working as the app just opens and closes without a FC so i was wondering if a reboot would just fix this?
ADDITIONALLY Another method could be rebooting via terminal However i'm unsure on how to use the Terminal / if i need root or not etc.
Thanks!
Contact a kernel dev. He will probably be able to remap the power button, to get it to boot from the charging screen. Or try to disable offline charging alltogether.
playitlouder said:
Contact a kernel dev. He will probably be able to remap the power button, to get it to boot from the charging screen. Or try to disable offline charging alltogether.
Click to expand...
Click to collapse
I'm quite new to the Nexus 5 Area, and infact i don't know any Kernal developers - Is there any chance you could probably help me out and give me some contacts etc.?
Hussain_Salam said:
I'm quite new to the Nexus 5 Area, and infact i don't know any Kernal developers - Is there any chance you could probably help me out and give me some contacts etc.?
Click to expand...
Click to collapse
I dont do much in terms of custom kernels, but post in some kernel threads in the nexus 5 development forums, or contact the creator of the thread via pm. Just look for threads with KERNEL in the name
UPDATE!
playitlouder said:
I dont do much in terms of custom kernels, but post in some kernel threads in the nexus 5 development forums, or contact the creator of the thread via pm. Just look for threads with KERNEL in the name
Click to expand...
Click to collapse
Okay Thank you,
UPDATE:
*I've Overcome the Powerbutton issue as i've ordered Pressy/iKey which should be arriving tomorrow which will lock and unlock my screen
*I'm now trying to figure out another method to power on my device if it shuts down:
One idea was to some how get the device to power on when i plug in a charger maybe by installing TWRP
Or another method was to power it on via an ADB shell on pc Or Something like that
*I'm also trying to reboot the Device however im unsure on how to do so without a power button.

Major issue with ZTE Blade 10: Screen refuses to stay off

I've gotten no help from ZTE themselves - they want me to do a factory reset and didn't even bother to read what my problem is. This is with the stock ROM for a ZTE Blade 10. I touch the power button and the screen doesn't stay off, instead turning on every time I move it (in the same vein as a "Lift to Wake" problem). This burned a huge hole in my battery the first day I had it, butt dialed a couple of people by opening my Contacts on its own, swiped important notifications away (including texts and reminders), and played with apps. I've managed to stabilize it some by tweaking some settings, but I haven't found a setting that disables this entirely.
I have screenshots of my settings in a second post, since I'm not allowed to post them in the original post.
Worth noting is that I have a custom lockscreen app, HiLocker, for which I set a five-second timeout. It does not seem to be the app, since the problem still presents itself when I disable it. Ergo, I either have to choose between changing that to instantly locking (thus making me enter my pattern again when my screen times out, even if I'm in the middle of using the phone) or keeping as is and dealing with this problem. I don't want this to be a choice. I want this five-second thing, but I want the power button to be absolute and keep the screen off until I push it again. My phone doesn't seem to understand something so basic: That's what the power button is for.
Does anyone know if there's a solution for this? Any pointers would be appreciated, thanks!
I hope this works.
https://i.imgur.com/uwdn8V5.png
https://i.imgur.com/aqd16Ko.png
https://i.imgur.com/RuhrvAV.jpg
Bump. Seems I can do that every 24 hours, and it's on the bottom of the page, so...
Still seeking any feedback. Anyone have any idea, or do I need to flash a ROM for the first time in half a decade?
One last try... can anyone help me?

How to force shutdown without touchscreen.

So my Note 10+ screen broke so that I can only see the top 15% and only touch the bottom 60%. I booted into TWRP to backup everything, and now I'm in a situation where I can't turn the thing off. I am unable to press the shutdown button, only the download mode and recovery mode buttons. I am also unable to press the ADB side load button to send a shutdown command. It will be quite some time before I am able to fix the screen, so I don't want the phone battery to be sitting dead and degrading for a month or more. I already tried draining the battery and then plugging it in to charge, but the phone automatically booted into TWRP.... hardware key combos only reboot, they won't shut down...
Does anybody have an idea how to power off my device? Or to reboot into system or gain ADB access without being able to use the touchscreen? Thanks for the help
Humm, after reading the "how do we make XDA a better place thread", and the "this place is just not as good as it use to be" thread, I thought I would try to help. But I suppose that if you were on the forum since 2010 you have probably already thought of this. Also, I don't have a "Note 10+", so this is just guessing based on general Android behavior.
My screen is also unresponsive and I was able to reboot/power off by just by holding down the power button for half-a-minute. Sometimes I would have to "pull the battery", as soon as the phone started to reboot. I've done it a few times and haven't bricked the phone yet. So it is not something you do not want to do all the time. But then again this response will probably not be helpful because your phone does not have a removable battery. (whether or not a battery is pull-able is not something generally listed in the phone specks unless you do lots of digging).
TheLexx said:
Humm, after reading the "how do we make XDA a better place thread", and the "this place is just not as good as it use to be" thread, I thought I would try to help. But I suppose that if you were on the forum since 2010 you have probably already thought of this. Also, I don't have a "Note 10+", so this is just guessing based on general Android behavior.
My screen is also unresponsive and I was able to reboot/power off by just by holding down the power button for half-a-minute. Sometimes I would have to "pull the battery", as soon as the phone started to reboot. I've done it a few times and haven't bricked the phone yet. So it is not something you do not want to do all the time. But then again this response will probably not be helpful because your phone does not have a removable battery. (whether or not a battery is pull-able is not something generally listed in the phone specks unless you do lots of digging).
Click to expand...
Click to collapse
Yeah unfortunately battery is sealed inside and holding the power button yields no result
@TheLexx
Take phone to authorized service center and let them fix it.

Question Visually Impaired Person.

Greetings,
I need the help of a developer. My grandfather has a Samsun s20 + and is 86 years old, and little by little he has been losing his vision, I have configured the phone for the visually impaired, and some apps are very good, even answering a call is very good, you don't need see the screen, and recently I wondered how to turn off the phone quickly, for that phone you have to press the shutdown button, then choose the red button and finally turn off, there are three steps that for a person with visual impairment are It makes it difficult, I was looking for an app that will facilitate the process but I did not get anything, well, I also tried hitting the off button and the volume down button at the same time for a few seconds, but what it does is restart the phone. Voice commands are not viable due to his age. I would like to know how I can help my grandfather, I have thought about developing an app that when opened just by clicking the screen once, turns off the phone, he has an app that gives him the time with that procedure, super easy, he just opens it , touch the screen anywhere and the phone tells you the time. Any guidance on this would be greatly appreciated. Thanks
PD: I told him that I could program the phone to turn off at a certain time and turn on at a certain time, that could be done with a Bixby routine, but he wants to be in control of being able to turn it off.

Categories

Resources