Related
I've done a lot of searching, on here and on google in general, and still can't find a solution. Maybe I'm just not asking the right question...
I'm using Dutty's newest ROM, but had this problem when I was just using the stock Tilt ROM as well as when using an older one of Dutty's ROM's. I have the screen turn off after about 20 seconds, and when it comes back up the time is always off. It updates properly after about 1-2 seconds, but it's incorrect for the entire time the screen is off. This isn't normally an issue unless I want to use an alarm. With the clock not updating itself continually (like every non-PDA-type phone I've ever used), alarms don't work at all. I installed S2U2, and even with the screen waking up, once I hit the slide to unlock the phone that's when the clock updates. Not before. Any thoughts on how to fix this? Or am I missing something so obvious that I'm bound to get flamed for the question? Thanks in advance!
Mine does this too, stock AT&T Tilt OS for now, but my alarms and PhoneWeaver have absolutely no problem going off at their appropriate time. It looks like it's just not updating the video card with the current time while sleeping since the display isn't on. Not too much of a problem for me as I'm accustomed to wearing a watch, but I can see how it would be annoying for others.
Seems to me that's just normal for any computer when sleeping. My Vista machine and my Apple machines all do that too. When you wake them from sleep, the clock display is behind, but instantly updates once the system is back on line. The internal clock is still running the whole time of course, just the display does not update since the graphics system and cpu are in suspended mode.
Ya' can't very well have a computer go into power saving suspended mode AND keep real time things like screen graphics updated constantly.
P.S. My Tilt does it too, but alarms and reminders all work just fine.
gwnorth said:
Ya' can't very well have a computer go into power saving suspended mode AND keep real time things like screen graphics updated constantly.
P.S. My Tilt does it too, but alarms and reminders all work just fine.
Click to expand...
Click to collapse
I agree that the screen shouldn't need to be updated constantly during power saving mode, but my problem is that none of the alarms work, and I'm just assuming that the system clock isn't updated because the display is so far behind. I'll do some more testing today... thanks for the replies so far!
Is it just me or can this phone not do it?
On my iphone if I leave wifi on and turn the screen off, it will connect only when needed using the auto send/receive schedule.
My xperia no matter what i do just wont seem to send receive with auto send/receive set to 5 minutes, wifi enabled, and i turn screen off with power button (or even leave it automatic).
Does it work for anyone else or is this just the way the xperia works? It only sends/receives when it's awake, in which case, pretty stupid,cause i can just do it manually if i'm using it.
I think winmo only sends/receives over a cellular connection while the phone is asleep. Wifi on the other hand is disabled when the phone goes asleep in order to preserve battery life....so no sending or recieving emails over wifi with the device in sleep mode
sonus said:
I think winmo only sends/receives over a cellular connection while the phone is asleep. Wifi on the other hand is disabled when the phone goes asleep in order to preserve battery life....so no sending or recieving emails over wifi with the device in sleep mode
Click to expand...
Click to collapse
That's really disappointing, it's a feature I had come to expect, thinking the device could atleast witch it on long enough to sync my email just like the iphone does before switching it off again.
guess my only option is to buy a data plan.
Try Advance config
Bottom right softkey "Menu" --> More Settings --> Connections --> Enable Wi-fi on standby mode
Ashwm said:
Try Advance config
Bottom right softkey "Menu" --> More Settings --> Connections --> Enable Wi-fi on standby mode
Click to expand...
Click to collapse
Thanks, I have just tried this, but I see that basically what it does is prevent the wifi from sleeping on standby mode, which is going to kill the wifi I presume in a couple of hours.
I guess it's just not possible for it to do what exactly I wanted it to do which is to connect and disconnect when required, to send and receive, while left switched on and the phone is in standby.
I believe that even when the phone is on and wifi is on I think the normal wifi power save (middle slider position) switches itself off after an idle period to save power when not in use, "on" just means available for use, not necessarily powered up.
I need this too, could someone try a mort-script or something to connect to WiFi automatically and then send/receive emails every desired set hours? Think it is possible..
Well
I tried enabling this (and yes, the wifi stays on while asleep) and putting my power save slider all the way to the right, however, after waiting the set time for my auto send/receive (5 minutes) and infact more, it did not send/receive until the moment I woke it, so I don't know if it was just about to do it, or if waking it caused the update.
i will give it another go and see how it goes, if you say that the wifi does infact just sleep itself when idle it shouldn't harm the battery life too much.
Strange
Ok, after further experimentation, I got it to send/receive my email while sleeping with the mode set for standby wifi enabled, however, with the refresh time setto 5 minutes, it took almost 15 minutes to update.
15 minutes is about the time I want, but will it take more power if I leave it on 5 minutes, or will it take even longer still if i set it to 15 minutes?
I'll try leaving my wifi on for a couple of days and see how it goes.
Try the program rk-OSR. It can connect/disconnect wi-fi automatically only for synchronizing e-mail.
Thanks
maedox said:
Try the program rk-OSR. It can connect/disconnect wi-fi automatically only for synchronizing e-mail.
Click to expand...
Click to collapse
Thanks, I'm going to see how it fairs over the next couple of days with the wifi set to work during standby (in terms of battery life) and if that doesn't work out i'll take a look at the app.
I don't know what it is but i just have a phobia of running extra 3rd party software on a phone that can only just about handle itself.
You pretty much have to run 3rd party apps on WinMo. In my opinion it's like using a normal computer with windows without installing any other applications. It's barely usable for anything at all without getting really annoyed.
maedox said:
You pretty much have to run 3rd party apps on WinMo. In my opinion it's like using a normal computer with windows without installing any other applications. It's barely usable for anything at all without getting really annoyed.
Click to expand...
Click to collapse
Yeh, but what annoys me is that my desktop computer is designed with the hardware to run its OS and a hell of a lot more, the hardware in this thing barely runs the naked OS, so I'm reluctant to add any more.
Anyway, after experiments it's been pretty much a total failure with the sleep wifi thing.
Looks like that 3rd party app will be my last resort, lets just hope it's unobtrusive and has litttle battery drain (aside from the obvious).
Failing that, it's either keep lugging around an iphone or get a data plan. Might sell the iphone to fund it.
You can't seriously consider using the iPhone for this. It's a toy.
I'm sure you'll be happy with rk-OSR.
maedox said:
You can't seriously consider using the iPhone for this. It's a toy.
I'm sure you'll be happy with rk-OSR.
Click to expand...
Click to collapse
You;re right, iPhone is a toy, but considering the problems I'm now having downloading email attachments (mp3) and the fact that it doesnt check my mail properly while sleeping, it seems almost worth carrying just to make sure I get my email without having to actively check for it.
I'll take your word though and try rk-OSR and hopefully find a solution to my attachment problem, then I'm a happy happy xperia owner in heaven.
Ok...but.
Ok, got rk-OSR installed and it is working perfectly if I use the "test" button. However, I put the device to sleep, set to sync in a couple of minutes, wait 5 or 6, wake it up myself and nothing. Even the log doesnt have anything after my test attempt. What could be the problem?
still wondering how to get the phone to do this... is it not possible for the phone to check emails while it's in your pocket? such a simple concept yet...
alias_neo and dinan, I found a solution!!! All you have to do is to install GProfile and this program called rk-OSR. You create a time-based profile (in GProfile) and choose a specific time (eg: 1am) to run rk-OSR. You donĀ“t have to select anything else (wifi toggle, etc). Then you select the same time in rk-OSR (1 am) and in this program you select the wifi options. It worked for me.
Hope it helps you
Hi,
I've been going through the internet with this question and have always found the same answer: "it is not possibale to turn off the phone and have the alarm clock work". now most people say its because the phone is a smartphone confused: not so smart if you ask me) but i have a nokia x6 which is a smartphone and this option is included in this phone.
So i guess my question is : what the heck? how hard can it be? can anyone make an app that does this? i would gladly pay for this feature as will other users i guess...why didn't samsung think of this?
and by the way my friend which has an iphone says this option is available on the iphone so i don't really buy the "not optional on smartphones".
anyway would be glad if someone had an app that does this....
Same search happening here. I dont think it's possible though.
You mean off as in off dead not switched on and asleep i take it .
That would require an app to power the phone on and set off alarm i guess .
jje
And-roid said:
Hi,
I've been going through the internet with this question and have always found the same answer: "it is not possibale to turn off the phone and have the alarm clock work". now most people say its because the phone is a smartphone confused: not so smart if you ask me) but i have a nokia x6 which is a smartphone and this option is included in this phone.
So i guess my question is : what the heck? how hard can it be? can anyone make an app that does this? i would gladly pay for this feature as will other users i guess...why didn't samsung think of this?
and by the way my friend which has an iphone says this option is available on the iphone so i don't really buy the "not optional on smartphones".
anyway would be glad if someone had an app that does this....
Click to expand...
Click to collapse
this is one of the better features of nokia, i don't remember what phone first introduced this, but is a shame that an android phone doesn't have this. try to put the phone into aerial mode, switch off wifi,and keep it on.that made the trick to save more the battery and have the alarm ringing at the proper time.
also the iphone,has got issues with alarms...
Smartphone does not need this features anymore
I had the same question! but now I understand that smartphone does not need this features anymore.
Try to make your phone idle in "Plan mode" for 10h the battery only drain 1%. So why did you need to turn it off during the night?
I suppose that your nokia x6 also eats battery (evens very little) while turning off to maintains this features.
As you cannot expect the battery life of a smartphone beat a regular phone.
At this point we can consider that the "Plan mode" of your smartphone equivalent to "turning off mode" of nokia x6 ^^
(Just my thought with my bad english)
Yeah I used to have a nokia 5800 running symbian and it would wake from off and activate alarms. Doesn't appear possible with android but I guess the question is why would you want to? It's bad practice to turn smart phones off all the time. As has been said the smart thing to do is to activate flight mode while you sleep. This is about you changing your behaviour - not your phones
Sent from my GTI9000 using XDA App, Froyo 2.2.1, Darky's v9.3, Voodoo 5.4.1, ADW launcher + gingerbread theme
It's bad practice to turn smart phones off all the time.
Rubbish you don't leave A TV on day and night nor a car running without use .
If you do not need your phone for twelve hours turn it off .
jje
I bought new I9003 & have been looking for the same feature as my 6yr old moto L7 had this feature I somehow assumed that this should be a standard feature.
I think it should be easily possible to write an app which schedules the power on /off scheme, its very handy when you are in areas where charging the phone will not be possible, moreover I don't need the incoming phone at night.
Would be possible on a HTC desire or HTC desire z as they don't properly turn off but the galaxy s does a full shut down.
If it was built into a kernal battery drain would be a mass problem.
Airplane mode would be just as good.
Sent from my GT-I9000
A smartphone is more a computer than a phone. If it's off, you want it to be off, not just to shut everything down unless X
Nokia probably builds it's hardware to support this. since the internal clock of any computer runs at any time they probably built a trigger into it to boot up the phone to ring. On setting the alarm you program it probably into the hardware.
I think that's pretty bad design.
Anyway to answer less confused:
Android wants to have any part interchangeable and it would be kind of dangerous to let every app that poses as an alarm access the hardware on such a level they did not build it in. And since it's not in android the manufacturers (as samsung) did not give a damn about it either.
I think its more to do with the android operating system which has to be loaded before the alarm turns on then samsung.
Annoying but highly useful during exams when your not too sure if your phone might ring or the alarm might go off.
But yh google should have solved this problem, Its been possible on the most basic of phones 6-7 years ago. My last 2 samsung phones that were basic (e900 and d600) both had this function.
http://tomhorsley.com/rants/doze-mode.html
I'm definitely reverting back to 5.1.1 when I get the time and energy to fool with it .
sounds like that was written by someone who hasn't even tried marshmallow yet. I have yet to experience any missed notifications, alarms or any issues relating to time in any way. If some apps are being affected by this then its a sign to the developer to fix their ****ty code because all of my apps relating to time at all have been working just fine and alot of them are still the same version they were on lollipop. Doze has improved my batter significantly. It sounds like this article was probably written by a developer who cant code properly and instead of improving his skills he'd rather complain and convince everyone to stay away from updates because he is unwilling to evolve. Even the article looks like it was written in paint...
I had indeed a wrong time bug some days ago...really strange and worrying, a reboot fixed it. First time ever since Android Froyo that I experienced something like that.
That author seems to think that Marshmallow's Doze is a horrible thing that breaks all apps that rely on background services, namely alarms and notifications, and couldn't possibly be fixed in 10 years (rather than a few months) due to Google's horrible mistake (rather than devs not fixing their code).
Frankly, it sounds like a bunch of hyperbole.
Sent from my ALCATEL ONE TOUCH Fierce using Tapatalk
He's wrong about how doze works. And if he's in the camp that doesn't understand it nor wants to rewrite his app. Then yeh he's the idiot group that Google is targeting and was writing garbage code anyway.
lol complete nonsense, my alarm has worked everyday since i flashed M, even on dev previews...the only issues i have with M are really the "slow to connect wifi when using toggles" and the weird wifi consumption on battery stats
Another annoying issue on M is that if your leave your phone longer in standby mode (display off), wifi turns off and you stop recieving notifications until you turn your phone on again. This is with wifi set to "never turn off", etc.
Kustaa said:
I had indeed a wrong time bug some days ago...really strange and worrying, a reboot fixed it. First time ever since Android Froyo that I experienced something like that.
Click to expand...
Click to collapse
This actually happened with me a couple of days back, I was travelling, so I put my phone connected to a power bank and went for a nap, woke up to see phone switched off, switching it on throws me a 2nd September date set on my device. Had to manually set the date as no network was available to automatically set the date from servers.
Ubichinon said:
Another annoying issue on M is that if your leave your phone longer in standby mode (display off), wifi turns off and you stop recieving notifications until you turn your phone on again. This is with wifi set to "never turn off", etc.
Click to expand...
Click to collapse
This I had been noticing these days just because of WhatsApp Web. When in standby, WhatsApp Web shows phone not connected error. Just waking the phone reconnects to the WiFi, but happens every 30-40mins.
I have a feeling that folks who never see these problems have their phones charging at night and doze mode doesn't happen when you are charging. I have no convenient way to charge my phone near my bed, so it is not charging and totally idle all night. Email and messaging completely stops. Only the stock alarm clock works. My medication reminder stops working. It might as well be turned off completely. Plus when you do wake up and turn on the phone, all the pent up alerts come through and scare the hell out of you. I hate doze mode.
Settings -> Battery -> ... (menu)-> Battery Optimization --> All apps --> Select whatsapp, etc... and select not optimized.
Test again.
You're welcome.
I already disabled optimization in the battery settings for all the apps that weren't working. They still don't work after sitting overnight. It looks as if that setting has absolutely no effect.
Claghorn said:
I already disabled optimization in the battery settings for all the apps that weren't working. They still don't work after sitting overnight. It looks as if that setting has absolutely no effect.
Click to expand...
Click to collapse
This is a real problem. I tested this on a Nexus 5. The device seems to enter Doze after about 1 hour and this is what happens.
What does work in Doze mode:
- Telephone: call can be heard.
- Alarm: alarm can be heard
What does NOT work in Doze mode:
- Receiving mail notifications directly: it seems to wait for the maintenance window. There is no "ping" from my GMail. No lock screen notification until I picked it up. I turned off battery optimalization as suggested. Like Claghorn says, it doesn't make a difference. When I was sleeping, the time difference between sending the mail and getting a notification can be hours. That is not acceptable: I want to determine whether or not I get a message. I got no control over Doze, except plugging it in. Also, when it sits on the desk at work I need to pick it up or turn the screen on every so often, because I don't know if it "dozed" off again.
Works partially:
- Notification light: It works once mail passes through the maintenance window. It does NOT work before the maintenance window.
I tested all of this with a unrooted, updated Nexus 5. Topic Starter and Claghorn have good points. Why can't I turn this off? I don't want this. I want notification on time, with ping, right now. If I don't I will turn the volume off or set priorities. They could have told me this behavior in a mail or during the update. Important mail from work, family comes in hours late. Not happy with this at all.
Tried all sorts of things, nothing seems to help. And no, battery optimalization is either not enough or has nothing to do with it. I love the Nexus 5. Marshmallow seems to be much smoother than Lollipop. I was happy with the update until I discovered this. Now, I am fustrated. I expect the phone to inform me when I need to be informed. Most days I don't need to save 10% of power anyway. For the first time I want to either root the phone and go back to Lollipop or even Kitkat. I don't know what else can be done. Fustrated.
Dennis de Swart said:
This is a real problem. I tested this on a Nexus 5. The device seems to enter Doze after about 1 hour and this is what happens.
What does work in Doze mode:
- Telephone: call can be heard.
- Alarm: alarm can be heard
What does NOT work in Doze mode:
- Receiving mail notifications directly: it seems to wait for the maintenance window. There is no "ping" from my GMail. No lock screen notification until I picked it up. I turned off battery optimalization as suggested. Like Claghorn says, it doesn't make a difference. When I was sleeping, the time difference between sending the mail and getting a notification can be hours. That is not acceptable: I want to determine whether or not I get a message. I got no control over Doze, except plugging it in. Also, when it sits on the desk at work I need to pick it up or turn the screen on every so often, because I don't know if it "dozed" off again.
Works partially:
- Notification light: It works once mail passes through the maintenance window. It does NOT work before the maintenance window.
I tested all of this with a unrooted, updated Nexus 5. Topic Starter and Claghorn have good points. Why can't I turn this off? I don't want this. I want notification on time, with ping, right now. If I don't I will turn the volume off or set priorities. They could have told me this behavior in a mail or during the update. Important mail from work, family comes in hours late. Not happy with this at all.
Tried all sorts of things, nothing seems to help. And no, battery optimalization is either not enough or has nothing to do with it. I love the Nexus 5. Marshmallow seems to be much smoother than Lollipop. I was happy with the update until I discovered this. Now, I am fustrated. I expect the phone to inform me when I need to be informed. Most days I don't need to save 10% of power anyway. For the first time I want to either root the phone and go back to Lollipop or even Kitkat. I don't know what else can be done. Fustrated.
Click to expand...
Click to collapse
A quick suggestion -
You may use Doze Mode Editor and edit the script so that your phone never enters Doze mode.
That way you can enjoy Marshmallow without Doze.
Sent from my Nexus 5
Achilles. said:
A quick suggestion -
You may use Doze Mode Editor and edit the script so that your phone never enters Doze mode.
That way you can enjoy Marshmallow without Doze.
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks, I will look into that. I'd like to keep Mashmallow as a whole if possible. I think it is a good update in general.
OK, I've looked at the doze mode editor thread and I find that the descriptions of the parameters I can set to be totally confusing, however, the flowchart pointed at in that thread seems to indicate that if I set the "inactive_to" value to something like 24 hours, then all the other doze mode nonsense is unlikely to ever happen (because I'll probably turn on my phone at least once every 24 hours). Does that seem like the best way to essentially turn off doze mode?
Claghorn said:
OK, I've looked at the doze mode editor thread and I find that the descriptions of the parameters I can set to be totally confusing, however, the flowchart pointed at in that thread seems to indicate that if I set the "inactive_to" value to something like 24 hours, then all the other doze mode nonsense is unlikely to ever happen (because I'll probably turn on my phone at least once every 24 hours). Does that seem like the best way to essentially turn off doze mode?
Click to expand...
Click to collapse
I will look into this over the weekend. I find it odd that there isn't simply a switch to turn Doze off, which is a pity. It seems to me it's part of saving energy in general. A switch under Battery would do nicely. It should not be this complicated. That said, I think the UI of Marshmallow is silky smooth, much better than Lollipop. Marshmallow in general in good. It' just this that annoys me.
i'm baffled by google's aversion to end user config. This kind of b.s. is how I found xda and drove me to become a chronic flashaholic. All or nothin I guess.
ElwOOd_CbGp said:
i'm baffled by google's aversion to end user config. This kind of b.s. is how I found xda and drove me to become a chronic flashaholic. All or nothin I guess.
Click to expand...
Click to collapse
I get the feeling Google assumes the customer is a developer. A few examples:
- The Nexus 5 does have a notification light: I didn't know until I read 5 reviews and even then I couldn't find any documentation on it. Needed an external app to get it working.
- Battery indicator: I like to have small numbers indicating battery charge: it could be done by hacking KitKat and Lollipop I think. Then at Marshmallow finally there's a (hidden) switch.
- I don't recall having any user guide in the Nexus 5 package. Not that I needed one. But some landing page doing a walkthrough would have been nice. Although there are some walkthroughs in every app
Not fatal flaws, but you wonder why does it need to be that difficult. It scares people away. Not me. I handed the Nexus 5 to some friends on numerous occasions and most found it too "empty". As for me, I want all developer stuff on. So it suprised me, there is no Doze fine tuning. Again, overall I give the Nexus a 8 or 9 out of 10. It fits me. In general I like it. So it's just constructive criticism. The empty layout and raw speed of the Nexus 5 works good in development of apps afterall.
Last night I ran an adb command (generated by the doze mode editor app) to set inactive_to to 24 hours (86400000 milliseconds). I then set an alarm for the next morning in the "Alarm Clock Plus" app (which completely ceased to function after Marshmallow showed up). This morning, the alarm actually went off on time, but the big "Dismiss" button it draws on the screen was totally non-functional. I had to hit the power button to get control (which then caused a popup saying alarm clock plus was non-responsive). I have no idea what caused all that behavior, but at least the alarm actually went off.
Also, with doze mode essentially disabled (in theory anyway), the power dropped from 100% in the evening all the way down to 97% in the morning.
With the exception to facebook and game type apps, Google's apps are the only ones I find that excessively waste resourxes and need to be forced to sleep. If they would get off the constant location polling, media scanning, and logging or at least tone it down a bit some they wouldnt need to implement thier half baked versions of solutions that they hijacked from xda devs
I am looking for a simple solution to turn on auto sync at a given time for a short moment like 5 mins.
I know there exist an app but i dislike have it running in the background the whole day.
Could there be a more efficient way to do the same with a magisk module ?
For it to work, you need to have something running all day in the background, otherwise it won't be able to know when it needs to toggle it on or off.
Anything running in the background like this will have next to no effect on batery.
@the_scotsman thanks for your answer.
Im not familiar with android but isnt there something like a cronjob which starts at a given time, does its job a single time and finish ? Then it could start at 22:00 enable auto sync and another job disables auto sync again 3 minutes later.
That would be a lot more efficient instead the app running in the background permanantly and what i suppose checking every second if the time is reached.
But if the consumption is really that small than i might have to live with it.
Do you have any suggestion maybe ? AutoSync app with certain interval or external power supply ? Or do there exist better options ?