Automatically turning off mobile data when screen goes off - Verizon HTC 10 Questions & Answers

I have rooted HTC 10 on Marshmallow 6.0.1 and have Xposed Framework installed with the module Smart Network which is supposed to do this, but it does not work, apparently because whenever turning off data, a popup message appears which you can only manually turn off. Does anybody know of a way to disable the popup message or know of any other way to automatically turn off data when the screen goes off, and then have the data turn on when the screen turns back on?

FYI, using Tasker and the plugin AutoInput, I figured it out. I was also able to create an app using Tasker App Factory.

Related

[Q]Screen waking by itself?

My screen periodically wakes by itself (to the lockscreen). It doesn't seem to be the trackpad because I can't purposely reproduce the wake by sliding my finger over it or lightly tapping it. It seems to be internal. There are no notifications present after the wake. The phone shouldn't wake due to background processes, sync, signal search, etc. I'm rooted and on stock recovery. I do run SetCPU but that shouldn't wake the phone. What's going on?
I did a factory reset but installed backed up apps using TB and the problem still exists. I may have to do a reset without installing backups if this keeps happening.
Does anyone have any real insight into what could be happening?
Could be an app downloading, or maybe somthing thats constantly updating. Try turn that "refresh" toggle off, its on the power control widget. Then turn screen off and see if the problem persists. Also make sure have your security setting set up right. Make sure the phone locks IMMEDIATELY after you turn the screen off.
Sent from my HTC Glacier using XDA App
Tallyphillips said:
Could be an app downloading, or maybe somthing thats constantly updating. Try turn that "refresh" toggle off, its on the power control widget. Then turn screen off and see if the problem persists. Also make sure have your security setting set up right. Make sure the phone locks IMMEDIATELY after you turn the screen off.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
All my installed apps are set NOT to auto-update through the market so nothing would be downloading. If by "refresh" you are referring to the sync toggle, that shouldn't wake the phone. Sync doesn't wake. If it did, our phones would all be popping on randomly all the time. Security set up right? I don't use any security. Just the standard lockscreen. The phone locks when I push the power button. It just comes on sometimes without any other input. It's not waking to the homescreen. The screen is just waking to the lockscreen and will time out and shut off again by itself.
I'm suspecting either Titanium or DoubleTwist are acting funky.

Hibernation

Well, I tried almost everything.
I'm using a rom which have Hibernation active by default, but there is no option to turn it off. I searched in a lot of forums, but I found nothing. And I didn't get the answer from the developer.
The problem is: when the screen turns off, my wi-fi gets disconnected: because of that i cannot leave instant messaging programs in the background, like Nimbuzz or Skype.
Is there a way to fix that?
Thanks.
I'm on cm7 If I go to menu-wireless & networks then press the menu softkey and select advanced there's a setting for wifi sleep policy to turn it off.
Sent from my HTC Wildfire using xda premium
Have you tried taking the battery out and putting it back in? That would turn your phone off.

[Q] Auto Wifi-off during sleep?

Is there a setting (or standalone app), that will turn off wifi after a set amount of time after the screen goes off? I know the stock system had much worse battery life if wifi was kept on, and I'm assuming the same with CM7?
Yes I know I can just turn it off manually, but I'd rather it just turn itself off after say five minutes of me pressing the power button or it turning the screen off itself, then restart wifi when I turn it back on.
Thanks
The app Wifi Keep Alive can keep it on, or turn off when screen turns off unless plugged in. But it doesn't have a timer feature.
You don't need an app to turn off wifi when the screen is off with CM7. Just go into menu/ settings/ wireless & network/ wifi settings/ press menu/ advanced/ and then change the wifi sleep policy to whichever setting you'd like.
On the stock rom wifi will turn off when the screen turns off. I think it is actually annoying.

Screen turn on when messages received and home button turn on screen disable

Hi all
Is there any way to disable messages to turn on screen ?
And is there any way of disable the home button waking the phone ?
I am rooted. Thanks in advance
Sent from my GT-I9505 using xda app-developers app
For the home button waking phone issue, see this thread in this forum from yesterday:
http://forum.xda-developers.com/showthread.php?t=2266545
I'm not as worried about the Home key, but I have the same complaint about receiving SMS.
When I receive a text message, my screen turns on for a few seconds, then turns off again. Is there a way to stop this?
If I touch the screen when it is on, it takes me into whatever I touched, and the screen stays on. That is particularly a problem when it turns on while in my pocket.
My phone is set to have no lock screen (and unless you use a PIN or similar, I don't know why you would want a lock screen - it's just one more step to get to using your phone).
My Messaging app is set to show notifications in the notification bar and play a sound and vibrate, but not to show a message preview.
So, I think it's actually a bug that the screen would turn on at all, just from receiving an SMS or MMS message.
Am I missing something? Is there a way to stop this behavior?

help with screen rotation and WiFi

Hey! So I recently purchased an Axon 7 and I am so far really enjoying the device. I have just one problem and its starting to annoy me.
Whenever I am viewing something in landscape mode, and I disable auto rotation because I don't want it to switch back to portrait, it automatically switches me into portrait mode when I turn off auto rotation.
Any idea on how I can fix this? Thanks.
I also have another question regarding the WiFi.
Whenever I unlock my phone and go into an app, eg: YouTube, it shows no internet connection. I go into settings app and I'm getting full bars, but under my network name it says "Connected, no internet".
Message goes away after a few seconds and WiFi starts working again.
any help? Also, the arrows near the WiFi icon are always blinking and everything seems to load slowly as if the WiFi needs to reconnect. I've already checked the advanced settings in WiFi and WiFi is set to always be on during sleep.
thanks

Categories

Resources