Please note this is a repeat of a post I just made in the Wizard forum. When all finished I will copy and paste and reduce it back to one to save space. - Thx, Joe
Hi,
I wondered if there is a program I could use to switch off my device, or alternatively could switch off a program after a specified amount of time.
My vision: to use my Wizard (or Universal) to get me off to sleep, as I would a clock radio. When using my clock radio, I set the sleep timer to an hour or whatever and it switches itself off when my hour's dozing is done.
So far I have got some decent radio station URLs for both WMP and Real player, which mean I have the radio part through WiFi to my device by my bed all sorted, but I don't seem to be able to find anything that will switch off the device after a pre-specified length of time.
If any coder has a spare half hour I assume (???) this is a simple task to write, and I will buy you a pint or three in return.
Basic spec would be:
input sleep timer time
countdown to zero
switch off device
Mort Saver is sooo close to it, but can only take 2 digits in the time field and they are seconds not minutes, so 3600 seconds for my hour's listening isn't saved, and it counts down from 36
I also heard how PHM Pocket Plus grinds down WM5 to an unuseable point, so I spose that one's out of the picture as well.
I reckon a lot of people would either benefit from this type of program, or alternatively already have found something which I haven't.
Tell you what, if anyone can do it, I will donate to the forum 10Euro.
Cheers,
Jo
First of all, you guys doing the development for our devices are simply amazing. By improving the usability of our pda phones you are actually significantly improving the quality of day to day life (at least for me personally). It's a big deal, so thank you for all your work.
I don't post very often, but I lurk every day and generally have no issues to post about, but now one has come about that I need some help with.
_________
So I just began using Chainfire's WMWifiRouter yesterday for the first time, and it works perfectly for me. To be able to wirelessly tether multiple laptops is an unbelievably useful and cool capability. One of the features built in which is a very welcome one is also causing me a problem.
As you all know (if you've used the program) it is set up to keep the wifi active if you hit the power button and put the device in standby.
My issue is that it seems that the change it makes to keep the wifi active in standby doesn't revert to the default setting when the program is closed. So when I'm not using the program and I am connected to a wifi network in my house, and I press the power button, the battery is still draining very fast. Normally I can keep it in standby all day just waiting for calls to come in to wake it up and the battery will barely go down. But today I put it in standby and try to turn it on a couple hours later and it's completely dead.
It is just my assumption that the problem is caused by what I described because using this program is the only new thing I've begun doing since yesterday before the problem existed. Soft reset doesn't change anything, and the "crash cleanup" option doesn't help.
Can anyone confirm that I am correct in my assumption of the cause of the problem? Or any other ideas of what could be causing it? Just to be clear, I'm using a version that came with my rom (Colonel's 12-28-07 custom rom for the sprint mogul) and it is an older verion, v.081. I would try the newest version, but I couldn't find any details on the website about how much it costs once the trial is over.
Thanks a lot if anyone can help, I'd appreciate any bits of insight even if you're not completely sure.
THANK YOU!
So, no one has any thoughts on this?
It is becoming quite annoying to have to turn off the wifi in the comm manager every time I put the phone into standby just so it's not dead in an hour and a half.
Also, if I leave the wifi on and hit the power button, when I turn it back on the symbol shows the wifi connection still active but when trying to stream a radio station or open a browser it won't connect, and I have to turn off and back on the wifi to get a new working connection.
I'd just like to know if any of the other thousands of wmwifirouter users have the same experience, or just haven't noticed it or what.
Thanks.
Mogulus: Please try my Wifi Profiles -option Wifi Power->Normal Mode in menu.
BINGO!!!
Your program absolutely did the trick, thank you so much.
The only other suggestion I got was to flip off the wifi switch before entering standby and flipping it back on when returning from standby. Well that is simple enough but when you're picking the thing up every few minutes to check a random thing that pops in your head, that extra step gets so annoying.
Again, thanks a lot, you can expect a donation from me.
Thank you!!
Mogulust:
You are welcome
And Your suggestion - added to tasklist
hi all,
I've installed a raft of apps in the last few days (perhaps that was foolish) on my sim-free white Hero, and suddently the battery life has gone to pieces. It now won't even last the night *in standby with wifi off*.
Any ideas as to the known battery killers, or any way I can track down which is causing this? I don't really have to want to start removing apps at random and monitoring.
There's nothing particularly unusual in my list of running apps, following a power cycle (is there?):
Shake Awake, NetCounter, AK Notepad, OI Update & Countdown, Tube Status, Battery Widget, BBC News widget, Peep
(although that does raise a separate question: why do things like ShopSavvy, AK Notepad, start at boot, when presumably they're not really doing anything until you use them?)
Of course, I have other things that get started asynchronously, just not at boot, e.g. SMS Popup.
anyone got any ideas, please?
thanks much indeed.
cdmackay said:
hi all,
I've installed a raft of apps in the last few days (perhaps that was foolish) on my sim-free white Hero, and suddently the battery life has gone to pieces. It now won't even last the night *in standby with wifi off*.
Any ideas as to the known battery killers, or any way I can track down which is causing this? I don't really have to want to start removing apps at random and monitoring.
There's nothing particularly unusual in my list of running apps, following a power cycle (is there?):
Shake Awake, NetCounter, AK Notepad, OI Update & Countdown, Tube Status, Battery Widget, BBC News widget, Peep
(although that does raise a separate question: why do things like ShopSavvy, AK Notepad, start at boot, when presumably they're not really doing anything until you use them?)
Of course, I have other things that get started asynchronously, just not at boot, e.g. SMS Popup.
anyone got any ideas, please?
thanks much indeed.
Click to expand...
Click to collapse
I had the same issue when i put on battery widget, I saw the % going down while watching the phone.
oh! that's ironic
I do get the impression that it's more recent than that, but it could well be, I suppose. I'll remove it and see... thanks.
I've heard that the bbc widget drains the battery.
This is something Google should address with android market. The system should apply various forms of stress testing to all applications and rate them according to connectivity requirements, CPU load, power consumption etc.
I think for people who have a serious drain they need to hard reset and start again, put 1 program on at a time and leave it a day or so with that program on, finding out whats causing the drain.
Logically thinking, i'd expect it to be a program that is using internet in the background, like the bbc widget which could still be downloading without you knowing.
good points, ta.
I already noticed this. I checked the CPU load in idle mode and normally it should be around 10% (using "System Monitor").
Sometimes however, depending on what apps were running, it is increased to 30-40% and staying there constantly.
Closing all apps (incl. Sense) does not help either, the CPU load won't go down again until i make a complete device reset.
So i guess some processes are stuck in thise case causing the high load (and draining the battery empty).
My GPS did not disconnect, after foto geo-tagging, and that goes quick as well.
Also the BBC-app was installed, but got rid of it because I didn't use it. Might be a coincidence.
The BBC app polls really often. There's no setting to tell it how often to poll. It really kills the battery fast
I wonder though: even when the phone is in standby? something is killing me in standby. Oddly, it seems better if the phone is on
I'll try removing the BBC app overnight, and see...
then the battery widget tomorrow, etc...
cdmackay said:
I wonder though: even when the phone is in standby? something is killing me in standby. Oddly, it seems better if the phone is on
I'll try removing the BBC app overnight, and see...
then the battery widget tomorrow, etc...
Click to expand...
Click to collapse
Turn on usb debugging... download the SDK.. cd into tools.. and run
adb logcat
or to send it to a file:
adb logcat > log.txt
(and ctrl + C to stop logging)
Inspect the log file and you'll see what its upto pretty quickly. Maybe its overkill, but I fire that up when it starts behaving strangly.
EDIT: err to answer your question.. yeah the widgets wake the phone up to grab new data, which eats battery. The BBC news one seems to be polling reallllly often, which is unecesarily using power.
quick update: removed BBC News and Battery Widget (separately), no change; phone still dies overnight, in fact in about 5 hours on standby, from a full battery, to totally dead.
I just this minute discovered that my phone whilst in standby is still polling my IMAP server to try and connect, and I have a huge inbox, which it was prob failing to get the headers for. Seems like a possible bug that it still does this whilst in standby, but I've disabled that account anyway. It might be the cause...
What do you mean by Standby? Just inactive? Airplane Mode?
sorry, poor terminology, perhaps. No, not airplane mode, just the screen-off state it goes into after a few minutes.
It does seem a little bit of a waste, if the phone is going to spend all night checking for new Twitter, Gmail, etc, updates, when I'm not awake to read them? So I'd naively assumed that perhaps it wouldn't do that when it's in the screen-off state. Unless you've asked for notification other than on the top bar, of course?
cdmackay said:
It does seem a little bit of a waste, if the phone is going to spend all night checking for new Twitter, Gmail, etc, updates, when I'm not awake to read them?
Click to expand...
Click to collapse
To be fair, the phone doesn't know when you're going to asleep now does it? (especially if you're a night worker).
I notice that there's an application in the market now which can automatically turn airplane mode on according to a schedule, so that may help but of course this does mean you won't get phone calls!
Regards,
Dave
foxmeister said:
To be fair, the phone doesn't know when you're going to asleep now does it? (especially if you're a night worker).
I notice that there's an application in the market now which can automatically turn airplane mode on according to a schedule, so that may help but of course this does mean you won't get phone calls!
Regards,
Dave
Click to expand...
Click to collapse
No it doesn't but I'm developing a widget which will disable data access at certain times (dependent on user) so overnight it wont use data and save battery.
foxmeister said:
To be fair, the phone doesn't know when you're going to asleep now does it? (especially if you're a night worker).
Click to expand...
Click to collapse
Right; I really meant the following, but worded it wrongly...
I had expected apps not to do data access when the phone's screen is off, unless they have been configured to notify via sound, vibrate or light.
i.e. if an app either isn't notifying, or is only notifying via the top bar, then it should disable its data access when the screen is off.
That would mean a short delay in getting updates, when the screen is back on, but I'd rather have that than spending much battery time pointless checking for updates when I'm not going to see them for ages, whether that's at night or just when the phone is sitting on the desk for hours.
nicelad_uk said:
No it doesn't but I'm developing a widget which will disable data access at certain times (dependent on user) so overnight it wont use data and save battery.
Click to expand...
Click to collapse
aha! that sounds great, thanks in advance
would you update us here when you have something testable, please?
and if it's not pushing my luck to ask: any chance that it might also have a manual switch too, for those of us who go to bed at wildly different times?
Or perhaps there is already a way to disable data access manually, with a single setting change, without disabling the phone? I think there might be...
ah yes indeed, there's even an HTC widget to disable mobile networking, whilst leaving phone enabled. That will do for now
Hello all,
I'm pretty new to all this Android stuff...and forum stuff, for that matter. Your patience is appreciated.
I have a SG Note 3.
I've been learning a bit about battery drain issues and how I can mitigate some of them by shutting down apps in different ways, and have recently been messing around a bit in the application manager and turning off some of the "bloatware" in there.
I live in quite a rural setting, on the fringes of cell reception. There are a couple of different reasons why I am interested to know if it's possible to turn off the phone app when I know that my phone will not have good reception (which causes it to constantly search harder for a signal, thus draining the battery PDQ) but I don't want to power down the device....For instance, when I'm out on my boat, or hiking/camping where there is little or no signal, and I want to use the GPS-related apps.
In the application manager, for some apps you have the choice to 'turn off', and for others the only option is to 'force stop'. The warning prompt that appears somehow seems more ominous for the 'force stop' option. Perhaps I'm just more cautious about 'forcing' any function because of my son having warned me years ago, with computer related issues, about how it's to be used as a last resort, and using it too often is potentially flirting with disaster.
I do NOT want to root my phone, as I don't trust my level of understanding with these types of thing. If it comes down to buying another battery or two and a charger for them and rotating them in and out of the phone, I suppose I may resort to such a PITA, but hopefully some better ideas come up here.
Thanks in advance,
Bruce
Disabling the phone app won't help. What you need to do is turn on airplane mode, then turn on the radios you want on individually (wifi, bt, etc). On stock at least, it'll leave the cellular connection off, and turn on the individual selections until you turn off airplane mode.
Sent from my leanKernel 3.4 powered stock 4.4.2 (NF4) SM-N900T
Has anyone else noticed that notifications seem to be super slow in coming after the Pie update? Line and Email can take up to two hours to exhibit a notification. I've looked at the notifications area of the apps, and nothing appears to have changed that I can see, and I can't find anywhere in Pie to tell it to allow more background time for these apps. I've tried force stopping and restarting with no change.
If anyone has any idea on what is going on, and how to fix it, your help would be most appreciated. Being told your wife left you a Line message 2 hours after she did so, or that your kid sent an email 2 hours earlier, is NOT conducive to a happy home life.
Nobody else has this issue? It appears to be connected to the fact that the phone is sitting undisturbed for a long period of time. If I am carrying the phone around with me, the notifications seem to come as expected, but if the phone is just sitting on my desk for a while, they seem to come from minutes to hours later.
You could try to whitelist those apps on Battery Optimization
I'm no expert, but from what you describe sounds like the phone is entering into Doze and notifications cannot come until the next maintenance window
If a user leaves a device unplugged and stationary for a period of time, with the screen off, the device enters Doze mode. In Doze mode, the system attempts to conserve battery by restricting apps' access to network and CPU-intensive services. It also prevents apps from accessing the network and defers their jobs, syncs, and standard alarms.
Click to expand...
Click to collapse
https://developer.android.com/training/monitoring-device-state/doze-standby
I think white listing the app prevents this behaviour
It does sound like you are correct and the phone is entering Doze mode, delaying the notifications. Thanks for that!
I will check into how to add the email and Line app to a whitelist for Doze. Hopefully it's a simple task, but I don't see anything under Battery doing a quick scan.
Just a follow up. After much searching and reading, I finally found where to turn off battery optimization for the two apps I needed notifications from. FYI:
Most things on the web say to go to Settings->Battery, then hit the three dot menu and select Battery Optimization. This does not appear on my phone. (see screenshot) To get to the list of optimized apps, you need to Search->Battery Optimization, select Battery Optimization from the results (it will take a few seconds to load), then tap Not Optimized and select All Apps. Find the app you want, tap it, then select Don't Optimize. You can also go to Apps and Notifications->Advanced->Special app access->battery optimization.
Whether this will actually fix the problem is another question entirely as most posts say that Doze continues to work. I guess we shall see.
I hope this saves someone the aggravation of trying to find something directly relating to Pie. Most things out there are for older builds.
Also, I turned off Adaptive Battery to see what the actual difference is in my light usage use case. If you are interested in the results of this test, let me know and I will post here.
Glad you were able to whitelist those apps.
I think it's weird anyway, as far as I know deep doze takes hours to trigger and the device has to be completely still. Any movement would take the device off deep sleep and enter a less aggressive doze (where notifications would be checked more often)
You did mention this is your case (you were leaving your device on your desk) but just for curiosity, how long approx would you leave your phone unattended?
Thanks and I hope this solves your issue.
Tepig said:
Glad you were able to whitelist those apps.
I think it's weird anyway, as far as I know deep doze takes hours to trigger and the device has to be completely still. Any movement would take the device off deep sleep and enter a less aggressive doze (where notifications would be checked more often)
You did mention this is your case (you were leaving your device on your desk) but just for curiosity, how long approx would you leave your phone unattended?
Thanks and I hope this solves your issue.
Click to expand...
Click to collapse
Unlike some folks, I am not tied to my phone. It often sits on the desk undisturbed for 3 or 4 hours during the day unless a notification comes in and I pick it up to look at it. Most of my screen time is on my computer, so the phone is the external brain when out and about, but not used much otherwise. At night, I turn on airplane mode until I get up the next day, then turn it off. I'm a retired software engineer, so have no real need for constant communication anymore, and I like it that way.