Remove Sleep mode - Android Q&A, Help & Troubleshooting

Is it possible to complitely remove sleep mode (or stand by, i don't know difference) from phone using Android? Even if I press lock key, just to show lock screen but not be on sleep mode (or stand by, i don't know difference)??

irfankr91 said:
Is it possible to complitely remove sleep mode (or stand by, i don't know difference) from phone using Android? Even if I press lock key, just to show lock screen but not be on sleep mode (or stand by, i don't know difference)??
Click to expand...
Click to collapse
yes you can edit build pro I think but don't know exactly
or simply use any app search in play store
by the way why you want to do that what is the benefit

Related

[Q] Multitasking / screen off / facts & fiction

Does anyone know or could point me toward information about how to impact the multi tasking in Android.
The problem is:
- Somehow 'screen off' event is linked with the activation of 'deep sleep'. Now that's all nice and well but it's interrupting downloads and stopping appplications (try it with dolphin browser during a download, try turn off your screen with angry birds on, etc)
- Multitasking seems random: you can download market apps, move to angry birds, and play while it downloads, but you can't play angry birds, move to market app, and go back where you were in angry birds (it will restart the whole game).
Can anyone clarify the above? Thank you.
Turning the screen of will send the phone into deep sleep unless something is holding a wakelock, downloads should hold one till they finish, and if they are not, it's a bug.
As far as multitasking goes, yes it does seem random, and very much depends how the application was coded to deal with it, it seems that ICS will deal with this by adding a dedicated multitasking button.
Android will kill background inactive tasks as and when needed, but again it depends if the app was designed to hold its state in the background or dump out. And in low memory situations, which we shouldn't really get on the sgs2 it will start aggressively killing stuff in the background.
Sent from my GT-I9100 using xda premium
Do you have the setting "wifi off when display is off" ? That could disturb/stop download I guess..
Thank you. The reason of course is that I'm trying to use the phone as a 'mini computer' and on your pc you can off course turn off the screen while downloading files and doing some background processing.
The solution for me so far is to accept that the screen must be on when doing anything that takes time, so I have it set to never turn the screen off while charging, and have a widget that takes brightness down to 0% in a single click.
I suppose I just have to accept that the phone will eventually be outdated and the screen would die long after that - so 'using' the screen is not that big a deal.
cigaro78 said:
Thank you. The reason of course is that I'm trying to use the phone as a 'mini computer' and on your pc you can off course turn off the screen while downloading files and doing some background processing.
The solution for me so far is to accept that the screen must be on when doing anything that takes time, so I have it set to never turn the screen off while charging, and have a widget that takes brightness down to 0% in a single click.
I suppose I just have to accept that the phone will eventually be outdated and the screen would die long after that - so 'using' the screen is not that big a deal.
Click to expand...
Click to collapse
How do you set screen always on when charging? Can't seem to find this option.
O and O said:
How do you set screen always on when charging? Can't seem to find this option.
Click to expand...
Click to collapse
Amusingly they hid it under 'settings > applications > development > stay awake'
cigaro78 said:
Amusingly they hid it under 'settings > applications > development > stay awake'
Click to expand...
Click to collapse
No luck there is no such item.
Sent from my GT-I9100 using XDA App
O and O said:
No luck there is no such item.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Really? What ROM are you using? I'm on Cog 1.5. I *thought* it was a stock option, maybe it's a ROM specific one.
cigaro78 said:
Thank you. The reason of course is that I'm trying to use the phone as a 'mini computer' and on your pc you can off course turn off the screen while downloading files and doing some background processing.
The solution for me so far is to accept that the screen must be on when doing anything that takes time, so I have it set to never turn the screen off while charging, and have a widget that takes brightness down to 0% in a single click.
I suppose I just have to accept that the phone will eventually be outdated and the screen would die long after that - so 'using' the screen is not that big a deal.
Click to expand...
Click to collapse
I have actually been happy that with my device, I can actually start a download, using either stock or opera browser (haven't tried others) and not have to keep the screen on and have the download finish. Not only for screen timeout, but actually pressing the button to turn it off. With windows mobile 6.x, pressing the sleep button killed data, and only push mail or scheduled things (usually/hopefully) would "wakelock" the phone enough to receive something. It worked very poorly.
I honestly think you have a bug somewhere, because you should not have to leave the screen on for long periods of time just to let a download finish.

Three Questions.

1) When going to unlock my phone using the screen pattern, I've noticed that recently the screen rotates. As far as I remember, it has always been in portrait which is the easiest way to quickly unlock -- rather than waiting for it to rotate from landscape back to portrait so i get the pattern correct.
2) Every time I answer my phone it goes automatically to loudspeaker. I keep forgetting and I'll end up deaf. This is very annoying!
3) Sometimes I'll be playing a game or whatever and 'car mode enabled' (something like that) will appear. I click to deactivate it but I didn't actually do anything to activate it in the first place. Why does this keep happening?
Sounds to me (noobie) like it's constantly in car mode or something. How can I turn this off? It doesn't say anything in the notification bar about it.
Thank you.
It sounds like moisture in the microUSB connector. It has a known problem of putting the phone into Car Mode - calls are via loudspeaker.
I would do a Search on here about Car Mode problems. I think a bit of DW40 resolves the issue.
b33p_ said:
1) When going to unlock my phone using the screen pattern, I've noticed that recently the screen rotates. As far as I remember, it has always been in portrait which is the easiest way to quickly unlock -- rather than waiting for it to rotate from landscape back to portrait so i get the pattern correct.
2) Every time I answer my phone it goes automatically to loudspeaker. I keep forgetting and I'll end up deaf. This is very annoying!
3) Sometimes I'll be playing a game or whatever and 'car mode enabled' (something like that) will appear. I click to deactivate it but I didn't actually do anything to activate it in the first place. Why does this keep happening?
Sounds to me (noobie) like it's constantly in car mode or something. How can I turn this off? It doesn't say anything in the notification bar about it.
Thank you.
Click to expand...
Click to collapse
what firmware are you running on the phone?
It should not default to loudspeaker unless car mode is running, check setting phone to make sure that there is nothing is running that shouldn't.
If there is nothing turned on, then it you may have problem with your hardware.
What type of game are you playing, It sounds like during the game there maybe an extra button being pressed by accident.
Cosmic Blue said:
what firmware are you running on the phone?
It should not default to loudspeaker unless car mode is running, check setting phone to make sure that there is nothing is running that shouldn't.
If there is nothing turned on, then it you may have problem with your hardware.
What type of game are you playing, It sounds like during the game there maybe an extra button being pressed by accident.
Click to expand...
Click to collapse
See the attached pic.
Where do I look to see if it's in car mode or not? When it switches on there is usually a notification and I can deactivate it from there -- but the notification bar is empty and there are no unusual icons.
The game is called WordFeud, it's like scrabble.
Thanks for your help.
I searched the forum and can't find how to check car mode.
in another forum (androidpit) i found a hint to try "Dock No-Op" with this "car-mode-problem" :
https://market.android.com/details?id=com.megagram.docknoop
i dont know if it helps
Moreover you can also try out this:
1) factory reset (wipe all?)
2) flash original firmware!
3) take out the battery for an hour or two
4) power on
5) check if all is ok now
if yes:
6) flash whatever you want
raziel19 said:
in another forum (androidpit) i found a hint to try "Dock No-Op" with this "car-mode-problem" :
https://market.android.com/details?id=com.megagram.docknoop
i dont know if it helps
Moreover you can also try out this:
1) factory reset (wipe all?)
2) flash original firmware!
3) take out the battery for an hour or two
4) power on
5) check if all is ok now
if yes:
6) flash whatever you want
Click to expand...
Click to collapse
I'll try that app today. I won't be happy if I have to factory reset Thanks.
That app didn't do anything unfortunately
b33p_ said:
I searched the forum and can't find how to check car mode.
Click to expand...
Click to collapse
go to voice program in your apps the one by vilango, it has a car mode toggle.
it will let you see if it is on or off.

time phone locks after screen off

something has been annoying me for a while, I noticed playing around when I first got ICS an option to extend the period the phone locks itself when you switch off the screen, or if the screen goes off while you're still reading it, you can just press the button without having to go through the unlock slider menu.
Now my phone seems to be on the mode 'lock the phone as soon as screen off' and I can't for the life of me figure out where the option to change it is, I have looked in EVERY settings menu.
please tell me how where this option is because its something that is really bugging me!
thanks
Settings>security...
Sent from my LT26i
in that menu, the options I have are, screen lock, owner info, sim card lock, make passwords visable, device admins, unknown sources,trusted credentials, install from internal storage and clear credentials...no option to change lock time ?
adsada arc said:
something has been annoying me for a while, I noticed playing around when I first got ICS an option to extend the period the phone locks itself when you switch off the screen, or if the screen goes off while you're still reading it, you can just press the button without having to go through the unlock slider menu.
Now my phone seems to be on the mode 'lock the phone as soon as screen off' and I can't for the life of me figure out where the option to change it is, I have looked in EVERY settings menu.
please tell me how where this option is because its something that is really bugging me!
thanks
Click to expand...
Click to collapse
Hi am going to presume you are on a stock ICS ROM. This happens on stock ROM's if you are using any type of the screen security features. Try them all, you will notice it auto locks after even seconds of sleep. Taking off any of these features and waking your phone back up, your phone resumes as to where you left it. To my knowledge you need a custom ROM to amend the time it takes for the phone to assume it's lock. Im guessing there is a patch or something out there that can add this option though.
yeah I am, and you're right that option becomes available when I select pattern unlock, but is not available with the stock slide to unlock. How would I go about adding this option then?
adsada arc said:
yeah I am, and you're right that option becomes available when I select pattern unlock, but is not available with the stock slide to unlock. How would I go about adding this option then?
Click to expand...
Click to collapse
Just about to hit the hay, so i can't find a solution right now but i know that Miui ROM has the option you're looking for. Allows you to set whether the phone locks when sleeping or stays on your current activity whilst sleeping :good:
the problem is I'm on a locked bootloader any way of adding a patch to add the option without changing the rom?
appreciate the help
adsada arc said:
the problem is I'm on a locked bootloader any way of adding a patch to add the option without changing the rom?
appreciate the help
Click to expand...
Click to collapse
That's not a problem for MIUI :silly: it works on both locked and unlocked. Thank me later :good:

[Tasker] "Tasface": Flick-your-wrist shows watchface!

As many of you may know, for newer version of TS (at least for 4th List, May version devices), it's NOT possible to flick your wrist to show watch face since the Accelerator is DISABLED whenever screen is OFF!!!
What an oversight! A smart watch needs you to push a button to see time? What if when you are driving or have both hand full and cannot spare even a finger!?
(My Pebble, on the contrast, works great here!)
I tried to force the screen always on with watch face, it's great, except it kills my battery in around 6 hrs (airplane mode!) Not acceptable!
Thus, Here comes "Tasface". With this, you could achieve:
1. Let TS shows you time WHENEVER you LOOK at the watch! (well, actually when the watch is face up) or when you flick your wrist (You can modify this!)
2. Reduce using your button (if you have an Shortcut supported launcher like Smart Launcher 2)
DISCLAIMER: I will not be responsible if Tasface broke/brick your TS in anyway! Since Tasface is only a set of Tasker profiles/Tasks you can read everything before decide go or not! Tasface DO mess around with system files!
Pre-requests:
===============
1. Your TS must be ROOTED!
2. You need to know Tasker basics! (It's not THAT difficult to use Tasker...)
3. Tasker (Obviously)
4. Watchface by Kurt Huwig (I didn't test other watchface app. May not work with stock lock watchface) https://play.google.com/store/apps/details?id=de.huwig.watchfaces
5. Secure Settings (Required) https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
6. Smart Launcher 2 (Optional, any Launchers supports Shortcut will work. With this you can activate Watch face without using button!) https://play.google.com/store/apps/details?id=ginlemon.flowerfree
Set-up
========
1. Have Tasker (required), Watchface (required), Secure Setting (don't forget to install system helper) and Smart Launcher 2 (Optional) installed. DO NOT IMPORT "Tasface" yet!
2. Disable your stock lock watchface: Go to Setting/Personal & Account/Security/Screen lock/None (<-- This IS IMPORTANT)
3. Launch Watchface by Kurt Huwig, than double tap on any watchface to enter setup
  a. check "Keep screen on"
  b. Select desired watchface from "Lockscreen face"
  c. Recommended to disable all other options
4. Check if the Watchface work or not by turn off than turn on your TS by press the upper physical button. You should see the Watchface you selected shows up when screen on. Swipe to return to your launcher and launch Tasker.
5. Unrar and import Tasface into Tasker
6. Close Tasker
7. Turn off --> Turn on your TS with the upper button
8. Profit!
Notes
=======
1. When watchface is displayed:
  a. Touch screen is DISABLED to avoid accidental touch.
  b. Screen will be OFF after 8 seconds (you can setup your prefer time)
  c. Touch screen lock is achieved by putting a transparent Tasker Scene element on top of the Watchface. A small "X" on bottom right screen is used to reactivate the touch screen. You can also push the lower right button (back) to reactive your touch screen.
2. To show watchface (after automatic screen off as Step 1)
  a. Just face the watchface up. The watchface should appear for another 8 seconds
  b. There maybe a 1~2 second delay. This is due to Tasker not detecting the Watchface up event. I cannot do anything about this....
  c. You could change the watchface up to anything else, like "Sensor shake/Backware-Forward"
3. If you have "Smart Launcher 2" or any other launcher supports Shortcut, you can set a icon to task "Lock". With this TS will activate watchface WITHOUT touch physical button. (I heard horrible stories about broken button so want to avoid use them as much as possible!) It's normal the screen will off for 2 second than back on with watchface for 8 seconds!
4. You must wait for automatic screen off or use the "Lock" shortcut to turn off the screen! Tasface will NOT work if you turn off TS by pressing the upper right physical button. This DISABLE the accelerator as mentioned above. To reactive Tasface, just turn on TS by pressing the upper right physical button to show the watchface than wait for automatic screen off.
I wrote this primarily for myself so a there are a lot of bugs. You are free to modify it and make it better. Just let me know if you have any questions and need help or improvement here!
Thanks button is just a click away if I helped you!
Update the attached file to resolve some bugs and improve responseness
Technical stuff -- What is done here?
=================================
It's a bit technical here .... No need to read if you don't care how it works!
Since TS turns off the accelerator whenever screen off, so it's not possible to activate the screen once it's off by external conditions. (You can still set a timer to wake the screen, but it's meaningless)
Thus we need to disable the power hungry backlight while keep the screen on!
I found out that it's possible to control the backlight by doing
Code:
echo 0 > /sys/class/leds/lcd-backlight/brightness
Thus, I set up a Task profile which fires whenever Watchface is activated and TS is face up, to activate the backlight then turn off the backlight again after 8 seconds, but KEEP the TS screen wake! (Only backlight is turned off to save battery!)
Code:
echo 1 > /sys/class/leds/lcd-backlight/brightness
You can change "1" to anything from 1~255. I just found 1 bright enough for me
Since screen/system is always wake, to avoid accidental touch, a transparent Tasker Scene on top of the screen is add to disable the touch screen. A small "X" is on the bottom right to disable this transparent scene if anything goes wrong. (And it does, Tasker is laggy sometimes and too slow to remove this scene automatically!)
I also lower down the CPU cycle to the lowest possible to further saving battery. CPU returns to normal frequency when leaving watch face (into launcher, etc...)
That's all! Folks!
Reserved
Shake
I was able to use application Shake from ADL Dev (com.adl.appshaker) to switch screen on with shake/twist of wrist. You just have to enable "activate when screen off" option - and it is little battery hungry.
Of course I have version 20140513.
I also strongly suspect, that you can force sensors to work when face is off, by switching into "Sports mode" (Run Settings->SMART MODE->Sports Mode)
Piw said:
I was able to use application Shake from ADL Dev (com.adl.appshaker) to switch screen on with shake/twist of wrist. You just have to enable "activate when screen off" option - and it is little battery hungry.
Of course I have version 20140513.
I also strongly suspect, that you can force sensors to work when face is off, by switching into "Sports mode" (Run Settings->SMART MODE->Sports Mode)
Click to expand...
Click to collapse
Thanks for the advice.... I just think since I already have Tasker on my TS, I want to find a way to not to use additional SW which always runs in background to monitor things... Since its battery hungry, maybe Shake also use the same trick as me......
As for Smart mode settings, I tried bdefore but none of them work for flick wrist to wake up... Maybe I missed something?
Sent from my HTC_One_max using XDA Premium HD app
might give this a shot since shake was waking up watch at wrong times and was destroying battery life, and i already have tasker on the watch and running so hopefully that will avoid the battery loss that shake had.
lssong99 said:
As for Smart mode settings, I tried bdefore but none of them work for flick wrist to wake up... Maybe I missed something?
Click to expand...
Click to collapse
I was just guessing, because it suppose to leave GPS and accelerometer working with screen off, to enable sport trackers and pedometers.
If it works? - I haven't tested yet...
Piw said:
I was just guessing, because it suppose to leave GPS and accelerometer working with screen off, to enable sport trackers and pedometers.
If it works? - I haven't tested yet...
Click to expand...
Click to collapse
Wow! It seems you are right! The watch DOES allow sensor to work on Sport mode after screen off, but the response from Tasker become very sluggish when screen-off!
I made a simple profile to detect shake action (if shake than beep), and when screen on, the watch beep in less than one second after shake began, but when screen-off (sport mode), It took Takers 5~6 seconds of continuous shaking to detect the shake event. Not very practical for a watch solution...
With my Backlight solution, although sometimes still hiccup happens, but my feeling is about 90% of time the watchface wakeup correctly...
tasker problems
lssong99 said:
Wow! It seems you are right! The watch DOES allow sensor to work on Sport mode after screen off, but the response from Tasker become very sluggish when screen-off!
I made a simple profile to detect shake action (if shake than beep), and when screen on, the watch beep in less than one second after shake began, but when screen-off (sport mode), It took Takers 5~6 seconds of continuous shaking to detect the shake event. Not very practical for a watch solution...
With my Backlight solution, although sometimes still hiccup happens, but my feeling is about 90% of time the watchface wakeup correctly...
Click to expand...
Click to collapse
i can not import to tasker tasker do not see it
pashka79 said:
i can not import to tasker tasker do not see it
Click to expand...
Click to collapse
Do you mean the Tasker cannot see the prj file?
For how to import project, you could check http://tasker.dinglisch.net/userguide/en/faqs/faq-how.html#q
and you need to put the unrared file (.xml) in /sdcard/tasker/projects for Tasker to see it...
How much does this cost in battery? If I don't use my watch I can get about 4 days out of it.... I know Shake stops the TS going into deep sleep, won't this do the same and annihilate battery??
death_entry said:
How much does this cost in battery? If I don't use my watch I can get about 4 days out of it.... I know Shake stops the TS going into deep sleep, won't this do the same and annihilate battery??
Click to expand...
Click to collapse
Don't know for tasker but I'm using shake app from market and I even I thought it'll drain my battery very fast - it didn't...
It's almost like I don't have it...
My battery can't hold on more then 24hours but I really use my watch and it's constantly connected to wifi and BT.
Sent from my C6903 using Tapatalk
funky0308 said:
Don't know for tasker but I'm using shake app from market and I even I thought it'll drain my battery very fast - it didn't...
It's almost like I don't have it...
My battery can't hold on more then 24hours but I really use my watch and it's constantly connected to wifi and BT.
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Ah that's prolly why you don't notice it running down... what do you use your watch for? Tbh i haven't used it for more than a watch lol/...
death_entry said:
Ah that's prolly why you don't notice it running down... what do you use your watch for? Tbh i haven't used it for more than a watch lol/...
Click to expand...
Click to collapse
Well as I have Z1, which is quite big, I'm using TS mainly to receive notifications (using swapplink).
I'm receiving many emails (I'm using Z1 as my business phone) so it's great that I can see on my TS subject of email and decide what will I do.
I have sim card in TS and I use it all the time, when I'm alone in a car (and that's 6 hours per day )
I found TS quite practical for companion
BTW...from today, I'm using this app to help me save my battery power on TS and Z1
http://forum.xda-developers.com/showthread.php?p=53078670
Sent from my C6903 using Tapatalk
lssong99 said:
Do you mean the Tasker cannot see the prj file?
For how to import project, you could check http://tasker.dinglisch.net/userguide/en/faqs/faq-how.html#q
and you need to put the unrared file (.xml) in /sdcard/tasker/projects for Tasker to see it...
Click to expand...
Click to collapse
I tried this and Tasker can't see the xml on my TS
Here's a workaround for those having issues seeing the xml file in Tasker
Using a file manager, navigate to the location of the xml file
"Open with.." and choose Tasker
You will then see a toast notificaiton saying "...can be opened in Tasker" (or something like that)
Open Tasker -> Preferences -> UI -> Untick "Beginner Mode"
Back to main Tasker screen
In the HOME icon (bottom left) -> Long press, and choose "Import", then look for the XML file, wherever you put it
Boom
Note: Make sure you have the correct app from the Play Store, and not from the Ostore (same app, different names)
death_entry said:
How much does this cost in battery? If I don't use my watch I can get about 4 days out of it.... I know Shake stops the TS going into deep sleep, won't this do the same and annihilate battery??
Click to expand...
Click to collapse
I am afraid that this will have an impact your battery. Basically to make TS responsive (light up as soon as you raise your hand), the screen/CPU is kept wake. Only LED backlight is disabled.
Although in my implement I put the CPU is slowest frequency and sleep Governor, but battery is around one day usage without radio on....
We need kernel tweak of this to achieve good battery life... Tasker is only... Tasker...
jeremy.chan said:
Here's a workaround for those having issues seeing the xml file in Tasker
Using a file manager, navigate to the location of the xml file
"Open with.." and choose Tasker
You will then see a toast notificaiton saying "...can be opened in Tasker" (or something like that)
Open Tasker -> Preferences -> UI -> Untick "Beginner Mode"
Back to main Tasker screen
In the HOME icon (bottom left) -> Long press, and choose "Import", then look for the XML file, wherever you put it
Boom
Note: Make sure you have the correct app from the Play Store, and not from the Ostore (same app, different names)
Click to expand...
Click to collapse
Thanks I see it now.
put the unzip file at that location and still Tasker cannot see it?
Hi do read the solution I provided
Tapa-ed from the Sony Z Ultra

Cant wake up system services

I greenified extended standby mode which is supposed to run sony's stamina mode. Though i later degreenified extended standby mode, i cannot find a way to wake it up. Even after reboot it doenst wake up and because of that the stamina mode doesnt turn on. Is there anyway to wake up extended standy mode ??
The.Vishal.Singh said:
I greenified extended standby mode which is supposed to run sony's stamina mode. Though i later degreenified extended standby mode, i cannot find a way to wake it up. Even after reboot it doenst wake up and because of that the stamina mode doesnt turn on. Is there anyway to wake up extended standy mode ??
Click to expand...
Click to collapse
I don't know particularly about extended standby mode, but if you greenify an app and subsequently highlight it, you get an icon with a play symbol on top of the screen. Tapping it will run the app. After that you can highlight it again and then degreenify it.
So greenify extended standby mode again and try.
I already tried that.... When i click on the play icon it tells that the app has no launcher entry
The.Vishal.Singh said:
I already tried that.... When i click on the play icon it tells that the app has no launcher entry
Click to expand...
Click to collapse
Then may be only restoring a nandroid will help you.

Categories

Resources