Why isn't there any power off sleep timer app? - General Questions and Answers

Hello,
I've looked in the market and on in Internet and I couldn't fine an app that allows you to switch off the phone with a timer. They all allow you to stop music, wifi, connections etc when you go to sleep...but no one actually turns off the device.
So this made me think, is this a limitation of Android itself?

Related

[APP] Tasker

I use Tasker for automating a lot of redundant tasks on my phone. I figured I would post a couple I'm using with hope that others will share with me some stuff they use it for.
action: Docked.
Tasks done when docked: Bluetooth on, wifi off, gps on, auto brightness set off [if time < 1800, Display Brightness set to 255 if time < 1800, pandora set on.
exit tasks: Bluetooth off, auto brightness on if TIME < 1800, pandora set off, gps off.
Action open Application Maps/Nav or any gps app.
Tasks done: GPS on
exit tasks done: GPS off.
action: phone face down
Tasks done: airplane mode on if time < 2200, all sounds off except for alarm
exit tasks: airplane mode off, all sounds revert to previous settings.
these 3 i use, if you have any others let me know. If you need help with the program let me know too.
here is where you can grab tasker.
http://tasker.dinglisch.net/
Sounds something that I would definitly use. I beleive its a paid app, but still worth it. I'll look into it. Does it have settings for wifi e.g.- 1 touch WIFI on, because i'm using the stock wifi on/of toggle but I then have to go into wifi settings and actually see my phone connecting to my network in order for i to work and turn on.... ??????
Yeah there are settings for connecting to wifi. Mine does it automatically when I get home based on the gps. Works most of the time, had to turn it on manually a couple times because the gps wasn't on.
generic.imitation said:
Action open Application Maps/Nav or any gps app.
Tasks done: GPS on
exit tasks done: GPS off.
Click to expand...
Click to collapse
How do you set up an OR for the app launch context? I'm trying to get it to turn on GPS when I open Maps, Foursquare, Yelp, or Places, but it doesn't let me multi-select apps and if I add a context, Application isn't there.
Make it separate tasks.
make 1 for each app.
Foursquare - turn on gps. Turn off gps when exit.
Ect.
also, I guess there is a wiki with a bunch of samples I guess. I'm out at a remote beach on northern oahu right now, but if someone doesn't post it before me I'll post the link when I get home.
generic.imitation said:
Make it separate tasks.
make 1 for each app.
Click to expand...
Click to collapse
Yeah, that's what I've been doing. It'd just be nice if you could have conditionals in the context. IF Yelp OR Foursquare OR Maps OR Places then ...
Post over there and make a feature request, they should put that in I agree .
Just bought Tasker and so far I like it. Can't seem to figure out how to do the following task though.
I need to set to static IP when on a certain wifi connection. I already have the IP set and the only thing that will need to be done is to toggle the static IP checkbox in the advanced setting of wifi. I know how to specify the wifi network but how can I make it toggle that checkbox/setting?
Thanks for any info.
i made a simple widget to toggle the screen brightness to two preset brightens for inside and direct sunlight.
i could not find an app that let me choose the brightness, they either made it full dark/bright.
i can't work out however to toggle a different widget icon to indicate on/off...
i've tried set icon but with no luck
its not really needed but would be good to have/know for future apps
also, can anyone explain how the HTTP (get info from net) works?
i want to try a few things but not really sure how it works
This app is the best app on the market... hands down. #Win
generic.imitation said:
Yeah there are settings for connecting to wifi. Mine does it automatically when I get home based on the gps. Works most of the time, had to turn it on manually a couple times because the gps wasn't on.
Click to expand...
Click to collapse
You should use "wifi near" as a condition instead of "gps". That way it just toggles you wifi on and off periodically and if it is near... it will connect.
Gps is so demanding on the battery... and not always accurate... as you see
I set mine up so whenever I plug in my headphones my music app opens
Sent from my DROIDX using XDA App
ichigopow said:
I set mine up so whenever I plug in my headphones my music app opens
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
I set my heaphones the same.. but at the same time, it cuts my media volume up (in case it was down) and when I unplug them... it returns my media volume back to it's previous value
MrDanger said:
I set my heaphones the same.. but at the same time, it cuts my media volume up (in case it was down) and when I unplug them... it returns my media volume back to it's previous value
Click to expand...
Click to collapse
I do the same except my volume goes down when I plug them in so I don't have music blaring in my ears.
Sent from my DROIDX using XDA App
I also have a profile that texts my gf a random message at a random time that is between 7:30 am and 7:40 am (so she don't think it's automated lol) every morning. I got that idea from LexusBrian
Again.. great app!
Here was I have got going on with tasker.
Car dock: gps on, bluetooth on, display always on, notification volume off. On exit they all do the opposite.
When home: wifi on. Exit wifi goes off.
At work: phone goes to vibrate for everything.
10pm to 545am: phone goes quiet.
I second it a best app ever. Wifi, gps, and bluetooth are never on when I don't need em. Come on you can't beat that. What a battery saver.
Sent from my DROIDX using XDA App
Tasker is an incredibly handy utility.
Here's the profiles I use:
GPSonForLocationApps - I think this one has already been covered by this thread.
WifiOnAtHome - I use the wifi near option... although I think it's causing issues with my 3G signal... it will occasionally turn on wifi to check if I'm at home which seems to turn off 3G. Still playing with this one.
LowVolumeDuringWorkHours - sets various volumes appropriately so I can still hear stuff but doesn't annoy folks working near by. I turn this on/off based on day of week and time of day. Upon exiting this profile it returns my volumes back to normal.
NoficationsOffAtNight - I turn off notifications at night and if my phone is plugged into AC.
SilentForMeetings - if I have a calendar entry where I'm marked as busy it turns my phone to silent mode.
Openwatch?
Hello
I am new to Tasker, and I'm starting to understand exactly how much you can do. Uses open watch a lot and have done a lot of settings to make my clock better. But I wonder if I can get messages from one app to my watch. The app is an ice hockey results service. And each time it becomes a goal, I get it as income message in the status bar. But can I get the message in the clock at the same time? Right now I just get a message in the watch which I've written, but would like it says in the status bar so you do not I pick up the phone to look at the result. Is there perhaps a few codes to enter, instead of my message is? Hope you understand me?
I have mine set to enable WiFi when I connect to a certain cell tower. Keeps the drain on my batter to nothing more than it was already at, and GPS is only enabled for about 5 minutes to and from the house. I'm sure the drain for that combined 10 minutes is much less than periodically checking the GPS or if a network is near.
I am turning off gps when I get to my home cell tower and turning on my wifi at the same time.
For my multimedia apps like pandora, I have my screen stay on when plugged to a power source.
Sent from my DROIDX using Tapatalk

[APP] Tasker Profiles

Didn't see a thread for this so I thought i'd start one.
Anyone use this app to automate? Been using it for a few weeks and love it.
Here are some of the profiles I've created/been using.
- Headset = when inserted, pop up a menu of apps. When removed, kill said apps and mute media volume
- Calender = silent the phone when I am in a meeting (entry = busy)
- Work = Turn down all volume/notifications while i'm at work (730-400, M-F)
- Home = When home, turn on WiFi. When i leave, turn it off
- Power = when charging, pop up a menu for which power mode: night, charge, USB, or Car. Perform tasks depending on which mode is used
- Movies = when at the movie theater, silent completely. Turn volume on when I leave
- Night = Turn on Airplane mode when sleeping, on every 15 minutes to sync in data
Anyone else have any good profiles to share??
I turn on GPS when "My Tracks" is launched...
I created a Task to turn GPS on and then launch Navigation. Then I added a shortcut to that Task w/ the Navigation to icon...
I turn my phone to vibrate when I'm near work networks...
Silence my phone and turn off data-sync from midnight-7.
I've been trying to make a profile that will shut off my WiFi when I go out of range and disconnect, but I can't get it to work properly.
I really don't know why Android will let you keep you WiFi on when you're not connected for an extended period of time.
Tasker
I use a few.
1] Kill 3G, launch wifi when at work or home. Autoconnect.
2] Set security flag when NOT at work or at home
3] If security flag is OFF, PIN is OFF on device boot.
4] On receipt of SMS, play a longish sound so I can find it.
5] If I can't find it, different SMS turns off WiFi, turns on GPS and 3G, waits for GPS, and responds to me with location via SMS. Also engages high volume setting.
6] If I don't like where it is, yet another SMS will initiate a lock sequence. This silences all alerts, sets the security flag on, and times out the screen. Then, wakes the device up with a message with my email and a nice request to return, sends me the GPS location again via SMS, and begins to popup a lock screen via Tasker every six seconds. The lock screen can be bypassed, but on reboot the device will require a PIN to access as the security flag will be set.
Now, you might say- why not use a task killer or uninstall it? I thought about that. If i'm not at home or work (within 50meters) all programs that are capable of installing, uninstalling, modding, or killing are PIN locked. NICE!
heliotropeUCSD said:
I use a few.
1] Kill 3G, launch wifi when at work or home. Autoconnect.
2] Set security flag when NOT at work or at home
3] If security flag is OFF, PIN is OFF on device boot.
4] On receipt of SMS, play a longish sound so I can find it.
5] If I can't find it, different SMS turns off WiFi, turns on GPS and 3G, waits for GPS, and responds to me with location via SMS. Also engages high volume setting.
6] If I don't like where it is, yet another SMS will initiate a lock sequence. This silences all alerts, sets the security flag on, and times out the screen. Then, wakes the device up with a message with my email and a nice request to return, sends me the GPS location again via SMS, and begins to popup a lock screen via Tasker every six seconds. The lock screen can be bypassed, but on reboot the device will require a PIN to access as the security flag will be set.
Now, you might say- why not use a task killer or uninstall it? I thought about that. If i'm not at home or work (within 50meters) all programs that are capable of installing, uninstalling, modding, or killing are PIN locked. NICE!
Click to expand...
Click to collapse
I like the security flag and locking. Great idea. I'm going to have to try and set that one up.
Currently I,
1. Turn on WiFi at home and off when I leave.
2. Turn off email checking at 11pm and back on at 5am
3. Turn on GPS when Maps is opened.
4. Launch Sirius when headset is plugged in (the only time I use the "headset" is an aux cable into my car stereo.
rmoney said:
I've been trying to make a profile that will shut off my WiFi when I go out of range and disconnect, but I can't get it to work properly.
I really don't know why Android will let you keep you WiFi on when you're not connected for an extended period of time.
Click to expand...
Click to collapse
you can either use the 'wifi near' profile, or use gps as a location and turn on/off wifi based on that location.
i prefer the gps. the time between checks can be set in tasker as well. I really don't notice the battery kill and keep wifi/gps on while i'm at home...off at work
hope it helps!
MMBosstones86 said:
you can either use the 'wifi near' profile, or use gps as a location and turn on/off wifi based on that location.
i prefer the gps. the time between checks can be set in tasker as well. I really don't notice the battery kill and keep wifi/gps on while i'm at home...off at work
hope it helps!
Click to expand...
Click to collapse
About how long do you have between GPS checks, so that I'll have a rough estimate of what doesn't kill the battery too fast?
Θmega said:
About how long do you have between GPS checks, so that I'll have a rough estimate of what doesn't kill the battery too fast?
Click to expand...
Click to collapse
pretty sure i have it to whatever tasker defaults as. Maybe a minute or two longer. GPS doesn't touch the battery unless its working (you see the satellite). Give it a shot and see how it works. If you don't like it, it can be changed easily
MMBosstones86 said:
you can either use the 'wifi near' profile, or use gps as a location and turn on/off wifi based on that location.
i prefer the gps. the time between checks can be set in tasker as well. I really don't notice the battery kill and keep wifi/gps on while i'm at home...off at work
hope it helps!
Click to expand...
Click to collapse
Yeah I was trying not to use gps, don't care about connecting to WiFi, just don't want it to still be polling for a signal when I forget to turn it off.
rmoney said:
Yeah I was trying not to use gps, don't care about connecting to WiFi, just don't want it to still be polling for a signal when I forget to turn it off.
Click to expand...
Click to collapse
if you use wifi near, it'll turn on wifi to check every few minutes.
gps is set to poll 2 minutes when the screen is on, 10 minutes when screen is off. I find no problems with it on the battery
I know, but I'm not near WiFi often enough to bother connecting. I just want it so that the occasional time I do connect that when I forget to turn it off when I leave the area it doesn't stay on for the next hour till I notice.
heliotropeUCSD said:
5] If I can't find it, different SMS turns off WiFi, turns on GPS and 3G, waits for GPS, and responds to me with location via SMS. Also engages high volume setting.
6] If I don't like where it is, yet another SMS will initiate a lock sequence. This silences all alerts, sets the security flag on, and times out the screen. Then, wakes the device up with a message with my email and a nice request to return, sends me the GPS location again via SMS, and begins to popup a lock screen via Tasker every six seconds. The lock screen can be bypassed, but on reboot the device will require a PIN to access as the security flag will be set.
Click to expand...
Click to collapse
I'm not sure how to set this up. Could you please explain how you did this?
Thanks!
I have a bunch... we need to figure out how to share the code for these...
Quiet night: Silent, wifi off, sets a variable that i am in sleepmode
Sleep mode emergency calls - if sleepmode is no, turns it off and lets it ring only on calls from certain numbers
Meeting silent: silent mode when I am in meetings
Face down silent: ****s it up if i turn it face down
Low battery: notifies me, turnjs off wifi and gps, drops brightness, switches to vibrate
Home: turn off gps, turn on wifi
No Keyguard: turns off keyguard and leaves on display when plugged in
Work: wifi off (security at work), drops volume on everything,
@mianthropic777 - something to note on your low battery profile. Vibrate actually uses much more energy than audible ringers. Might want to switch that one up
rmoney said:
I know, but I'm not near WiFi often enough to bother connecting. I just want it so that the occasional time I do connect that when I forget to turn it off when I leave the area it doesn't stay on for the next hour till I notice.
Click to expand...
Click to collapse
I made a profile to turn wifi off one minute after the phone sleeps. It's an event so the wifi will not turn itself back on. I also made a widget to disable it incase I'm using the wifi to download a file.
how do you make a profile that silences and responds to sms's at movies?
I mean how does it know when you are at a theater?
Can you make a widget to turn this mode on with a touch of the widget?
Thanks
You could easily make a widget to do this for you, or you could set a gps location for your theater to do it automatically.
I've got a few that haven't been mentioned:
- When connected to my home wifi network, keyguard pattern is disabled
- Whenever I answer an incoming call, in-call volume automatically set to 1 (I have some loud obnoxious friends)
- When phone placed face down, switches to vibrate mode and gives me a single short vibrate to confirm. Also screen timeout switched to 7 seconds (shortest possible). Exit task (when phone flipped back up) reverts to whatever ring mode it was in, and gives 2 short vibrates to confirm
- When I launch Pandora, media volume automatically set to 1
Solomente said:
I've got a few that haven't been mentioned:
- When connected to my home wifi network, keyguard pattern is disabled
Click to expand...
Click to collapse
It says keyguard pattern is not available for my phone, why?
(yes I have an Incredible)
I have it set to turn in airplane mode while im in school (high school 8-3) and check for messages every thirty minutes.
Saves the hell out of my battery. I leave around 6:30 in the morning and get home around 7:30 at night...usually have about 40% when I get home.
Sent from my Rooted Froyo Incredible using Tapatalk

[Q] New app to switch on/off automatically your phone

Hi all.
I would like to know if there is an app to switch on/off your windows phone automatically. I miss it when i changed from Blackberry to WP. For example i often forget to switch off my phone at night so this app would be very useful for me.
Thanks
ilboy said:
Hi all.
I would like to know if there is an app to switch on/off your windows phone automatically. I miss it when i changed from Blackberry to WP. For example i often forget to switch off my phone at night so this app would be very useful for me.
Thanks
Click to expand...
Click to collapse
I guess it is not a problem to write the aplication witch is able to turn of your phone. But how the hell could aplication turn ON the phone back, if it is tourtned off. For example try to turn on your PC with some kind of application. I guess you get the point.
Of course i get it, even if i'm not a developer. It would be great to have just an auto-switching off app. However, don't know how, blackberry has got it.
I would be really pleased if someone wrote this app to switch off the phone.
thanks again
I actually don't think blackberries turn off completely until the battery is either completely dead or removed. I know when a blackberry is "off" it still has the ability to turn back on when an alarm is going off so I would assume that it just goes into a low power standby state. However, when you turn off Windows Phone, it's off.
This should be posted @ [email protected] section.
I didn't do that because i must write 10 post before writing in that section
Actually, my PC will turn on at a given time, but I don't believe these phones can do the same. Also, if it does turn off at a certain time, you would not be able to have it plugged into a charger. When WP is plugged in, it automatically turns on. I believe that's a hardware design.
Reboot App Perhaps???
I DONT KNOW ABOUT A SHUT DOWN APP BUT HERE IS A REBOOT... PRE-MANGO
If you have pre-Mango (pre-7712+) you can use the attached .xap, its an app that was developed by someone here at the forums... I changed the icon for the start screen but that is all...
For shutdown, just hold the pwr button at this time... sorry... jejeje
I think what he's looking for (as I am) is a version of Phone Alarm or Pocket Phone Zen. They automatically turn things like WIFI, BT, Phone, etc. on or off at preset times. PA can also do that when plugged into a charger so BT will turn on when the phone's in the car holder for hands free. I haven't been able find anything in the Marketplace.
For restart phone on Mango try that app: http://forum.xda-developers.com/showthread.php?t=1333740
I use for shut off/on power button.
In Blackberry when you press the power button off it does not get really turned off. Its in sleep mode which actually just closes the user state but the kernel keeps ticking and thats the reason any app in background hooked to kernel can turn it on which is actually waking it up from sleep.
Moreover in sleep mode everything used to get shut off i.e call it airplane mode. So if somebody can make a WP app which can just turn on and turn off the airplane mode, it should work for you.
Have a look at Phone Alarm for WM 6.x It is able to do so much more. Things I would like to see in an app for WP7 are:
scheduled on/off of WIFI, BT, phone, GPS, data connection.
scheduled sync of email at longer intervals like every 6 hours (WP7 max is 2 -not everyone has a data flatrate.)
Scheduled and location based volume adjustment. (quiet at home, loud in the car, etc.)
BT, GPS auto-on if charging ("Car" profile if charging, see next point)
Profiles that can be changed with one click. (for example "Meeting" profile turns off sound, reduces display brightness, turns off WIFI, turns on BT etc.)
doesn't have to be cost free but does need to be bug free
Cheers

Spotify stop the play when screen turn off [SOLVED]

Hi guys!
Recently had a problem with spotify, which every time the screen turned off the app stop playing music, returning, when turn on the screen.
I solved it that way:
Pressed the app icon, went to the app info> mobile data> will have two settings to enable there:
- Allow background data usage (usually on);
- Allow unrestricted data usage (disabled, i enabled and resolved the issue).
Another way to solve this is to turn off the power save mode, as doing so will automatically enable the "Allow unrestricted data use" option.
Hope this helps.
jmbdamata said:
Hi guys!
Recently had a problem with spotify, which every time the screen turned off the app stop playing music, returning, when turn on the screen.
I solved it that way:
Pressed the app icon, went to the app info> mobile data> will have two settings to enable there:
- Allow background data usage (usually on);
- Allow unrestricted data usage (disabled, i enabled and resolved the issue).
Another way to solve this is to turn off the power save mode, as doing so will automatically enable the "Allow unrestricted data use" option.
Hope this helps.
Click to expand...
Click to collapse
If you dont have premium (to be able to download playlists) you need background data.
I had it in sleeping apps and i had the same issue, so when doze was kicking in, i had too issues.
I'm about to root mine because I got a spotify malware app off someone's bluetooth. Infected my computer and my other phone too. So look out for that! My phone legit stopped my 2018 truck stereo from warning me about seatbelts ect ect....
Wødën said:
I'm about to root mine because I got a spotify malware app off someone's bluetooth. Infected my computer and my other phone too. So look out for that! My phone legit stopped my 2018 truck stereo from warning me about seatbelts ect ect....
Click to expand...
Click to collapse
Maybe you got a "Spotify malware app" when you were looking for a modded apk with free premium?

Pixel 4a Android 11 - stop killing/pausing background app ?

Hi all,
I have a Pixel 4a with stock Android 11 (up to date, no root, with Nova Launcher).
I have a rowing machine that comes with an app (ErgData, by concept2) that can connect to the machine via bluetooth or via usb cable: while rowing the app logs the workout data (like pace, heart rate etc).
I wanted to do the following: watch a video while the ErgData app logs my workout, so I started ErgData, connected it to the rower, configured the workout and, once ready to start rowing, I switch to the video player and start rowing.
It worked fine a bunch of times, but one day it stopped working: at the end of the workout (like after 20-30min), when I switch back to ErgData the app is in its default screen (like the one you get at startup) and it has logged nothing. When connecting via bluetooth, the app has also lost the connection to the rower. When connecting via usb the connection is there but the app has still logged nothing.
Things I've done:
disable battery optimization for ErgData, Bluetooth and Bluetooth MIDI
disable adaptive battery
use a different media player (android built-in, VLC)
uninstall / reinstall ErgData
clear Bluetooth storage/cache
disabled "Suspend Execution for Cached App" (developer mode)
No joy.
I tried a different app (ErgZone) and it has the same behavior.
I tried staying with ErgZone foreground for 3min before switching to the video player and in that case, ErgZone logged something, but not the totality of the workout.
So it really seems that somehow, when I switch to the video player, ErgData / ErgZone gets "paused" (killed ? cached ?).
Anything I can try ? Anything the app developers should do to prevent this ?
Thanks !
Sorry for the late response, I normally dont browse this forum. I am rooted and always have been, so all the solution I have used in the past are dependent on root. However, one idea to try is checking if the background app is killed while the phone is plugged into a charger? I know that being plugged in keeps the phone awake even when the screen is off.
HornetMaX said:
So it really seems that somehow, when I switch to the video player, ErgData / ErgZone gets "paused" (killed ? cached ?).
Anything I can try ? Anything the app developers should do to prevent this ?
Click to expand...
Click to collapse
Does the ErgData/Zone app start a persistent notification when recording? That's the way to keep a service running in the background. I had a phone with a tendency to kill anything not in the foreground, but it never killed active apps (including background with persistent notification).
If the app dies despite this, there may be a hint in the logcat. You have to enable developer mode to fetch that.
a1291762 said:
Does the ErgData/Zone app start a persistent notification when recording? That's the way to keep a service running in the background. I had a phone with a tendency to kill anything not in the foreground, but it never killed active apps (including background with persistent notification).
If the app dies despite this, there may be a hint in the logcat. You have to enable developer mode to fetch that.
Click to expand...
Click to collapse
No, ErgData/ErgZone do not have a persistent notification. Guess that's a potential solution then.
At the moment my workaround is to use the "pop-up" feature of VLC so that I have the video on top of the other app (ErgData/ErgZone), so that the other app stays foreground. That works, but it's not a real solution.
Hmm they gave me a beta version of the app with the persistent notification thingy and it works perfectly.

Categories

Resources