My display will not sleep and I have to manually switch off display. No matter which values I set at `settings -> display -> sleep` the display never sleeps. If I forgetfully leave the display on, it will stay that way till I attend to it.
I observed my device did not have this issue if I am using stock ROM.
It is a serious security, privacy and batter issue.
What is preventing my display from sleeping? What can I do?
I have found the issue. I installed a xposed module, HiddenCore. It is keeping the screen from sleeping. After I uninstalled it the display is going to sleep after the timeout.
Related
I'm new to the TB but I've been on Android since the original droid release. On my moto devices all i had to do was set the screen to stay awake when charging. I have set that on my TB but after a few seconds the screen dramatically dims, technically it stays awake yes, but is there a way to prevent it from dimming when it's charging or docked? Thanks in advance for your help.
It would really depend on what Mod you are running. If you are running stock there should be a setting in display for screen dimming. If you are running a custom rom each has it's own settings for different things. Cyanogen has it turned off by default but you can turn it on via the settings to allow the screen to dim.
I have the problem, my A70 is not waking up from Deep Sleep anymore.
After a while with screen off I press the power button and the screen stays black.
Only a reset brings the device back to life.
As far as I know it is a known problem, but search does not work.
Is there any solution for it?
How can I deactivate Deep Sleep permanently?
I only have the Deep Sleep On/Off option in Energy Options but there should be an option where the time before the device goes to deep Sleep can be adjusted, but I don't find it.
Disabling Deep Sleep with the button mentioned above does not help.
With most it is connected to the display light dimmed below 30%.
There is no time setting for deepsleep.
Is there an app for automatic display dimming?
Or an App, where the settings can be set so that 30% on Archos equals 0% on the App (100% == 100%)?
One more THing:
I installed the App Wake Lock:
https://market.android.com/details?id=eu.thedarken.wl&feature=search_result
I set the wake lock to Partial Wake Lock, and got a Freeze.
Is this normal?
I thought Wake Lock should prevent going to deep sleep?
It would be interesting to check whether the device is actually not turning on, or simply not turning the LCD on. One way to check would be to perform some action that plays a sound or something.
It would also be interesting to see if you can connect via adb and see what events, if any, show up in the log when you press the power button.
Could you explain, what is adb?
Never heard of it
See this: http://developer.android.com/guide/developing/tools/adb.html
This is probably fixed with an option in SuperDim 1.51dev2. See this thread.
Android version 2.2+
Hi, is there any way that I can still get the values from the acceleration sensor even after the screen is turned off (I already made my program as an activity)? When the screen-on is timeout, I will release the wake lock that I used to wake up the phone (to turn the screen on)
Note: When I tried my program in the debugging mode (connected to my computer), it worked fine.
P/s: There is one funny thing, when I tried my program on my sony arc s (stock rom 2.3.4), it stopped sending values from acc sensor after about 10 minutes, but in my friend's phone, he uses cooked rom Cyanogenmod 7, it stopped sending immediately after the screen had turned off. This made me wonder that would android have shallow sleep mode and deep sleep mode. I assumed that in shallow sleep mode, all activities would be able to run normally, but in deep sleep mode, only system activities could run. Am I right?
Thank you!
Basically yes, you are right.
Depending on the ROM/kernel, dictates how fast sleep modes are activated.
All ROMs I have used, have had a selectable "prevent from sleeping" mode when connected to usb. Other than that, you'll need an app that prevents the phone from going in to a deep sleep. :banghead:
Sent from The App that Time Forgot.
Hi
Tasker begginer here.
I'm having some minor issues with Tasker that I was hoping you could help me sort out:
I use Greenify and I was having a little problem with autohibernation feature in my unrooted Nexus 5: The screen has to turn on in order to automatically greenify something. This is a problem when the phone is in my pocket or facing down on the table because it conflicts with Gravity Screen (this app turns the screen off -and keeps it off- when the proximity sensor is active and the device is in a particular orientation), so when the phone is in my pocket or laying face down on a surface, Greenify can't finish its job because Gravity Screen will quickly turn the screen off.
In light of this, I disabled the autohibernation feature in Greenify and made a rather simple group of profiles to control it from Tasker. The main profile, the one that calls the "Hibernate now" shortcut from Greenify, is triggered when the screen turns off and has and If condition. This is the logic of that if:
- If
Proximity sensor: Not active
AND
Screen off
- Then
Run task
I do this to make sure that the hibernate action is not triggered while the screen is on or while the proximity sensor is active. Since Tasker doesn't have a variable for monitoring the proximity sensor, I made a profile that sets a variable (%PROX) to 1 when it's covered and 0 when its uncovered. So the if conditional uses the value of %PROX.
The problem is that if I turn the screen on WHILE the proximity sensor is active, Tasker skips the if statement (as it should), but if I turn the screen off with the proximity sensor uncovered and then cover it, it'll run the task. It's as if the profile that sets the variable %PROX to 1 does not work while the screen is off. Is this normal behaviour? How can I make this work better?
I managed to sort this out by deactivating Gravity Screen at the beggining of the task and reactivating it at the end (with a little waiting to give Greeenify time to finish), but I still want to keep my screen off while the phone is in my pocket.
My other doubt is regarding a group of profiles (that I got from here) that turn Wi-Fi on whenever I'm near two locations using the cell tower and Wifi near state in Tasker. I made some minor adjustments to these profiles, but they're still basically the same. The problem I'm having is that, most of the times, these profiles won't do anything if the screen is off. For example, I have it set to recognize cell towers near my house (and of course my Wifi connects automatically). Let's say I get home and I haven't used my phone in a while (screen off), I'd expect to see my Wi-Fi on and connected some time after I arrived, but this is not the case. It is not until I turn the screen on AND unlock the phone that I see the profiles doing their thing. I see wifi connecting, flash alerts and so on. This probably have something to do with the fact that, for some reason, my phone will not connect to a network while the screen is off. Same example, I get home with wifi on and the screen off, and I'll only see the wifi connecting after I turn the screen on (this happens with or without Tasker and with any wifi) regardless of how long I've been home.
Could it be that the near wifi profile cannot toggle wifi or can't recognize any network while the screen is off due to this bug I have with Wifi connections in my phone (Which I haven't been able to sort out)?
Thanks in advance and sorry for the long post!
Help with wifi profile
Hi, i saw your post in here and i think i can help, do you still have that problem or you managed to fix it? I think I might be able to help you
I'd like my tablet to use as little battery as possible when the screen is off. I already set it up to goto airplane mode when the screen turns off, restricted background data use, and have grennify set for aggressive doze.
However, when I examine battery usage, I see that it is only in "deep doze" for about 50% of the time and there are wakeup events which I assume are the doze "maintenance windows".
I have xposed and root.
Is there an app or tweak I can use to force it to goto "deep" doze when I turn the screen off and prevent any maintenance windows while the screen is off?
I realize I can just turn off the tablet, but I'm using it for a car nav device and don't wait to wait for it to boot up and settle down every time.