alarm clock when the "phone" is off - Click Android Development

here someone filed the bug which affects windows mobile and symbian too.
http://www.google.com/support/forum/p/android/thread?tid=32682016e1640508&hl=en
don't you think a solution could be found (at least in openeclair) ?

There a thread allready with that question... See here:
http://forum.xda-developers.com/showthread.php?t=630116
Cheers

You can simply put your phone in airplane mode: it consumes battery as if it were switched off

and what about suspend mode ?
we must let the power off button go airplane or suspend then

Related

Diamond Wifi problem

Hi im having a problem can someone tell me if this is right or not.
When i have wifi turned on conencted to some point and using msn, after a while of not touching the phone the phone goes to sleep mode automatically when i press the side button to get back to the screen menu wifi shows its turned off and msn was already dissconnected the moment my phone went to sleep mode.Is this nromal?If so is there a way of fixing it.Thanks
As my first time using windows mobile not sure if its right or not.
Wifi will not remain active once the phone enters standby mode. If you switch the phone on again, wifi should also automatically wake up, but needs to restore the connection to the wireless network from scratch.
I see thanks.
Is this different for bluetooth even when its in stayby mode it seem to work.
Thanks
That's correct. Bluetooth remains active in standby and therefore a major battery sucker.
I see thanks everyone. So pretty much impossible to have MSN on the whole time unless i set my phone so that it will not go to sleep mode. Hence msn beceoms a big battery sucker as wifi will be on for a long time?
Thanks
Is it really impossible to tell WM to leave Wifi switched on when my Diamond goes to sleep mode?
Has somebody a solution for this?
Yeah I have a similar problem with emails... I'm trying to get emails over wifi/wireless lan, auto send and rec every 15 minutes but the device enters standby before this time... Done a ping to the device and as soon as it enters sleep mode it kill the connection... I would think that if there is an active app (like MSN or EMail) that wants to download data it would reconnect to any setup wlans or stay connected when using a service like msn... Is there any reg hack for this..?
My next question is when the back light dimms (not enter stand by) is it possible to set up keylock? i.e. disable the touch screen/HW keys, then I could standby the device after 30-45 mins (see how the battery goes on that one..!)...
--
Edit: I did a bit of digging around the web found this tool called PocketToolman - http://freewareppc.com/utilities/pockettoolman.shtml - Looks like it has an option to enable wifi in standby mode Seems to work anyone else want to give it a test to see if it works... I'll see if I can find a reg key for this tomorrow, unless anyone knows of one already? Looks like the standby kills the CPU so WiFi packets can be processed etc..? But Win Mobile 6 Pro has an "unattended mode", that should allow wifi to work and emails to s&r and MSN to stay connected... For eg this app calls unattended mode to keep wifi active... http://www.pda-ppc.com/download/communication/content/WMWifiRouter.html
EDIT 2:
I've been able to find the following keys that should work with the wifi...
make sure the 98C5250D-C29A-4985-AE5F-AFE5367E5006 class mataches wifi adapter
Disabled Enabled
HKLM\System\CurrentControlSet\Control\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default
HKLM\System\CurrentControlSet\Control\Power\State\Resuming\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default
HKLM\System\CurrentControlSet\Control\Power\State\Unattended\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default
Now I'm assuming that HKLM\System\CurrentControlSet\Control\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default will keep the wifi connected in standby mode... I'm going to test, can others also test to confirm?
DWORD Dec values have states 0-4, 0 being full power 4 being off... Just to test it, use vaulue of 1... Need a soft reset... It may be worth changing the vaules to 2 or 3 to see if WiFi still remains connected but what the battery drain is like...
Found another app that may also work - http://freewareppc.com/communication/wifiprofiles.shtml
Creds to http://209.85.175.104/search?q=cach...wifi+unattended+mode&hl=en&ct=clnk&cd=7&gl=au for key locations
Someone else test these and let me know what results you get/what power settings you use...
Given how quickly my phone battery drops with WiFi enabled I doubt you'd get more than 3-4 hours out of it if WiFi was enabled in standby mode.
When you want to use MSN over wifi set the following reg keys to dec value of 2:
HKLM\System\CurrentControlSet\Control\Power\State\ Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default
HKLM\System\CurrentControlSet\Control\Power\State\ Resuming\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default
HKLM\System\CurrentControlSet\Control\Power\State\ Unattended\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default
Power state of 3 doesnt seem to work..? Ideas?
Did some testing using each value as 2 (low power)... For me it drained about 35% of the battery in 4 hours... So you should get a full day (10hrs) out of it before you get to 10% or so...
Be worth making an app that allows you to toggle this...
I know this doesn't really apply to MSN (which needs always-on wifi), but for emails at least maybe there could be a way for the phone to activate wifi instead of the data connection when it wakes up every N minutes to check for new email. And then maybe after a timeout period it could activate the data connection (i.e. if there is no trusted wireless network available) to get the emails. Anyone heard of such a thing?
Also, why does wifi drain the battery so quickly in standby mode but the data connection does not?
Bumping this. Does anyone have any ideas? I might cross-post this in the Touch Pro forum if no one has any thoughts here.
This may help:
http://www.1800pocketpc.com/tag/dontsleep-wifi
Honestly no expert on this, however if you install Advanced Config, under Menu/More Settings/Connections there's an option "Enable Wi-Fi on standby mode" I guess if you tick that you mught have your solution...
I personally haven't tried it.
Yep, just checked it myself and it seems to be do the trick...!
Obviously what sucks there is that you'll need to manually turn your WiFi on and off or otherwise you miht get some serious battery drain...

[Q] no alarm clock on standby mode

Good morning everyone, I bought a Razr I last month and this week I didn't understand why my alarm clock didn't ring....and it is the standby mode which causes this bug, the alarm clock only rings when I return to normal mode
Have you encounter this bug ?
Do you have any idea to avoid this bug ?
Sent From my Razr I
I think we can tell you:
"It's not a bug, it's a feature"
Alarm clock is a app like every other app. While in standby app can't be launched, so you'll have no alarm.
The only workaround you can have is to have an hardware buildin alarm into the phone, wich (of course) is not the case.
Ok thanks for the answer
Sent From my Razr I
The sleep mode, is a mode to save the maximum the battery.
It stop all the datas/wifi/gsm. And all the "wake lock" process does not works. So all the command that could wake the phone, could not work. So in fact the alarm could not wake the phone.
And it's more then that. If you put your phone in this mode, and put of your sim card, you will see that, when your phone go back, the time as not increase.
(if you put it at 5, and wake it up at 6, the phone will says 5.)
With the sim card, it's not visible as it get the time from the network.
So yes it's normal.
And we can't setup the standby mode ?
Sent From my Razr I
No, it's a power minal sleep. All is disabled in order not to waste battery.
For commun usage, you have normal sleep + plane that do what you want.
Ok, thanks for your answers
Sent From my Razr I

[Q] Wifi/3G not connected whilst phone is in 'sleep'

Okay. I noticed today that when pressed the power button to wake my phone from sleep the wifi or 3g (depending on where i was and what I was connected to, ie home or away) icon was not showing and thus indicating that it wasn't connected. Hmm, I thought it was odd, maybe it was a display error. But I then noticed that my emails and gmails all came through a few seconds after I unlocked the phone (and the connection icon appeared) and that they had all been sent whilst the phone was asleep. So, it seems to me that the phone is disconnecting from any data source when it goes into sleep mode. Now, I am right in thinking that the whole point of push notifications or setting your email to sync every 5 minutes is that the phone will remain connected even whilst asleep, and then wake up (briefly even) when it picks up an email?
I had no power saver on, no smart sync, wifi set to never sleep. Is this normal? It's pretty important that I get my emails as and when they sent to me. Any advice would be great. I am wondering if it's a bug, and whether I need to take to the phone back to exchange for another one?
Info: not rooted, stock rom software no. 1.28.61.7, kernal 3.4.10-gddcfb8c [email protected] #1 SMP PREEMPT, carrier EE (UK).
Cheers
you're sure power saver in the top menu wasn't on? because that's what it does, turns off wifi and data when the screen is off for an expended period.
maybe cycle it on and off a couple of times and see if the problem persists...
Sent from my HTC One using xda premium
No, isn't normal.
So, can you upgrade to the latest firmware and, maybe, do a full wipe?
Did you install some app for battery?
And check that your power saver isn't on...
Check under power, setting that sleep mode is off. That on by default on mine. It turns data off after extended screen of time and doesn't require the power save to be activated.
Sent from my HTC One
Guich said:
No, isn't normal.
So, can you upgrade to the latest firmware and, maybe, do a full wipe?
Did you install some app for battery?
And check that your power saver isn't on...
Click to expand...
Click to collapse
Hmm, no additional battery apps, power saving toggled and definitely off (I purposefully turned it off because of it's data management policy), and sleep mode set to off.
So, I'm right in thinking that you/others actually get notifications then? and wifi/3g is working fine? Looks like it's a return and hope that the next one works (I only got the phone 7days ago). My software update says no updates available, though this is likely to be EE fault. If I can get the shop to exchange I might just do that. Ho hum, another 3 hours setting the thing up again then...
It seems to be a Wifi switching itself off problem...
padsmcnulty said:
Hmm, no additional battery apps, power saving toggled and definitely off (I purposefully turned it off because of it's data management policy), and sleep mode set to off.
So, I'm right in thinking that you/others actually get notifications then? and wifi/3g is working fine? Looks like it's a return and hope that the next one works (I only got the phone 7days ago). My software update says no updates available, though this is likely to be EE fault. If I can get the shop to exchange I might just do that. Ho hum, another 3 hours setting the thing up again then...
Click to expand...
Click to collapse
So, a quick update in case anyone else is having this problem.
I reset the phone to see if it would make a difference and it kind of has. Now I have noticed that if I am using mobile data it's fine. Things are pushed, notifications come through. But if I use Wifi it's a different matter.
it seems that with Wifi on and connected then it works for around 15 minutes when the phone is sleeping (I have done a few tests). After this it seems to shut wifi down and hence no notifications. So it would seem to me that although Power Saving is set to OFF, and Sleep mode (ie no data in sleep) is set to OFF, the phone is still disconnecting from WIfi regardless of the settings. Which is a bit frustrating as I don't want to be connected to the mobile network all the time, especially at home, but still want to know if I receive emails.
Anyone else experienced this Wifi switching itself off issue (and then switching itself on as soon as you manually wake the phone?)? I have to decide whether to return the phone for a replacement or not. If this is a wide ranging issue it might not be worth it - though I'd have thought a simply thing, like keeping wifi on at all times wouldn't be hard to make sure it worked.
there are a few apps available on the play store such as "keep wifi alive" which might do the trick.
Sent from my HTC One using xda premium
bigshape said:
there are a few apps available on the play store such as "keep wifi alive" which might do the trick.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Okay, now I feel a bit of Doughnut! I think I've found out what was causing this. So, even though I had Power Saver OFF, Smartsync OFF, Sleep Mode (disconnect data whilst sleep) OFF, I hadn't had a proper look in the Wifi settings, and under Advanced I found:
Advanced>Keep Wifi on during Sleep. This hadn't been set to Always and was set to 'Only when plugged in'. So, changed to 'Always' and now it seems to work (and that would explain why I got emails through the night when charging).
So, apart from feeling a little red-faced for not exploring every single menu available, I am happy it (seems) sorted. If anyone has wifi dropping whilst phone is sleeping it seems there are four steps:
SmartSync = OFF [in Mail app]
Power Saver = OFF [in status bar and Power Settings]
Sleep Mode = OFF [in Power Settings]
Keep Wifi on during Sleep = Always [in Wifi>Advanced Settings]
Hopefully this'll help anyone else who has been having a bit of prolonged blond moment with the phone settings. {retreats to corner}
padsmcnulty said:
Okay, now I feel a bit of Doughnut! I think I've found out what was causing this. So, even though I had Power Saver OFF, Smartsync OFF, Sleep Mode (disconnect data whilst sleep) OFF, I hadn't had a proper look in the Wifi settings, and under Advanced I found:
Advanced>Keep Wifi on during Sleep. This hadn't been set to Always and was set to 'Only when plugged in'. So, changed to 'Always' and now it seems to work (and that would explain why I got emails through the night when charging).
So, apart from feeling a little red-faced for not exploring every single menu available, I am happy it (seems) sorted. If anyone has wifi dropping whilst phone is sleeping it seems there are four steps:
SmartSync = OFF [in Mail app]
Power Saver = OFF [in status bar and Power Settings]
Sleep Mode = OFF [in Power Settings]
Keep Wifi on during Sleep = Always [in Wifi>Advanced Settings]
Hopefully this'll help anyone else who has been having a bit of prolonged blond moment with the phone settings. {retreats to corner}
Click to expand...
Click to collapse
I have similar problem. Even when I have everything OFF as you suggest, I get disconnected a second after screen goes off. When I turn phone back on, I can see that wifi is on, but all aps are off and wont connect again. I have to turn wifi off and on and applications like skype go again online. I have this problem at home and also at work on corporate network. I have even tried apps that should keep wifi on, but with no change.
Interesting is that after the phone goes to sleep mode, I can see that speed of wifi is changing on phone. The phone actualy stays connected to wifi, but doesn't send or receive data.
The router at home is TP-Link 1043ND with DD-WRT (flashed to last firmware to see if it fixes this problem). I'm not sure what brand and type are corporate APs, but could be some cisco or similar.
Any advice what else I could try?

No Sleep mode in Windows 10

Hi,
I am a new Windows Tablet user. For the Windows 10 Teclast X98 Air II (HG9M), there is no "Sleep" mode in the energy management setting. I can only go to turn off screen when press the power button. The problem is once the display turn off, it will activate by finger press on the display. The display is very easy to turn on even I use a cover. Any idea how to prevent the accidentally on the display when idle?
BIOS 2.05
thanks
same problem here, x98 air iii and no sleep modes. powercfg-a reveals there are no sleep modes available. all drivers seem to be installed so I'm really at loss what could cause this
Same here help please!
same here
suddenly today appeared the 'sleep mode' instead of 'hibernate' but the power still makes hibernate on press .... anyone found a solution about this problem?
Anyone please?
Bump!! Please this is very important issue for all of us.
I use this tablet with medical software, and it is very annoying to have the battery drained when the screen is off.
I have found on techtablet site a Power Performance log and still no solution
Having the tablet in sleep mode or hibernation it is very important issue.
Please any of the DEVS having any knowledge about this issue please give us, mortals, the "fire".

Tasker Auto Airplane Mode On/Off

any idea how to set up Tasker to turn on airplane mode at a specific time and turn it off at a specific time? The idea is to have airplane mode turned on at say 1am and turned off at 7am. Anyone?
Only with ROOT.
Do you have ROOT?
jonathansmith said:
any idea how to set up Tasker to turn on airplane mode at a specific time and turn it off at a specific time? The idea is to have airplane mode turned on at say 1am and turned off at 7am. Anyone?
Click to expand...
Click to collapse
New profile ---> Time ---> From 1:00 to 6:59
Task: Plugin ---> Secure Settings --> Configuration ---> Root Actions ---> Airplane Mode ---> On
Exit Task: Plugin ---> Secure Settings --> Configuration ---> Root Actions ---> Airplane Mode ---> Off
This requires you to have th Secure Settings plugin for Tasker and Root access.
Yep, I have root access. @alray ... thanks mate ... will give it a go and will report! Thanks to both of you
Worked as @alray explained ... but the only problem is that I set the time from ... to ... but but when the time frame has expired I would expect Tasker to turn off airplane mode (that's the whole point), but at the moment it doesn't. What am I missing here? Had to keep my eyes open and select 'Enable Tasker'. For a first time user, that switch could easily be skipped.
PS - I couldn't find anywhere in the settings where to remove the Tasker icon from the notification bar. I do want it to run in the background but i don't need it in my notification bar and also when i pull-down the notification screen. Any idea how to remove it?
OK, got the answer to the Notification area question (It was the Run in foreground tick). Furthermore, I tried both Root Actions ---> Airplane Mode ---> On and Root Actions ---> Airplane Mode ---> Toggle ... but with both options Tasker forgets to turn off Airplane Mode at the set end time for the profile ... When I was in the Configuration of the Airplane Mode and selected Toggle instead of On, I hit the 'Test action' setting and I ran that a few times. It correctly toggled on and off Airplane mode. So that seemed to work well, but not when I left Tasker do it. The problem occurs both with 'Run in foreground' ticked and un-ticked. Weird!
jonathansmith said:
Worked as @alray explained ... but the only problem is that I set the time from ... to ... but but when the time frame has expired I would expect Tasker to turn off airplane mode (that's the whole point), but at the moment it doesn't. What am I missing here? Had to keep my eyes open and select 'Enable Tasker'. For a first time user, that switch could easily be skipped.
Click to expand...
Click to collapse
jonathansmith said:
I tried both Root Actions ---> Airplane Mode ---> On and Root Actions ---> Airplane Mode ---> Toggle ... but with both options Tasker forgets to turn off Airplane Mode ... strange ...
Click to expand...
Click to collapse
Add an exit task turning back airplane mode off:
Create a new task: plugin --> Secure Settings --> Root Action ---> Airplane mode ---> Off.
Go back to your profile page, tap and hold the linked task and select "add an exit task" and link your "airplane mode OFF" task.
Btw If you set your task from 1:00 to 7:00 then the exit task will start at 7:01 (or if you prefer the task will end at 7:01)
Btw If you set your task from 1:00 to 7:00 then the exit task will start at 7:01
Yep .. thought about that, tested and FAIL
And now will give a try to your last suggestion. That ought to work
jonathansmith said:
Btw If you set your task from 1:00 to 7:00 then the exit task will start at 7:01
Yep .. thought about that, tested and FAIL
And now will give a try to your last suggestion. That ought to work
Click to expand...
Click to collapse
You have to use an exit task, that wasn't a suggestion
And the exist task (airplane mode off) will be triggered 1 minute after the desired time frame. So better to select from 1:00 to 6:59
alray said:
Add an exit task turning back airplane mode off:
Create a new task: plugin --> Secure Settings --> Root Action ---> Airplane mode ---> Off.
Go back to your profile page, tap and hold the linked task and select "add an exit task" and link your "airplane mode OFF" task.
Btw If you set your task from 1:00 to 7:00 then the exit task will start at 7:01 (or if you prefer the task will end at 7:01)
Click to expand...
Click to collapse
That now worked LIKE A BOSS !!! Thanks, man!
jonathansmith said:
That now worked LIKE A BOSS !!! Thanks, man!
Click to expand...
Click to collapse
Youre welcome, post #3 edited accordingly.
Just one last comment - it seems that it won't work unless you leave it run in the foreground. Turning it on DID happen last night while I had Tasker running in BACKGROUND, but turning it off did NOT. Might have something to do with the low memory killer settings or with the app Recently that I use, but since both of these 2 are needed in my case, I guess the only solution is to have tasker forced to run in foreground. Nice at least that I can hide the icon in the notif. bar when it is folded, but annoying when I unfold it and see that huge tasker thing taking all that screen real estate, but ... gotta live with it
And here comes the solution to my previous post. Now I can say the issue is finally resolved! (SEE screenshot)
@alray or @ anyone who's good at figuring out Tasker; how do I set up the following rule - I manually enter Air Plane mode when charging my phone. Can Tasker be automated to turn off the Air Plane mode upon removing the charger? Sometimes I forget to do that and it costs me ... I charge with Air plane mode ON cos it's just A BIT faster. And for my 10% tapping charges a small boost in time is desirable.
jonathansmith said:
@alray or @ anyone who's good at figuring out Tasker; how do I set up the following rule - I manually enter Air Plane mode when charging my phone. Can Tasker be automated to turn off the Air Plane mode upon removing the charger? Sometimes I forget to do that and it costs me ... I charge with Air plane mode ON cos it's just A BIT faster. And for my 10% tapping charges a small boost in time is desirable.
Click to expand...
Click to collapse
You'll need root + Tasker + Secure Settings. Create a new profile based on state: AC plugged in. Task: plugin, secure settings, root action, airplane mode, ON. Then add an exit task: plugins, secure settings, root action, airplane mode: OFF.
Sent from my HTC One using XDA Labs
10x man! You should have said that I first have to start with the Task(s) and then when creating the profile I add the Task(s). Now, your suggestion is good, but a bit different from what I asked. As far as I understand your suggestion would enable Airplane mode while on AC and will disable it as soon as I unplug from AC. Fair nuff, fair nuff. However, I was asking only for an action to disable Airplane mode in the event that I actually did enable it in the first place. I say that cos I don't ALWAYS enable airplane mode while charging. I do most of the time but not always. Sometimes I need longer charges and I really don't want airplane mode to be enable during them. I need the airplane mode only for short-term charges and therefore my idea is that I should be the one to decide whether or not I enable Airplane mode. What Tasker should do is only to disable Airplane mode upon unplugging from AC ONLY in case airplane mode was enabled in the first place. This way I can decide whether or not I want to charge with Airplane mode enabled and in case I did charge with Airplane mode enabled Tasker will do its thing and will turn it off when needed. I'm sure that whatever I decide Tasker will attempt to turn off Airplane mode. In case I didn't enable airplane mode then Tasker will attempt to disable it but it will be in vain cos I didnt enable it in the first place .. so all good with that situation too.
So I modified your idea a bit and this is what I did. In Tasks I have a task called 'Airplane mode OFF' and it consists of exactly what you said - plugin, secure settings, root action, airplane mode, here I only chose OFF and then the Save icon. So .. that's all there is to it about the Task. Now over to the Profiles. Hit +, State, Power, and here comes my different approach - I choose Battery Level (cos I know that I always charge up to about 90%) so I select a range from 90 to 100... basically anything above 90 would do cos that's the whole point. Reaching over 90 would trigger the action. Of course this approach only applies in case you do what I do, i.e. charge up ALWAYS to a certain %. [ofc I have apps alarming me when this % is off indicating to me that I have to unplug]. So, having done this now I have my range from say 90 to 100 and that then becomes my new Profile and it asks me to add a task and I ONLY add the task to turn off Airplane Mode. I add no exit task at all. Tested it and it works.
By mistake or sth I enabled the setting called 'Enable System+Module'. Is it actually better this way or should I disable it?
jonathansmith said:
What Tasker should do is only to disable Airplane mode upon unplugging from AC ONLY in case airplane mode was enabled in the first place. This way I can decide whether or not I want to charge with Airplane mode
Click to expand...
Click to collapse
OK got it. You could try the same thing but once the profile and tasks are created, delete the entry task so you only have an exit task. This way Tasker will only run a task (airplane mode off) when disconnecting your charger. It won't do anything if airplane mode is already off but it will switch it back off if you turned it on.
Sent from my HTC One using XDA Labs
Correct! Just remember that when you do what you suggest you should restart the app. I closed it and cleared the recents and reopened the app in order to apply the changes. They wouldn't take effect prior to doing that. So ... all things being equal you are absolutely right. Your way is much better, cos it guarantees that in case I want to charge with Airplane mode on, the Airplane mode will be disabled after a charge from ... say 60 to 70% ... in case I'm in a hurry and can only tap 10%. The approach I suggested only works in case you always reach up to the specified 90-ish% and that's not always doable as is the case with the example I gave of a quick charge from 60 to 70%!
Thank you big time for the support!
oh @alray ... as I said - By mistake I enabled the setting called 'Enable System+Module'. Is it actually better this way or should I disable it ... is it a problem?
Is it possible to have airplane mode on when the signal is really low ? and quit after a while ? If so how ?

Categories

Resources