[Q] Is there a way to disable deep sleep in ICS Passion? - Vibrant Q&A, Help & Troubleshooting

I use my phone's gps for biking everyday. In ICS passion if the phone goes into deep sleep the GPS stops working until reboot. If I'm not biking my phone is generally plugged in and I have a second battery so is there a simple way to just keep the phone from going into deep sleep so I don't have to reboot when I'm ready to use the GPS?

you can use setcpu and configure screen off profile in it.

If Im not mistaken so long as the phone is plugged in it wont go into deep sleep. I may be wrong though.

I tried setting a profile for screen off to 200Mhz but it still deep sleeps.
As far as leaving it plugged in... I believe I saw it deep sleep still but I'll need to double check that as I'm not sure.
Thanks for the suggestions so far.

You could try Wake Lock PowerManager:
https://market.android.com/details?id=eu.thedarken.wl
Never used it so I don't know how well it works and I'm not sure it works on ICS but it might be worth a try.

No go.
The phone does deep sleep when plugged in and the Wake Lock app didn't help. :/

I have read through tons of pages in the DEV section on this ROM. There is an updated kernel for that ROM that alot of peolple said fixed their GPS issue. Start on the last page and work backwards and you should find the link.

gmn1972 said:
I have read through tons of pages in the DEV section on this ROM. There is an updated kernel for that ROM that alot of peolple said fixed their GPS issue. Start on the last page and work backwards and you should find the link.
Click to expand...
Click to collapse
that kernel (3.1.9) and going into settings>location services>uncheck all location services (using 3g, wifi, etc to determine location) as those will break your gps forcing you to have to reboot to reset the gps.
method that worked for me to make sure of it, is have gps off, uncheck the google location services, reboot phone, turn on gps, profit.
use your gps and get a reading, allow your phone to hit deep sleep, then try your gps again and you should have no problem.

megatherian said:
I use my phone's gps for biking everyday. In ICS passion if the phone goes into deep sleep the GPS stops working until reboot. If I'm not biking my phone is generally plugged in and I have a second battery so is there a simple way to just keep the phone from going into deep sleep so I don't have to reboot when I'm ready to use the GPS?
Click to expand...
Click to collapse
You can also try NStools app under CPU tab set min frequency to 200 and set governor to performance. Then go to settings tab and check set on boot.

Related

[Q] Wifi connection gets disabled on sleep...

I have a GTab runn Vegan 5.1 and it runs great. The one issue that I have is that my Wifi gets disabled each night when it goes to sleep. When I say "disabled" I do not mean this it disconnect, but rather that something is actually putting it into a "Disabled" state and I must select the connection and choose to enable it.
Does anyone have any thoughts on what could be doing this? I have dug through every setting I can think of and also looked at any apps that might be doing this. I even went so far as to remove all my battery saving apps, but no dice.
Any suggestions?
kmclaren said:
I have a GTab runn Vegan 5.1 and it runs great. The one issue that I have is that my Wifi gets disabled each night when it goes to sleep. When I say "disabled" I do not mean this it disconnect, but rather that something is actually putting it into a "Disabled" state and I must select the connection and choose to enable it.
Does anyone have any thoughts on what could be doing this? I have dug through every setting I can think of and also looked at any apps that might be doing this. I even went so far as to remove all my battery saving apps, but no dice.
Any suggestions?
Click to expand...
Click to collapse
Settings - Wireless - Wireless Settings - (Press Soft Menu Button, you will see Scan and Advanced buttons popup) - Advanced - Wifi Sleep Policy - Never
Still getting Wifi disabled...
MasterColdSoul said:
Settings - Wireless - Wireless Settings - (Press Soft Menu Button, you will see Scan and Advanced buttons popup) - Advanced - Wifi Sleep Policy - Never
Click to expand...
Click to collapse
Have the sleep policy set at never and this does not change anything. From what I understand this setting will disconnect wifi when the device goes to sleep. In my case the connection is not disconnected but rather completely disabled. So it seems that there is some other thing disabling the connection.
So, to give a bit more info here, I have installed wifi keep alive to try and save the connection. This keeps the wifi from being disabled when it is plugged in, but it still gets disabled when it sleeps and is also unplugged. (I.e. on battery and sleeping)
So, I am starting to think that the setting that fixes the problem while pluggedin is settings / applications / development / stay awake. I have this turned on and it seems that with stay awake and the wifi keep alive I am good when plugged in.
So, does anyone have thoughts for a similar setting when on battery power?
I can't help to much with battery power since I almost always have mine plugged in.
It's odd that not helping you, once I made that chance I stopped having my Wifi turn itself off (not sleep, off, and the tablet would need to be reset a lot).
Sorry that wasn't much help.
Having this problem as well. Anyone know how to fix?
If you notice other weird stuff happening in the future you may need to repartition your internal memory. Mine started with similar flubs and progressed to never remembering logins online. I had to login to xda every time I turned my device back on. Keep this in mind, about 30% of people need to reformat.
Sent from my Chromatic Magic using XDA Premium App
"WiFi stay alive" will help you!
Mantara said:
If you notice other weird stuff happening in the future you may need to repartition your internal memory. Mine started with similar flubs and progressed to never remembering logins online. I had to login to xda every time I turned my device back on. Keep this in mind, about 30% of people need to reformat.
Sent from my Chromatic Magic using XDA Premium App
Click to expand...
Click to collapse
can you give some info as to how one would go about doing this?
For what its worth, might help to set a fixed IP address. I often got a problem with Wifi not being able to reconnect because it got stuck on "getting an IP address" and failed to do so. I seem to remember it disabled the connexion to that AP after too many tries on my Nexus One.
On my g tablet, I was having what seemed to be the same problem, so I did the same thing and it seems stable since. Granted I didn't toy with it as much as I did on the N1, but I wouldn't be supprised if it were a general Android problem.
Anyways, its free to try.
The wireless uses a lot of power. When the tablet "sleeps", it should go into a power saving mode. Disabling the wireless is a feature, not a bug.
Either way how can I keep the wifi signal on so when i wake my g tab up the wifi is ready to go and does not have to reconnect?
anyone have anything to help with this?
I am not sure, but it seems to me that downloaded apps can play with wifi this way, as long as they have rights to "access internet, modify and bla-bla-bla".
I am having same problem after sleep. And it was not present from the beginning. It may starts after I upload some app. I will play with this after coming back home.
yes please let us know thank you!
wasserkapf said:
The wireless uses a lot of power. When the tablet "sleeps", it should go into a power saving mode. Disabling the wireless is a feature, not a bug.
Click to expand...
Click to collapse
When my tablet is plugged in and it goes to sleep, the Wifi also disconnects, so I don't think this is a feature any more than the screen angle issue is a "privacy feature." I've never had an Android device that powered down connectivity when the screen goes off, that totally negates the notification features. You basically have a comatose tablet after a few minutes of the screen being off.
I don't think the Xoom or Galaxy Tab have this problem, so there's definitely an issue. Sadly, I might be sending mine back to TigerDirect as faulty because of this.
I have this problem too. As others have said, the problem isnt that the wifi turns off when the tablet sleeps. The problem is the last connected access point gets disabled so when you wake, you have to go into settings and tell it to connect again.
In my case, it happens most of the time, but not always. My Android phone doesnt have this problem.
I did a factory reset, then used nvFlash to restore, and then did a fresh install of Vegan (thought it did the same on every other 2.2 ROM I tried). I didn't install any apps, and the problem still occurs. Tried using Wifi Fixer, and the problem still occurs (though on the bright side, it does reconnect about 10 seconds or so after waking).
I'm out of ideas. I hate to send this thing back because it's the most fun piece of tech I've had in years, but a comatose Android device is a dealbreaker Going to try a GB ROM, and then I give up.
I've got the same kind of issue. I lose my PSA key in my wireless settings every time and have to re-enter it.
I installed the Vegan GB ROM (along with pershoot's kernel), and the wifi stays on if you choose "Never" for wifi sleep (you have to hit the menu button and choose "Advanced" when you're in the wifi settings). Only problem is, the GB ROMs, while zippy, are a little raw right now, and my Launcher Pro GMail widget doesn't work
I'm going to try one of the 2.2 ROMs again today along with pershoot's Froyo kernel to see if it makes a difference.
Ok, YMMV, but I am using Calkukin's ROM with pershoot's kernel (was using Clemsyn's before), with wifi set to never sleep, and my wifi doesn't sleep any more. I left my phone and tab here at work while I went out for lunch (felt naked ...), and came back about 45 mins later, woke the tab, and wifi was still connected, without that "looks connected, oh the icon is now disconnected, oh it's back again!" bit.
I still receive notifications and email, and widgets update. Guess I'm keeping it

[Q] How to set WiFi to never sleep?

Hello,
I've been using VEGAn 5.1.1 w/ Pershoot's kernel 26.32.32 for about a week now and today the WiFi started to not come back from sleep.
I've seen on other threads to set WiFi to never sleep. How do you do this? When I go to "Settings->Wireless & Networks->Wi-Fi Settings" there is no option to never sleep. Is this somewhere else or is there some other way/application needed to access the setting?
Also, does this (WiFi/sleep) work any better with Clemsyn's kernel?
Thanks,
Joe
When you go to the Wifi Settings screen, press menu. Then "Advanced". There you can adjust your Wi-Fi sleep policy.
Unfortunately, in my experience, setting it to never sleep doesn't really seem to make a difference. The tab will always go into a deep sleep, and the Wifi will go to sleep along with it. Someone suggested Load Monitor as a way to keep the Tab from going into that deep sleep, and so far that's worked for me. I just went out for about 3 hours, came home, woke the tab, and the Wifi was still active. At 10:32 I got an alert that new stories were added to Pulse, and my Tab had been inactive for about 2 hours at that point.
Update: Woke up this morning without touching the Tab, stumbled to my computer and sent a Chrome to Phone link. About a minute or so later, my Tab made the notification sound (it's usually immediate, but not always with CtP). So it would appear the Wifi stayed awake using Load Monitor. This was with the Tab plugged in, gonna try it unplugged tonight.
debh945 said:
When you go to the Wifi Settings screen, press menu. Then "Advanced". There you can adjust your Wi-Fi sleep policy.
Click to expand...
Click to collapse
Ah, there it is, thank you debh945!
It's strange; I had to reboot 4 or 5 times yesterday do the WiFi going out during sleep. Even just the screen going off for a minute did it once so I don't think it was deep sleep.
This morning it woke right up fine. But it had been plugged in charging over night. I guess if it was easy it would be fixed.
Thanks again,
Joe

My archos's battery spends very fast

I keep it on sleep mode and the next day may battery is fully spended can anyway tell me why or how to prevent this?
Thats a known problem (just in the newest firmware)
I would install Urukdroid
No it is not.
in 100% of the cases an App is holding the Archos from going into deep sleep.
Just check that wifi can sleep, no Sync is on, mail, facebook or other inet apps are not holding connections.
I usually just keep it in Airplane mode, and only turn on the WiFi when I need it. This has helped with the power use problem.
I tried setting it to deep sleep, but I found that it would invariably crash when asleep (or when waking up--I don't know which).
I just turn my wifi off and put mine into Deep Sleep. I can leave it for days and the battery only drains a few percent (usually ~1-3% per day).
Some app must be waking your device, and causing the drain.
Installing UrukDroid is not the answer to all problems. I know some people here seem to think so, but there are bugs there too.
I'm not trying to knock UrukDroid at all, or the work that Sauron has done, but just switching your OS is not the best answer.

[Q] The wifi problem has come back

I just started having the old wifi problem. I wiped the device, reinstalled CM7 with CWM, and its come back, th wifi settings freeze up, and i cant get a IP address or connection via wifi.
are u restoring the settings using any apps ?
Same. Just all of a sudden, my wife and my tp just stopped connecting to the wifi. Laptop and phone connect fine. Can't be a coincidence? Tried resetting wifi...tried going to airplane mode. Next step I guess is to reflash.
cks4131 said:
Same. Just all of a sudden, my wife and my tp just stopped connecting to the wifi. Laptop and phone connect fine. Can't be a coincidence? Tried resetting wifi...tried going to airplane mode. Next step I guess is to reflash.
Click to expand...
Click to collapse
did you try to go into WiFi settings, "forget" current WiFi, turn WiFi off,wait a few secs' then turn WiFi back on. Once the WiFi connection is recognized you type in your WiFi key and it should connect again. Happens most of the time on mine in cm7.
derausgewanderte said:
did you try to go into WiFi settings, "forget" current WiFi, turn WiFi off,wait a few secs' then turn WiFi back on. Once the WiFi connection is recognized you type in your WiFi key and it should connect again. Happens most of the time on mine in cm7.
Click to expand...
Click to collapse
I have the same problem, and I have to perform the fix action you described to get the WiFi back up and running.
I use Regpon from the market.
Never had any WiFi issues.
I have wifi problems, if I boot into webos and then back to cm7.
"Forgetting" the current wifi ist the best solution and works till a next boot into webos, so I stopped booting into WebOs.
No need for an app like regpon, they keep the wifi all time connected and disbale deep sleep, too battery intensive.
I'm using Tasker to turn Wifi off/on then my display turns off and on, because default powersaving options don't work.
Try This:
Settings - Applications - Development - Device Hostname
Change it to something shorter and simpler like Touchpad or something
perpe said:
I have wifi problems, if I boot into webos and then back to cm7.
"Forgetting" the current wifi ist the best solution and works till a next boot into webos, so I stopped booting into WebOs.
No need for an app like regpon, they keep the wifi all time connected and disbale deep sleep, too battery intensive.
I'm using Tasker to turn Wifi off/on then my display turns off and on, because default powersaving options don't work.
Click to expand...
Click to collapse
I think you are missing the point.
Regpon avoids deep sleep thus keeping WiFi on AND avoiding deep sleep SODs meaning no toggling or switching of any kind, at least for me.
I don't see any appreciable battery trade-off either.
pa49 said:
I think you are missing the point.
Regpon avoids deep sleep thus keeping WiFi on AND avoiding deep sleep SODs meaning no toggling or switching of any kind, at least for me.
I don't see any appreciable battery trade-off either.
Click to expand...
Click to collapse
You're right, if you have SoDs, but if not why avoiding deep sleep? I don't have any.
Surely I can let wifi all time on, but have no reason to waste my battery.
pa49 said:
I think you are missing the point.
Regpon avoids deep sleep thus keeping WiFi on AND avoiding deep sleep SODs meaning no toggling or switching of any kind, at least for me.
I don't see any appreciable battery trade-off either.
Click to expand...
Click to collapse
once wifi is on it stays on here, doesn't go down on sleep either. it's only when I boot that I have to do the forget excersize to get it back.
---------- Post added at 03:25 PM ---------- Previous post was at 03:25 PM ----------
KaliKot said:
Try This:
Settings - Applications - Development - Device Hostname
Change it to something shorter and simpler like Touchpad or something
Click to expand...
Click to collapse
yep, I tried every suggestion in the book, none of them helped so far.

[TIPS] Fix That Weird Battery Drain On Any ROM {M/N/O/....Z}

Hi guys, this is not the thread where you'll find fancy kernel tweaks to improve battery. I'll share a few little things I personally follow that considerably improved battery life for me. You don't even need root
If you use any other battery saving placebo like greenify or wakelock blocker, then you're on your own. I don't recommend these
Follow each of these steps -
1. Turn OFF pocket detection, screensaver and ambient display.
(AD is upto your preference, doesn't drain battery much)
2. Set location to device only mode.
(DE mode uses GPS satellites and gives enough accuracy, high accuracy mode keeps bluetooth and wifi scanning on, draining battery)
3. Turn location permission off for google app.
(drains alot of battery)
If possible disable location for every app except maps and google play services.
(tracks your device when it's lost)
4. Go to location settings, scanning and check whether bluetooth and wifi scanning are off, if not, turn them off.
5. Go to battery, performance and turn off automatic optimization.
6. Most important step, reboot your phone after doing all this.
That's it guys, try this and report Suggestions are welcome
Good Tips.
Very nice
impulsar said:
Hi guys, this is not the thread where you'll find fancy kernel tweaks to improve battery. I'll share a few little things I personally follow that considerably improved battery life for me. You don't even need root
Follow these steps -
1. Turn OFF pocket detection, screensaver and ambient display(AD is upto your preference, doesn't drain battery much).
2. Set location to device only mode (DE mode uses GPS satellites and gives enough accuracy to catch a thief:laugh:, high accuracy mode keeps bluetooth and wifi scanning on, draining battery).
3. Turn location permission off for google app (drains alot of battery). If possible disable location for every app except maps and google play services (tracks your device when it's lost).
4. Go to location settings, scanning and check whether bluetooth and wifi scanning are off, if not, turn them off.
5. Go to battery, performance and turn off automatic optimization.
6. Most important step, reboot your phone.
That's it guys, try this and report
I MIGHT have missed some points, I'll add them if there are any. Suggestions are welcome
Click to expand...
Click to collapse
I have done all these except 6 point (once per day). Plus I have installed greenify. But still battery drain in most of the ROMs. Even if I won't use my phone, the battery is draining fast. I have turned location off (always)
arceuss said:
I have done all these except 6 point (once per day). Plus I have installed greenify. But still battery drain in most of the ROMs. Even if I won't use my phone, the battery is draining fast. I have turned location off (always)
Click to expand...
Click to collapse
Don't use any addon, just follow those tips and report
impulsar said:
Don't use any addon, just follow those tips and report
Click to expand...
Click to collapse
Before greenify, it was like 5% drain per 10 minutes even if I won't use phone
arceuss said:
Before greenify, it was like 5% drain per 10 minutes even if I won't use phone
Click to expand...
Click to collapse
Just try that bud
actually the thing is that kernel is not proper for any ROMs for which there is a battery drain...
changing kernels will be battery saving because of CPU tweaks running always in the background even if the device's screen is off...
use greenify in magisk for more if you dont want to tweak with your kernel...
do this and tell if your battery drain is solved... also follow these steps above.. they are mandatory as well...
it doesnot work well for resurrection remix ROMs... i have tried... maybe fixed by change in kernel tweaks...
For some weird reason my device doesnt go deep sleep anymore. The battery graph use to to be flat but now therea a slight steep when i am asleep. I still do my usual habit of turn of wifi, turn off location, turn of sync, turn off scanning for bluetooth and wifi, turn off locatiom history. I am on stuart's los 14.1. this started to happen two days ago. You know the best app to troubleshoot?screen and lineageos system and android is on top of battery stats when checking after waking up overnight.i have no addon or other tweaks. Not even greenify because battery graph overnight is flat before.
amnher said:
For some weird reason my device doesnt go deep sleep anymore. The battery graph use to to be flat but now therea a slight steep when i am asleep. I still do my usual habit of turn of wifi, turn off location, turn of sync, turn off scanning for bluetooth and wifi, turn off locatiom history. I am on stuart's los 14.1. this started to happen two days ago. You know the best app to troubleshoot?screen and lineageos system and android is on top of battery stats when checking after waking up overnight.i have no addon or other tweaks. Not even greenify because battery graph overnight is flat before.
Click to expand...
Click to collapse
Where I can see you're doing wrong is turning things on and off. The steps mentioned in thread do not break a single thing. Keep location as device only mode forever (no on off required).
Just follow those steps for atleast one cycle and report
impulsar said:
Where I can see you're doing wrong is turning things on and off. The steps mentioned in thread do not break a single thing. Keep location as device only mode forever (no on off required).
Just follow those steps for atleast one cycle and report
Click to expand...
Click to collapse
Ill try. Ive been doing this for a long time since teammex releases builds. And since the first build of stuart got no problem up to the second build.by the way i am.only turning on location once in awhile if i need navigation. Only wifi and data connection is frequently turned off and on. The rest is off 90% of the time
amnher said:
Ill try. Ive been doing this for a long time since teammex releases builds. And since the first build of stuart got no problem up to the second build.by the way i am.only turning on location once in awhile if i need navigation. Only wifi and data connection is frequently turned off and on. The rest is off 90% of the time
Click to expand...
Click to collapse
I'm on the latest build of Stuart and I still have no problem, easily getting more than 9 hours sot without compromising anything
Battery drain issue
Any one having a battery drain problem ........Go to magisk( if not installed plz find the tread and do it)....Then download Enable Doze ..... Optimize Google play services and Google app and see if it is fixed......Worked for me
Very nice practical advice. However, greenify is not a fancy placebo. Together with Leandroid, and only following no.1 and 4 of your guide, battery almost doesnt drain at all on my snapdragon Xiaomi when idle. For my MTk xiaomis, I have to flash the drain fix in addition to get the same results as the snapdragon variants.
Anyway, good advise.

Categories

Resources