Ok, built a new app phone switcher (flight mode on/off) based on the cell tower location.
System automatically switches the phone OFF based on the time you set when you are at predefined location (Say Home). When you are at home, say from 10:00 PM to morning 6:00 AM no one can call your mobile. But if you are not at home, then phone is ON even at night. This also saves your battery life and privacy too.
It is working on Hermes, and I have tested it on WM5 emulators. Will NOT work on WM2003.
Please check the link to the application under my signature.
I have a question, can it only change to "vibrate" instead of turning off the phone? That would be more appropriate for me. Thanks for your answer
Nice App! How about changing call forwarding (when busy, no answer, etc...) baased on location?
If the phone could forward all calls automatically, or forward when you press "hang up" based on location it would safe battery and reduce radiation using the phone.
szturchen_pl said:
I have a question, can it only change to "vibrate" instead of turning off the phone? That would be more appropriate for me. Thanks for your answer
Click to expand...
Click to collapse
Nice Idea!, I will do my homework to find out what it takes to do that
ahlok_hk said:
Nice App! How about changing call forwarding (when busy, no answer, etc...) baased on location?
If the phone could forward all calls automatically, or forward when you press "hang up" based on location it would safe battery and reduce radiation using the phone.
Click to expand...
Click to collapse
Since the application do not keep polling for location, if it does not know the current location for some reason(reason = In the original post) then there might be problems such as wrongly 'forwarded' calls...
But its a great idea. I keep it in mind
past 21:00 hours
does not seem to work if you go past the apointed hour? radio stays connected
david.dupuis said:
does not seem to work if you go past the apointed hour? radio stays connected
Click to expand...
Click to collapse
Are you saying.. You were not at appointment time at sleeping location... And you came in late... and the phone does not turn off?
If so it is by design.. As i am not keep polling to find out the locaton. Just because then the application has to be running in the background or keep getting activated say for every 5 Minutes.
But let me know if you are saying the samething too.
not shutting off past sleep time
I think we're saying the same thing. Last night I installed the software set the home location and set the sleep time to 21:00 to 6:00. Actual time was 22:00. I expected it to shut down the radio and it did not.
Hi,
does not work for me
Install works fine, Test is OK, device went on Flight Mode and Back.
I set Sleep Location and Times and clicked Enable button.
When I want to save an error occurs lile: "InvalidCastException at Save. Please report this!"
The settings won't be saved then. I tried to manually edit the cnf file with
found cell values and True State, and saved this back to device, but when
time comes, nothing will happen.
I am on Schaps WM6 3.57a german and O2 Germany Provider.
What I was found out is, everytime I start the program it
randomly changes the location behind the dot.
Once it is xxxxx.8311 and the next time it is xxxxx.48311
May this be the culprit?
Any suggestions welcome bc I would really love this tool working
Olioaglio
david.dupuis said:
I think we're saying the same thing. Last night I installed the software set the home location and set the sleep time to 21:00 to 6:00. Actual time was 22:00. I expected it to shut down the radio and it did not.
Click to expand...
Click to collapse
OK for this i have to implement a constant polling mode.. Which i will do it for next release.
Olioaglio said:
Hi,
...The settings won't be saved then. I tried to manually edit the cnf file with
found cell values and True State, and saved this back to device, but when
time comes, nothing will happen.
...Once it is xxxxx.8311 and the next time it is xxxxx.48311
May this be the culprit?
Olioaglio
Click to expand...
Click to collapse
If you don't mind can you send me your cnf file?
Since your Location keep fluctuating... May be its failing to ON/Off
So when you are at home (Sleep Location) and if you keep refreshing the location (Button Refresh Location) you are getting diffent values?
Let me know
Something similar, sort of
I use Teog's CallFilter instead. What I like about it is that I can set the filter to only allow calls through from specific people. This way if there's an emergency in the middle of the night I'll get the call. It doesn't work on a schedule, you have to run it when you want it and disable it when you don't. But it is a simple app that runs with just a click after it's configured and has worked over several different operating systems. Would work well for meetings, movies, etc. too.
tytnguy said:
If you don't mind can you send me your cnf file?
Since your Location keep fluctuating... May be its failing to ON/Off
So when you are at home (Sleep Location) and if you keep refreshing the location (Button Refresh Location) you are getting diffent values?
Let me know
Click to expand...
Click to collapse
Check PM
Olioaglio
Hi tytnguy,
thanks for fast PM. You were abolutely right with the idea of interfering date format. I customized my HTC Home with the SDTe Override string (by HTCustom Proggie) to display the week day, which turned out to be the culprit that your prog did display the error message at Save.
So I deleted this in registry and the app now saves without a glitch. So I set the time (1 minute in the future) again and saved. When the time comes, the turning wheel appears, but nothing happens. I figured out, that the Status page says: "Out of location so NOT switching off the phone", so this is maybe, why the program starts but do not turn to flight mode as suggested.
Since I set the home location and did not even move a meter from this position I cannot imagine, why it does display I am not in the sleep location?!?! Any ideas
Olioaglio
edit: It WORKED now for the first time !!!! Great!!
Just wondering, what happens when I just do the phone in another room in my flat, where maybe it is in another broadcast cell....
Think, it won't work then!! Is it possible to create, let's say, kind of a radius, where the program activates??
So my sleep or home location is maybe a bit more then just one room or even my desk
edit 2: May it work, if I set the SDTe string to override again, after saving correctly? Or will the app then stop working again? Sorry for those dumb questions though.
Thanks anyway!!! Great program!!
tytnguy said:
OK for this i have to implement a constant polling mode.. Which i will do it for next release.
Click to expand...
Click to collapse
Would constant polling mode affect the battery drain significantly?
If yes, I would suggest a check box in your proggy to toggle this option on/off
Just my 2 cents
Olioaglio
Olioaglio said:
...what happens when I just do the phone in another room in my flat, where maybe it is in another broadcast cell....
May it work, if I set the SDTe string to override again, after saving correctly? Or will the app then stop working again? Sorry for those dumb questions though.
Click to expand...
Click to collapse
Olioaglio,
Can you set the home location from the other room?
If you change the date format to someother non standared format it will not work. Since program needs to keep saving the stuff on each try.
Update 1.0.1
Multiple location on the schedule: If you want to set more than one location as you 'Sleep Location' you can do it now. On the sleep location box bring the context menu up, and choose 'Append to location' now add the new location to the list. You can add any number of sleep locations!
Now if you were not at home at set time, system will keep polling based on the poll time you specify. So as soon as you reach home your phone will be switched off.
If you turned on your phone manually after the rk-Sleep set it to flight mode, then your phone remains on till next scheduled sleep session
Olioaglio said:
Would constant polling mode affect the battery drain significantly?
If yes, I would suggest a check box in your proggy to toggle this option on/off
Just my 2 cents
Olioaglio
Click to expand...
Click to collapse
Olioaglio,
No it should not make any significant affect on the battery.
I have programmed it to poll only on sleep time if you are not at home. But since I am not running the program in the background, it is ok.
The new update I release just keeping your problem in mind. So you go to both your rooms where you get different towers. Update both as your sleep location.
tytnguy said:
Olioaglio,
No it should not make any significant affect on the battery.
I have programmed it to poll only on sleep time if you are not at home. But since I am not running the program in the background, it is ok.
The new update I release just keeping your problem in mind. So you go to both your rooms where you get different towers. Update both as your sleep location.
Click to expand...
Click to collapse
Thanks, will monitor it...
Olioaglio
UPDATE:
OK, tested it now... Dude, the 1.0.1 really works like HELL!! I'm totally satisfied for now.
The Append function is very good thing, since I found 8 (!) different cell locations (about 3 with GSM and 4 with 3G) in my 3-room flat. They are always fluctuating even at the same place, so maybe this was the problem of the others, who tested the program with having only one location saved. But with the Append function AND the new Poll function (which also works great), it absolutely ROCKS!! Had no problem with several tests. Battery consumption with poll function really does NOT seem to be more than without poll.
Just some suggestions if you plan to make updated release. The Append function is not easy to find, I had to read your instructions three times to get it. Maybe you'll find another way. Also an extra tab with a list of all appended cells would be appreciated.
I would have another idea for an "extended" flight mode. Maybe you could add some checkboxes for Phone, Bluetooth, Wlan and Beam for - lets say - "Extended Flight Mode" options. So one could save even more battery as with just the phone function off. With the checkboxes you would have the choice what to turn off/on, when rk-Sleep will engage.
Best regards,
Olioaglio
tytnguy what about vibration mode? have you had time to check into that? Regards
Related
Do you know if it's possible avoid turn-off wireless in stand-by???
I'd like to use VoIP with my Artemis (with hand-free and wireless connection), but it's impossible becouse after 1 minute (my pda is set to turn-off after 1 minute) the phone goes in stand-by mode and plugs off the wireless antenna.
Can I set "Always on" to wireless connection???
as yet i failed to accomplish this. all i can do so far is turn off the monitor to save a bit power. not the same as standby mode at all though.
I've got this tweak from somewhere, I'm not sure (maybe wiki page):
"AUTO DISCONNECT WHEN GPRS IDLE
you can edit the registry key ...
HKey_Local_Machine/Comm/ConnMgr/Planner/Settings/CacheTime
Change from 600 to 60
it will disconnect after connection is idle for 60 seconds ...
There's also another key needed to be set. Otherwise, my PDA still has always on 3G data connection.
HKey_Local_Machine/Comm/ConnMgr/Planner/Settings/SuspendResume
Change from ~GPRS! - Always on
to GPRS_bye_if_device_off - switch off after timeout"
It may help if you make the changes THE OTHER WAY ROUND. For you the desired value in 'HKey_Local_Machine/Comm/ConnMgr/Planner/Settings/SuspendResume' is '~GPRS!' And the cache time value should be set to '0' (as infinite), if it doesn't work, set to a high value (i.e. 3600 - it means 1 hour).
I'm not sure it helps but it's worth to give it a try...
i guess he was talking about WLAN connection, not gprs or 3G. however, i might be wrong.
soardiac said:
i guess he was talking about WLAN connection, not gprs or 3G. however, i might be wrong.
Click to expand...
Click to collapse
You are right, sorry. I've just misunderstood the problem, paying not enough attention to the first post...
So the only way is disable auto sandby and swith-off screen?
I thought a way to solve this situation could be keeping active OS during VoIP connection, just to avoid standby...
Its not enabled for a very good reason, it consumes so much power your device would last just a few hours before running out of power.
dannyoneill said:
Its not enabled for a very good reason, it consumes so much power your device would last just a few hours before running out of power.
Click to expand...
Click to collapse
that is true. however, they could still give us the option
i think the real "problem" is that WLAN needs the OS running to work. the GSM unit is working differently.
Using S2U is a solution for me
Using S2U2 is the only solution for me.
vlad48 said:
Using S2U2 is the only solution for me.
Click to expand...
Click to collapse
It seems to be what I want, an application that avoid standby mode but preserve battery (setting lcd off, various device option off...)
I'll try it!
Thanks
Skype
I am not sure if this is still relevant, but in skype i think to have seen an option that says: "disable stand by mode when connected to Wlan" or something like that...
however of course the "batteryproblem" will still be there...
Please post your experiences with S2U2 once made, thanks!
Don't mean to "thread jack" but how can I tell the difference between the screen just being off and the phone being in standby mode?
I'm asking because I'm having a problem with my phone when I turn on Flight mode. Usually I turn on flight mode at night or in a meeting but I'm finding that the battery is still draining (rather quickly too) when I'm in flight mode and the device is off all night. If I'm at 40% batt level at 11:00pm and put the phone in Flight mode, by the morning about 6:30am, the battery is down to like 5%! And there are no programs running at all, screen is off, device is untouched all night. So when I saw this thread, I started to wonder if the phone was in really in standby or if the screen was just off.
Is S2U2 the option to keep the WLAN enabled when in standby mode?
I know i can disable going in to standby but would be nice if it can be done without this.
The power drain is most peoples concern but if i'm at work i have it plugged into the power anyway but would like to use one of the WLAN's here that isn't being monitored
Anyone here using it? what is this app for? is it worth buying? does it give u battery life? im really interested but i cant find no videos on it on youtube. please share your thoughts.
It is worth every penny. The best app for android IMO. It is not very easy to master it, but even the basic stuff has made a vast difference too the behavior of my phone.
For example, I have extended my battery life to 38 hours simply by having it automatically go into airplane mode between midnight and 6am.
It will turn off wifi, back screen brightness down, change screen timeout to 10 seconds and give me a notification popup and sound when my battery drops below 15%.
It will turn on gps when Wavesecure is activated, something Wavesecure can't do by itself.
It will turn my ringer off when I get within 200m of the two cinemas I go to.
It turns wifi on when I get home, and off when I leave. Same for work.
It loads my music app when I plug my headphones in.
Tasker can make widgets! I have one set up to (with one press from my home screen) turn up screen brightness, turn on gps, turn up speaker volume to max, wait 2 seconds, then launch google navigation. It will then turn everything back when I exit out of navigation.
It will, on weekdays, text my girlfriend at a certain part of my journey home after work. That way my dinner is ready when I get home!!!
I would say try out the free 1 week trial. There is even a wiki and web site with extensive instructions and examples uploaded by other users. You can also import profiles as well as create your own. The really handy ones I have exported to my sd card, and e-mailed them to a friend when he bought Tasker. Not sure I helped him though as there is a steep learning curve for this app, and it is worth being patient with it to learn its ways for yourself.
I think it is worth much much more than the asking price.
Sent from my HTC Desire using XDA App
wow sounds sooo nice . i already bought full version yesterday but havnt even opened the app once . well i did open it once it seems hard to understand lol . so for all this task does the gps need to be on? or not? and can u turn off 3g?
You can turn off APN, but don't think that works well in the UK. Sorry, my knowledge of 3g is limited.
Basically, you can have tasker turn on and off nearly any feature of your phone that your want. There are two sides to tasker. The "Profile" and the "Task".
I have found it is best to first set up the "task". Say you want to save battery power at night. Select the task button and select "new". Call it "power save" or something. Select the + symbol and select "Net". In this menu, pick "Airplane mode" and select to ' on'. Then hit ok, then save.
Now to create the 'Profile' where you define the contexts that will activate the "power save" task you just created.
Select 'new' then select the 'time' context. Enter the time you would like to have your phone go into airplane mode. After hitting 'ok' it will take you to the profile page where you set up what now happens between the times you just specified. From the drop-down at the to of the page, select the "power save" task you created earlier. Hit 'ok'.
Done. Your Tasker will now shut off all your radios between the times you entered.
Sent from my HTC Desire using XDA App
Worth every penny. I use it to:
- turn on GPS for programs that need it (turns back of when editing the program)
- turn notifications off when starting desk clock
- change volume when connecting head phones
There are endless possibilities, try it and then buy it.
i've bought it for little things but want it to be able to handle 3g data which it doesn't
i,e turn on wifi, if no conn after 10 secs, turn on 3g, auto sync for a min, then turn data off.
works fine and dandy with wifi, but not 3g.
tommo123 said:
i've bought it for little things but want it to be able to handle 3g data which it doesn't
i,e turn on wifi, if no conn after 10 secs, turn on 3g, auto sync for a min, then turn data off.
works fine and dandy with wifi, but not 3g.
Click to expand...
Click to collapse
You need APNDroid to disable 3G.
tasker really is worth every penny!
Wort every cent. Must have
I used to check periodically (every 3 minut) if my car Bluetooth near. If yes connect and and hold on the connection. If disconnect wait 15 minutes and seek again... save really battery... fantastic...
Sent from my HTC Desire using Tapatalk
Tyderion said:
You need APNDroid to disable 3G.
tasker really is worth every penny!
Click to expand...
Click to collapse
it still doesn't work. it turns apndroid on, but 3g flashes up then dissapears.
wnp_79 said:
It will, on weekdays, text my girlfriend at a certain part of my journey home after work. That way my dinner is ready when I get home!!!
Click to expand...
Click to collapse
Now that i like. This app sounds amazing.
Thanks for bringing it to my attention.
wnp_79 said:
It is worth every penny. The best app for android IMO. It is not very easy to master it, but even the basic stuff has made a vast difference too the behavior of my phone.
For example, I have extended my battery life to 38 hours simply by having it automatically go into airplane mode between midnight and 6am.
It will turn off wifi, back screen brightness down, change screen timeout to 10 seconds and give me a notification popup and sound when my battery drops below 15%.
It will turn on gps when Wavesecure is activated, something Wavesecure can't do by itself.
It will turn my ringer off when I get within 200m of the two cinemas I go to.
It turns wifi on when I get home, and off when I leave. Same for work.
It loads my music app when I plug my headphones in.
Tasker can make widgets! I have one set up to (with one press from my home screen) turn up screen brightness, turn on gps, turn up speaker volume to max, wait 2 seconds, then launch google navigation. It will then turn everything back when I exit out of navigation.
It will, on weekdays, text my girlfriend at a certain part of my journey home after work. That way my dinner is ready when I get home!!!
I would say try out the free 1 week trial. There is even a wiki and web site with extensive instructions and examples uploaded by other users. You can also import profiles as well as create your own. The really handy ones I have exported to my sd card, and e-mailed them to a friend when he bought Tasker. Not sure I helped him though as there is a steep learning curve for this app, and it is worth being patient with it to learn its ways for yourself.
I think it is worth much much more than the asking price.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Wow sounds like you have a good understanding and has some good stuff. I don't know if you can, but I posted a page where maybe people can leave profiles for those of us who are a bit more chronologically challenged.
This is the greatest
I use tasker for everything. I am very forgetful so I have it pop up astrid tasks when I leave the house or work. The quiet mode works well for work and there is even a way to auto check in to foursquare.
Worth every penny, it makes your phone 10 times better and is a must have app.
I have profiles that do the following:
-During work hours and within range of the office set Vibrate, turn off wi-fi.
-When within range of home turn on Wi-Fi
-If at home after certain time in evening go silent
-When leaving car (detected by bluetooth connection to stereo), store time and location. Have icon on desktop to retrieve info and show on map to find car.
-When on call (by checking diary) if a colleague calls always ring regardless of silent.
-Say caller/texter name
-Send magic packet to wifes phone to report location and show on map (handy when shopping)
Plus many other scripts....
I find that this program has a pretty high learning curve...
Is there a wiki I can read up or a way to import other people's profiles?
YoYoost said:
I find that this program has a pretty high learning curve...
Is there a wiki I can read up or a way to import other people's profiles?
Click to expand...
Click to collapse
http://tasker.dinglisch.net/
Using "Cell Near" instead of GPS
I was using Tasker to turn WIFI on and off based on GPS locations. However, I found an alternate method that does not use GPS calls (and waste battery use). Instead, I am now using "Cell Near" to find the cell tower near home and turn WIFI off when I am not within distance of it.
I have posting walkthroughs of all of the most useful profiles I have collected. Check it out at http://dbilliter.blogspot.com
Tasker rules my phone... With all the taks i made.... Love the app!!!
You can do almost everything if you know how to use it... Little variable programming and your phone will get his own life haha...
GREAT APP
the_ahmadzais said:
Anyone here using it? what is this app for? is it worth buying? does it give u battery life? im really interested but i cant find no videos on it on youtube. please share your thoughts.
Click to expand...
Click to collapse
If you're interested I've put together this thread http://forum.xda-developers.com/showthread.php?t=1018245 on how to use the CPU Profiles - I hope it's good enough to replace SetCPU!?
Let me know what you think.
problem with deleting profiles
i am also new to tasker. made a simple sms schedular, which worked fine, but when i deleted all the profiles, contexts and tasks...somehow sms is still going on scheduled time... tried to clear data, force stop it, but still sending sms.
any suggestion.
thanks
Hello,
Title says it all...
I would notice overnight that my battery would be completely horizontal (no drop) and thought it was the combination of SETCPU and JuiceDefender (night profile + screen off drop mhz).
But, after unisntalling them, I noticed the same "flat line" at night and also achieved over 30 hours of battery life.
My question is... do these apps really make a difference on our phones?
Or, are the phones advanced enough to handle everything just fine?
your thoughts are appreciated.
I agree... I got about 27 hours of life out of my battery without set cpu or JD (i've never liked JD anyway because its like putting my kid on riddlin)
h20wakebum said:
My question is... do these apps really make a difference on our phones?
Or, are the phones advanced enough to handle everything just fine?
your thoughts are appreciated.
Click to expand...
Click to collapse
Which version of JD are you using? If you have the Plus or Ultimate version, you can probably still gain some benefit, but you need to learn how to custom configure the settings so that you use the ones that are still relevant. For example:
Where Not Helpful: JD will turn off your GPS if an application isn't using it, but most of today's phones will do that anyway.
Where Helpful:: In advanced settings, you can provide a 'night schedule', wherein during this time, JD will disable mobile data, and thus polling, so your phone will not go out and check for mail, FB messages, Tweets, etc. Otherwise, mobile data is off unless you 'wake' the screen for some reason. Or another feature that 'trains' your wi-fi to only activate when you are at home or a 'recognized' wi-fi spot. These are a couple examples, there are others.
Where it MAY be Helpful: JD can disable mobile data for a custom # of minutes (10/15/30/60) and prevent background sync during those periods. It will awake, allow the sync, then turn mobile data off. Now some apps may only sync in these intervals anyway, but unless they're all syncing at the same time, you could have lots of 'up' time. Some of this may not 'wake' your phone from Deep Sleep, but depending on how sloppy the code is, it might.
Hope this helps.
h20wakebum said:
Hello,
Title says it all...
I would notice overnight that my battery would be completely horizontal (no drop) and thought it was the combination of SETCPU and JuiceDefender (night profile + screen off drop mhz).
But, after unisntalling them, I noticed the same "flat line" at night and also achieved over 30 hours of battery life.
My question is... do these apps really make a difference on our phones?
Or, are the phones advanced enough to handle everything just fine?
your thoughts are appreciated.
Click to expand...
Click to collapse
I think really depends on the ROM you are running. ViperROM has a script that changes the CPU speed and governer on the fly. So no need for SetCPU there. I'd say Juice Defender can still come in handy with turning data off when you aren't using it.
My 2 cents. Your results may vary.
Capp5050 said:
Which version of JD are you using? If you have the Plus or Ultimate version, you can probably still gain some benefit, but you need to learn how to custom configure the settings so that you use the ones that are still relevant. For example:
Where Not Helpful: JD will turn off your GPS if an application isn't using it, but most of today's phones will do that anyway.
Where Helpful:: In advanced settings, you can provide a 'night schedule', wherein during this time, JD will disable mobile data, and thus polling, so your phone will not go out and check for mail, FB messages, Tweets, etc. Otherwise, mobile data is off unless you 'wake' the screen for some reason. Or another feature that 'trains' your wi-fi to only activate when you are at home or a 'recognized' wi-fi spot. These are a couple examples, there are others.
Where it MAY be Helpful: JD can disable mobile data for a custom # of minutes (10/15/30/60) and prevent background sync during those periods. It will awake, allow the sync, then turn mobile data off. Now some apps may only sync in these intervals anyway, but unless they're all syncing at the same time, you could have lots of 'up' time. Some of this may not 'wake' your phone from Deep Sleep, but depending on how sloppy the code is, it might.
Hope this helps.
Click to expand...
Click to collapse
I use ultimate. I did run a night schedule, but that kind of points back to my original observation... I'd have night setup from 11pm - 7am and see a horizontal line for battery during this time (wow JD is really working)... BUT, with it uninstalled, during the same period of time 11pm - 7am my battery was also horizontal line... So did it really do anything? I'm on wifi at my house so when I'm sleeping the phone is wifi and not constantly pinging the mobile network (does that make a diff. being on wifi)?
I also did like the wifi only when home setting.
With ViperRom, I probably don't need set CPU anymore... Maybe i'll throw JD back on.
One question.. were you running the beta JD? I noticed the beta would always throw errors in the log stating i needed to uninstall, reboot, reinstall (I never did) anyone else have that happen?
These numbers sound like you have the radio off and don't turn your display on. Pretty amazing numbers otherwise. Would love to know the rom + kernal you're using
edit: I see the post above you mention viperrom. Typically if you have data turned off and display off any device will last days. My OG evo lasts for around 48 hours just sitting there. Still really impressive if you're using your phone within that 30 hours
h20wakebum said:
One question.. were you running the beta JD? I noticed the beta would always throw errors in the log stating i needed to uninstall, reboot, reinstall (I never did) anyone else have that happen?
Click to expand...
Click to collapse
I've never tried the beta; I started with standard, upgraded to Premium, then eventually upgraded to Ultimate (I use the 'Customize' setting, but rarely the 'Advanced' config).
I hear ya on the night-time wi-fi thing. But with this particular phone (and before I rooted and changed ROM/Kernel), on some nights I would be connected to wi-fi and get ZERO CPU sleep time, other nights it would sleep - I have no idea why. It is conceivable that if the only polling your doing is e.g., Gmail, that either it doesn't happen at night, or it happens in such a way as to not knock the phone out of sleep (it IS Google's OS after all).
On a related note, I'm using K-9 mail (my primary mail is Yahoo); it throws wake-locks all the time (set to poll every 15 minutes), but they don't seem to impact battery life or take the device out of deep sleep which is why I suggested that case above.
One other item I like about JD is the ability to permission each and every app for wireless/network access; obviously mail, calendar, phone, etc. need it, but some apps simply don't, and I've been surprised when I set it to 'notify' and some random game pops up seeking network access. Looking for an update? who knows, but I lock 'em down anyway.
AC
pandamaja said:
These numbers sound like you have the radio off and don't turn your display on. Pretty amazing numbers otherwise. Would love to know the rom + kernal you're using
edit: I see the post above you mention viperrom. Typically if you have data turned off and display off any device will last days. My OG evo lasts for around 48 hours just sitting there. Still really impressive if you're using your phone within that 30 hours
Click to expand...
Click to collapse
I do not turn off data/radio (no airplane mode).
I'm running ViperRom 2.2 with the latest loskernal experimental.
My display was on for roughly 2 hours (again, just used it as i happened to during the course of the day) and data was on.
Capp5050 said:
I've never tried the beta; I started with standard, upgraded to Premium, then eventually upgraded to Ultimate (I use the 'Customize' setting, but rarely the 'Advanced' config).
I hear ya on the night-time wi-fi thing. But with this particular phone (and before I rooted and changed ROM/Kernel), on some nights I would be connected to wi-fi and get ZERO CPU sleep time, other nights it would sleep - I have no idea why. It is conceivable that if the only polling your doing is e.g., Gmail, that either it doesn't happen at night, or it happens in such a way as to not knock the phone out of sleep (it IS Google's OS after all).
On a related note, I'm using K-9 mail (my primary mail is Yahoo); it throws wake-locks all the time (set to poll every 15 minutes), but they don't seem to impact battery life or take the device out of deep sleep which is why I suggested that case above.
One other item I like about JD is the ability to permission each and every app for wireless/network access; obviously mail, calendar, phone, etc. need it, but some apps simply don't, and I've been surprised when I set it to 'notify' and some random game pops up seeking network access. Looking for an update? who knows, but I lock 'em down anyway.
AC
Click to expand...
Click to collapse
Interesting thing is with the latest JD build it has the bluetooth settings, so i can leave my headset paired, but the phone disconnects while not on a call and then when i get a call, it turns on... kinda cool.
In regards to the permissions... do i need to give the email applications permission for enable/screen off? (so that I'll still get the notifs?) or just enable (as in when screen on).
thanks,
RR
Dear all,
Is anyone else experiencing the following problem?
When the phone goes to sleep mode during the night hours it wont receive any messages for whatsapp etc. It seems that it turns off the 3g connection when you turn the screen off during the night hours.
Does anyone know a possible fix for this?
I have gone through all the settings and could not find anything about this.
Cheers.
I recently got this on my Desire Z too, and I have not changed any settings on that. Then I noticed it's happening on my One X too..
no 3g late night
Hi there, i have a motorola photon. in the settings menu you can go to what is called battery and data manager. then tap on battery mode. it's default is set to nighttime saver, which will kill your syncing after 15 minutes of inactivity in the hours between 10pm and 5am. i set mine to performance mode. this will sync all of the time and i don't really care if it takes up battery since i am awake and ready to pop in a new battery off my kick a$$ battery dock wall charger!! hope this helps....
SharkDog2 said:
Dear all,
Is anyone else experiencing the following problem?
When the phone goes to sleep mode during the night hours it wont receive any messages for whatsapp etc. It seems that it turns off the 3g connection when you turn the screen off during the night hours.
Does anyone know a possible fix for this?
I have gone through all the settings and could not find anything about this.
Cheers.
Click to expand...
Click to collapse
I think it's got something to do with what HTC said about "the phone learning" when you check things like mails ect.. so after it has learned that you do not check mail (for instance) during the night it disengages activies... or not
@mykeyvee, there are no such options in the stock rom on this phone.
Anyone have any other ideas?, i want everything to be synced 24 hours a day.
SharkDog2 said:
@mykeyvee, there are no such options in the stock rom on this phone.
Anyone have any other ideas?, i want everything to be synced 24 hours a day.
Click to expand...
Click to collapse
I don't think it's anything to do with settings. My Desire Z is on 2.3.7 and only recently have I got this bug.
My One X is stock unrooted. No settings for power saving.
Accounts and sync>sync schedule>smart sync
Is this what is effecting you
http://www.htc.com/help/www/howto_iframe.aspx?id=141796&type=1&p_id=440
Sent from my HTC One X using xda premium
unfortunately this only works with the mailw hich i do not user, the phone seems to do this with whatsapp and gmail aswel.
SharkDog2 said:
unfortunately this only works with the mailw hich i do not user, the phone seems to do this with whatsapp and gmail aswel.
Click to expand...
Click to collapse
This. I woke up and my 3G wasn't even on. I had to disable and enable data again to get connected.
Same problem here. Whenever my phone is in standby mode for a longer period of time (as far as I've seen it doesn't matter whether it's during the night or day), the data connection (3g) is disconnected.
On my previous phone, a desire Z, there was a setting 'data always on' which addressed this issue. This setting however seems to be missing on all android 4 phones.
**edit:
Contacted Dutch HTC support; they claim it's a feature. Hope they restore the setting in the future..
I have noticed this too this morning.
I woke this morning and went into the battery settings and you can see the graph that all data was shut off over night.
How do we fix this.
Piss. Wondered why it used virtually no battery overnight...
Sent from my HTC One X using Tapatalk 2
Exactly same here...just as u switch on the screen....it connects to wifi or 3g instantly...
Sent from my HTC One X using xda premium
I have received email overnight though....
Sent from my HTC One X using Tapatalk 2
I was thinking that maybe it was just the 3g/wifi connection which was going into a sleep mode after a long period of inactivity.
I've tried increasing my mail sync at night to once in 30 minutes to prevent the 3g connection from going to sleep and disconnecting. (had it at once in 4 hours)
Now when i wake up and turn the screen on, the 3g icon is already there, and my mail has been synced last in the previous 30 minutes.
Fixed it?
Same issue here, weird thing is that I can't seem to tie it down to either a specific battery-percentage nor a specific time of the day. It's really annoying though, as I would like my device to be connected 24/7. Tried setting a mail-account for 15 min update, so will see how much wifi/3g has been on tomorrow.
Edit: Definitely not a battery issue, but rather a time issue. Battery is at 80% (used the phone little today) and 3G/wifi has been disconnected for the past 2 hours even when mail is set to check every 15 min. I can see that for many people it's not important at night, but I wish we at least had the option to turn it off :/
Possible Fix
Download this app.. Minimaltext
https://play.google.com/store/apps/details?id=de.devmil.minimaltext&feature=search_result
Create a widget 1x1, under the tap behavior, select start another activity, then select an activity. Scroll now to settings, expand it, choose power saving setting..
Leave the rest default then press okay.
Click the widget and you will find some settings, including put data connection to sleep when screen is off. I haven't tried it. Hope this helps.
Not a bug!
This is not a bug, but a feature : scheduled standby mode
If on Sense 4.x, settings are similar to Sense 3.5, you should go into settings > power then scroll to standby mode. Default setting is auto, which means that the phone learns your sleeping phases and disable every wirless connections during this time when your screen is off, and enable it again automatically when you wake up (even if your screen is still off).
You can disable this feature, or (my favorite option) manually set the duration when you allow your phone to enter and exit deep standby mode.
(For me it's a great feature, as I really dislike having my phone producing airwaves close by my head when I'm sleeping. Before I went to Sense 3.5 on my DHD, I didn't have this option and had to enable plane mode before sleeping ant enter my PIN code every morning to exit plane mode, which was less convenient).
If you want to disable this, download smartsync disabler from the play store. Im pretty sure there is a thread on xda too with an app available to download.
...Or read my previous post... Market's bloatware is not needed, setting for this should be in power settings, as on Sense 3.5.
The information in here is only tested on the ICS (Stock based roms) and (stock or repacked kernels). It's not been tested on any other roms. So, if you want to apply the tweak that I provided in here, do it with your own risk. I'm here to help or share the good and bad things but not responsible for any bricked phones.
Update: Wifi Sleeps well! But you need to understand what's going on here.
We are expecting wifi to sleep when the screen is off and 'Keep Wi-Fi on during sleep' is set to 'Never'.
But wifi does not go to sleep mode even every options are satisfied on ICS stock roms with Stock or Rogue repacked Kernel).
I tried many ways to make it sleep (from settings, from build.prop tweaks and from through the init.d script) but none of those worked. Only the way to make it sleep is turning off the wifi manually before turning off the screen.
There is one workaround that making the wifi sleep during the screen off. The method is using Wifi Fixer app from google market but it does not work 100 %. Sometimes, it makes wifi sleep but other times, nothing happens.
So, anyone who is expecting wifi sleeps by any tweaks or by wifi option changes, don't expect it any more. There's no hope yet. For me, I'm waiting for the next build to test this function out.
There's some additional information at http://forum.xda-developers.com/showthread.php?t=1625299 and check wifi section.
If anyone knows the method to make wifi sleep on stock rom/kernel, please post your info here. There are some tools that we can use to check wifi is sleeping or not during the sleep mode. I'm currently using Battery Widget Pro.
Because I've tested lots of things so far, if you know the methond or if it works on your phone, please show how it works and screenshots if possible.
[Update] Wifi sleeps finally as I wanted!
OK. Here is the story.
One specific app mis-led me to wroing conclusion - Battery Monitor Widget Pro (v2.2.4). This app shows that wifi is always on if wifi is turned on. This app does not exclude the time wifi was turned off during the sleep mode.
Plus, there's some pre-allocated time to make the wifi sleep after the screen turned off. For most of Android phones, it seems like this value is 15 minutes. So, even the screen is off, wifi does not enter to the sleep mode immediately. Phone spend 15 minutes after the screen off, and kill the wifi session if wifi option was set to never (keep wi-fi on during sleep).
How to check whether wifi sleeps or not :
Do NOT use Battery Monitor Widget to check the wifi status.
You can easily check it from the stock Battery app. Settings > Battery > click on the graph > check wi-fi status if there is any gap (means sleep or turned off).
Then, How to change the default 15 minutes value to make the phone sleep early?
Update 5/16/12 - Fixed wifiSleepWait tweak, so it works without any manual database handling. The below is just for informational. Now you don't need to manually create a row into the table.
There were one or two information available on XDA but nothing is correctly applicable to Epic 4G Touch. So, here is the tweak that I made for E4GT.
To do this you will need root explorer -
1. move to the folder, /data/data/com.android.providers.settings/
2. copy the databases folder to your /sdcard
3. Move to /sdcard/databases click settings.db
4. select secure
5. it will ask you which editor you are going to use. If you installed sqlite then select sqlite, otherwise use root explorer (only at first time)
6.Check if there is column name 'wifi_idle_ms'. If there is, then change the value to whatever mili seconds you want. For example, 10000 = 10 seconds, 30000=30seconds. If you want to wait 15 minutes until wifi sleep, then 15*60000 = ?
7.If there is no 'wifi_idle_ms' row, the click long time anywhere on the table. It will show you the actions, select new record. Do not change _id, put the 'wifi_idle_ms' in the name field (without quote sign) and put the value explained above. For me, I just put the 10000 (for 10 seconds). Click save.
8. Now you can see the value changed or row created. Exit editor and move up to /sdcard. Copy (or Move) databases folder to original location (/data/data/com.android.providers.settings/). Sometime, the copy is not successful because database is currently being used. If it's not copied, then try it agaon to copy until it's successful. For me, it was successful on second try.
9. Reboot the phone and click the power button shortly to change to screen off mode(sleep mode).
10. After the time passed defined in above, click the power button again and notice that phone was working on 4G or 3G mode and not wifi mode. Phone will try to reconnect wifi after the screen turned on.
11. That's it. Now you can change the idle time until wifi turned off as much as you want.
The above was the manual way to change the wifi_idle_ms value from database. But there is another way to change this values automatically. The method is using sqlite and of course you need to know the sql query.
In my case, I tried to add this sqlite query statement into my init.d tweak but only update sql command worked and insert was not successful. Maybe I need someone's help to get this insert statement successful.
In here, I'm adding only the update tweak which can be added into init.d. What this mean is, at first time you have to insert the database row manually but once it's created, you can update the idle value during the boot thru init.d script.
Because you don't need to run this init.d script everytime on boot, once you update the value, change the permission to 644 and it won't run again until you change it back to 755.
To run this init.d script, you will need sqlite3 - http://chensun.net/android-development/install-sqlite3-on-google-nexus-one/54/
Download it and simply move to /system/xbin foler. Assign the same permission like other files on the same folder.
Of course, you also need root access and busybox.
The init.d script will be found at http://forum.xda-developers.com/showthread.php?t=1625299
70wifiSleepWait_kobridge.zip (previous version)
70wifiSleepWait_kobridge.v2.zip (current)
kobridge said:
This info is just for the ICS (Stock based roms) and (stock or repacked kernels) users.
We are expecting wifi to sleep when the screen is off and 'Keep Wi-Fi on during sleep' is set to 'Never'.
But wifi does not go to sleep mode even every options are satisfied on ICS stock roms with Stock or Rogue repacked Kernel).
I tried many ways to make it sleep (from settings, from build.prop tweaks and from through the init.d script) but none of those worked. Only the way to make it sleep is turning off the wifi manually before turning off the screen.
There is one workaround that making the wifi sleep during the screen off. The method is using Wifi Fixer app from google market but it does not work 100 %. Sometimes, it makes wifi sleep but other times, nothing happens.
So, anyone who is expecting wifi sleeps by any tweaks or by wifi option changes, don't expect it any more. There's no hope yet. For me, I'm waiting for the next build to test this function out.
There's some additional information at http://forum.xda-developers.com/showthread.php?t=1625299 and check wifi section.
If anyone knows the method to make wifi sleep on stock rom/kernel, please post your info here. There are some tools that we can use to check wifi is sleeping or not during the sleep mode. I'm currently using Battery Widget Pro.
Because I've tested lots of things so far, if you know the methond or if it works on your phone, please show how it works and screenshots if possible.
Click to expand...
Click to collapse
Maybe it cannot sleep when sync is on?
I imagine that wifi is needed for weather/news/etc updates and clould2device services.
Wait...the options are changed on ICS correct? Meaning its never off during sleep on Gingerbread and always on during sleep on ICS or am I not understanding?
Huh? Mine sleeps just fine unless I set it to never sleep.
That aside - you are aware that you're better off leaving wifi on anyway, right? It uses less battery power than the cell radio does. Just an FYI
Finally figured out everything!
Took whole one day to find out everything!
First, most importantly, WiFi sleeps!
I'm going to explain what happend and how we could make wifi sleeps better in op section.
edit. Partially updated. I'm checking now if I can make a script to change the leading time that is required before wifi actually sleep.
kobridge said:
Finally figured out everything!
Took whole one day to find out everything!
First, most importantly, WiFi sleeps!
I'm going to explain what happend and how we could make wifi sleeps better in op section.
edit. Partially updated. I'm checking now if I can make a script to change the leading time that is required before wifi actually sleep.
Click to expand...
Click to collapse
All updates are done! Enjoy your ability having control over wifi idle time!
You know, upon further testing, idle battery drain on 3g is pretty damn good as well. I am in a lousy signal area during the day and I have been leaving wifi on 24/7 so a lot of battery got wasted from the phone searching and finding wifi to connect to. Tomorrow I will disable wifi while at work but...
Sent from my SPH-D710 using Xparent Blue Tapatalk 2
JohnCorleone said:
You know, upon further testing, idle battery drain on 3g is pretty damn good as well. I am in a lousy signal area during the day and I have been leaving wifi on 24/7 so a lot of battery got wasted from the phone searching and finding wifi to connect to. Tomorrow I will disable wifi while at work but...
Sent from my SPH-D710 using Xparent Blue Tapatalk 2
Click to expand...
Click to collapse
Based on your screenshot, it seems like you are wasting the battery by turned wifi on wifi 24x7.
kobridge said:
Based on your screenshot, it seems like you are wasting the battery by turned wifi on wifi 24x7.
Click to expand...
Click to collapse
I agree. While I am around the house say going to the store its minimal but when going to work in NYC I am picking up wifi i cant connect to every 10 feet so its definitely negatively effecting battery
nabbed said:
Maybe it cannot sleep when sync is on?
I imagine that wifi is needed for weather/news/etc updates and clould2device services.
Click to expand...
Click to collapse
I think there is a little difference of understand about what has the control over other services/fuctions.
Usually weather/news apps are dependent on wifi or 4g services. Those apps usually do not control the wifi or 4G and many times only able to communicate wifi or 4G are turned on. Those services cannot hold the wifi/4G connections even those services are still running.
KCRic said:
That aside - you are aware that you're better off leaving wifi on anyway, right? It uses less battery power than the cell radio does. Just an FYI
Click to expand...
Click to collapse
That's not true. It's totally based on the signal strength. Usually 3G is not fast but do not use battery as much as wifi when the signal is weak on both wifi and 3G.
you on a roll with these threads kobridge! good work and thanks!
70wifiSleepWait_kobridge.v2.zip released
Now you don't need to manually insert the table row to use this tweak.
This tweak file is a complete set by itself. By running the tweak file, you can change or create the wifi idle timer on/into the database.
Related thread and where to download this tweak - http://forum.xda-developers.com/showthread.php?t=1625299
Not to question yiur style kobridge, but I beleive there is a spelling error in the tittle =D
Sent from my SPH-D710 using xda premium
krisI0N said:
Not to question yiur style kobridge, but I beleive there is a spelling error in the tittle =D
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Looks like he fixed it just for you.
[wifi][Tweak]Chage Wi-Fi idle time before sleep (title changed)
Edit: Well, not ^^^ ALL of it is fixed yet.
krisI0N said:
Not to question yiur style kobridge, but I beleive there is a spelling error in the tittle =D
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
tdunham said:
Looks like he fixed it just for you.
[wifi][Tweak]Chage Wi-Fi idle time before sleep (title changed)
Edit: Well, not ^^^ ALL of it is fixed yet.
Click to expand...
Click to collapse
Thank you both of you! Sometimes, simple mistake is not to catch because it's too simple!
will this tweak work if I set wifi to "only when plugged in"
edlivian said:
will this tweak work if I set wifi to "only when plugged in"
Click to expand...
Click to collapse
I think the right answer is No.
When phone is plugged in - wifi is always connected even after the screen turned off. So, this tweak would not work while phone is plugged in.
When phone is unplugged - wifi will stay offline always. So, this tweak is not applicable.
If you set the option to "Always" - wifi will stay connected during the screen off. So, this tweak does not work.
If you set the option to "Never" - This tweak only works for this option.
The purpose of this tweak is minimizing the waiting(idle) time until wifi moves to sleep mode after the screen turned off.
Kobridge, i came through this topic after some searching for a problem of mine.
I see you know some basics...
If you have some time, take a look at this... that wifi issue is driving me really mad !!!
http://forum.xda-developers.com/showthread.php?t=1673514
thnx in advance
morx said:
Kobridge, i came through this topic after some searching for a problem of mine.
I see you know some basics...
If you have some time, take a look at this... that wifi issue is driving me really mad !!!
http://forum.xda-developers.com/showthread.php?t=1673514
thnx in advance
Click to expand...
Click to collapse
For this, I believe it's related to the value of wifi.supplicant_scan_interval which is normally defined at build.prop.
Check out the value from there.
These days the value 180 (3minutes) are normal for tweaking purpose. But for EPIC 4G Touch's case, it's default is 5seconds (causing lots of battery drain if you are moving around).
For example, if wifi is not available from some location, then your phone will try to searchthe available wifi network after x amount of times. If this value is too big, then it will look like wifi is not connected (so most of you, just try to reconnect the wifi manually before time comes). If the value is too small, again it causes the battery drain.
Once the wifi is connected, it keeps the connection based on the wifi policy. But if the connection is lost, then it will try again to search!
First of all, REALLY REALLY REALLY Really thank you for the reply mate.
My wifi supp value is set at "10"
I know this value only works when there are not any "known" access points in range.
The thing is, that it NEVER connects with screen off or on when i get back in range.
It only does it when i go to wifi settings (refreshes the list and connects without touching anything more!).
(of course, my wifi battery saving policy is set to "never" while screen is off)
Wifi stays on but it freezes AP scanning, while screen is off i guess.
Would a logcat help? Any tips about how to capture a good log about that issue?