[REQ] Data connection manager - turn off 3G when inactive - HD2 Windows Mobile 6.5 Themes and Apps

Im looking for an app which turns of data connections when after X minutes of inactivity.
Sorry if this has been asked before, I've done the searches and havent found anything.
Thanks in advance

Big big thread just below yours:
http://forum.xda-developers.com/showthread.php?t=610657

I was running WMLongLife for a couple of weeks when I first got my HD2. It wasn't quite working for me, though, but stuck with it for the sake of my battery life. I was getting 24-36 hours use out of the phone with it installed, so I was reasonably happy.
However, when I uninstalled it, I found I was able to get about 60 hours. I'm not saying this was entirely due to removing WMLongLife, and I admit that usage patterns may have changed (stopped having to show the thing off to everyone) which may have contributed.

Related

android.process.media has started sucking bandwidth

Hi guys,
In the last couple of weeks I noticed my data traffic increased hugely (it used to be around 10MB for a week or so) up to the limit where my phone provider (Vodafone) told me I had reached the limit for my contract (500MB in 7 days). I did some research and it seems that the responsible process is android.process.media, which downloads i don't know what i don't know where at crazy speeds, some megabits per seconds, then stops, and then does it again after some hours.
I really have no clue what this process is doing, and why, since I don't remember changing anything since the time when this problem was not occurring. Any clue? This is really annoying because for the moment I have had to switch off 3G connectivity completely.
BY THE WAY: I don't know if this could be related, but a couple of days ago I was driving in my car and turned to google maps to get my location. Latitude was active and it kept saying that I was in China (!?!?), then as soon as my GPS receiver fixed the signal my location changed to the correct one, and then again back to China etc. For a while I thought that my google account could have been hijacked, but:
1) is it really possible for android malicious apps to steal your google account password?
2) that did not happen again, it just stopped after 10 minutes or so
3) I changed my password just to be sure, but now I am really wondering what malicious apps can do in Android...
I am running the basic nk02 rooted version of the original 1.6 Donut from HTC.
Thanks for your help,
Andrea
I have the exact same problem on a different phone with a different ROM... did you ever find a solution? I hit 5gb in 7 days :/

[REQ] A Better Solution for Data Auto-Disconnect... with Peak Time/Push Mail

Hi folks
I've searched around the forums and have seen a couple of solutions out there for automatically terminating data connections (Bandswitch, WMLongLife, the registry tweak) but each seems to lack some of what I need and do a lot that I don't need.
Here's the lowdown:
- I've already tweaked the Comm Manager to add the 3G on/off switch so I don't need something that messes with that
- I use push email for business so I need the data connection to stay on during the "peak times" that I've set in Activesync (for me, that's 8am-11pm)
- Outside of peak times, I've got the phone checking email every hour. Right now, it seems to be leaving the connection on afterward.
- I want to keep the automatic updates for HTC Sense's weather and stock tabs. Not every 5 minutes, of course, but at least a couple of times a day. Also tends to leave the connection going when used outside peak hours.
As I understand it, the registry tweak won't work for the Sense tabs. Bandswitch and WMLongLife mess with the 3G radio and, as far as I can tell, don't let you set a timeframe (re: the latter - I suppose when you've got push mail going it pings the Exchange server regularly so in theory it shouldn't consider the connection idle, but why mess with it?)
So, in short, anyone got a solution that could switch off an idle data connection outside of the peak times set in Activesync?
If you just want to kill connections during certain times (ie, night time) try G-Profile. I have it set to kill data connections during the night, works fine for me although I am using a new beta version which is available from their site.
Looks interesting but reading through the manual it looks as if you can only set a profile to disable the data connection during certain hours. I'd like to leave the data available, just switch on auto-disconnect.
Plus, again, there's a lot of extra stuff in there that's really not necessary. I'm looking for something more lightweight...
I haven't tried it, but you might want to take a look at CommMgrPro.
It's also from the creator of Bandswitch.
PhoneAlarm can do this.
I had PhoneAlarm installed on my previous phone. True, it can do this.
But again, it's like using a tank to kill a fly. Sam with CommMgrPro.
Is there no lightweight solution?
+1 for this. It has to be possible, everyone just seems to lump the functionality in with a load of other stuff I'm not interested in.
Up, I'm looking for this also
+1
This kind of app is missing...
SO.... last night I left my charging cable at the office and I only had around 20% of the battery left at 11:00pm. For some reason, the thing kept opening the data channel even though it was outside of "peak" hours for push! I had to reset and turn manually turn off all data... couldn't have the phone die overnight as it's my alarm clock!
Any ideas here?
DialUp Enabler Disabler v06
What about this one
http://forum.xda-developers.com/showthread.php?t=610657

[Q] Sudden massive data use

I recently used Windowbreak, and set up internet sharing on my Samsung Omnia 7, following the instructions here. It all seemed to work fine, but I've now had messages from my network (Orange UK) saying that I've gone way over my monthly data allowance. My allowance is 750MB, and I never usually use more than about 400. This month I went over 750 in the first two days!
Orange won't send me a full breakdown, but they did say that the phone is using huge amounts of data at apparently random times in the middle of the night. Not only was I not using it, but it was connected to my home wifi at the time, so shouldn't have been using any 3G data at all! I have only used internet sharing a couple of times, and it's always turned off when I'm not using it.
I'm on 7.10.7740.16. Can anyone help me? Sorry if this has been posted before, I've searched, but only found people with the opposite problem (i.e. no data at all, instead of too much!)
I'm no expert with this stuff, just following instructionhs really, so I'd be really grateful for any help.
Thanks,
Steve.
Did you change any other settings when you used Windowbreak? Have you installed any apps that use frequently-updating Live Tiles? Do you have the user feedback option enabled? When you say the phone is on WiFi, is it actually plugged in? If not, it will turn off the WiFi when the screen is locked in order to conserve battery.
There have been some spikes of data usage in the past, but they were generally tracked down (having an auto-updating Yahoo mail account was a data hog for a few months, for example Some kind of breakdown would help, but You can always just try turning off as many data-using features (Find My Phone, email sync, Live and Facebook messaging, Live Tiles, etc.) as you can find. Then, re-enable them one or two at a time and try to find the culprit. Some people here in the US get by on 200MB or less of data limit (I have no idea how; I can use several times that in a day) so it should be possible.
Thanks for the reply. No, I don't think I changed anything at the same time as setting up Windowbreak and internet sharing, I just followed the instructions for each one. I haven't got any new apps either that would explain the sudden spike in data.
My phone is always plugged in overnight, so I don't understand why it didn't use wifi instead of 3G for whatever it was doing. It might be that it had always used that much data, but it had previously done it through wifi so I hadn't seen it.
The annoying thing is that Orange won't give me a breakdown of what data I'm using until after the end of the billing month, so I can't get real time information to show me what's working and what isn't. Is there any way to monitor data use, or to see which apps are using what?
Thanks,
Steve.
Sadly, that's not currently possible. You could just turn off the cellular data connection (in Settings) at night, but that's awkward and you'd need to remember to re-enable it.

[Q] Is my battery a dud

Hi everyone I'm new to the forums and smartphones. But I got a razr hd from fido a few months ago. I've never compared the battery life and could get 3 hours of screen time on one charge. At first I thought it was great but then I used my friends razr (non maxx like mine). But I could watch 3 hours of YouTube videos with max sound and only used 50% of the battery. I got the warranty from future shop that will replace my battery, but since the battery isn't removable they will replace it with another phone of the same retail value. I turned off all apps, apex launcher, and avg, and used only what he had, JuiceDefender Ultimate and SwiftKey. My battery was about the same.
I don't get even get three hours of screen out of mine with brightness at around 40% and I have the maxx. I game a lot on mine though and talk a lot on the phone. I think the battery figures were obliviously under the ideal circumstances, so in the real world that's pretty good what your getting.
Do a side by side with both devices and see what the difference is.
Sent from my DROID RAZR HD using xda app-developers app
Mines just a normal RAZR HD. I'm not in an LTE area like you so I stay on 3G and throttle up to H+ when its transferring data.
I don't game much; my heaviest game is Angry Birds Star Wars which I don't use much so usualy its just Words With Friends.
I don't use it often for phone calls but I do use it. I'm a guy so I'm not talking for hours and hours.
I always get a full day out of it, and by full day I mean 16 hours or therabouts, until I put it to recharge while I sleep.
I'm not using anything to save battery.
I run Apex Launcher opposed to stock.
I run Tasker and have it looking for cable plugged in, orientation, change in wifi connection (nothing major, just gets the SSID and MAC and stores them as variables), and have it looking for screen unlocked and Display off (for ADB toggle).
In the background I'm running NG call recorder, LMT, WhatsApp, Lookout, LocateMyDroid, Words With Friends, TEAM battery bar Pro, Go SMS
Pro, Calengoo, BetterBatteryStats, ModemFastdormancyMonitor, SmartCardService, Google Services, Google Play, and Notification Toggle.
I sync Gmail and Contacts.
I have frozen Acoustic Warning, Audio Effects, Calendar, Calendar Storage, Email, Facebook stays frozen but unfreezes and runs with GPS off when I run a script but I don't use it much and the same for Maps but GPS on obviously (Maps made a differance for me and needed to be refrozen on every boot as well as the ROM seems to unfreeze it at boot time), Google Caledar Sync, Google Play Books/Movies/Music, Google+, Homescreen (default launcer), Moto Chinese Input, Moto English... infact almost everything starting with "moto or Moto is frozen", Quickview, All of Smart Actions, Swype, and Telstra One (specific to my ROM). Of everything frozen, the only things that I think make a significant impact are the way I have Maps and Facebook handled, that they stay frozen and then are called by a script that unfreezes and runs them and refreezes them on exit.
The Motocare may make a differance however I think its something that's needed to see when you have updates.
This list is very specific to my ROM as I'm on Telstra Austrlia which is (so I've gathered) one of the most bloat free ROMs, and freezing is always going to be carrier specific from what I've read about the phone from other people's carriers.
In adition to the freezing, I've stopped heaps of stuff in Autostarts. I don't reccomend messing with this as its easy to get lost and forget your settings. There is no undo or restore to default, so if you get lost then you're only sure fire way is a factory reset. If you feel safe using it though, then its worth having a look through what's starting up (start with just the stuff after boot) and disabling things that aren't needed. There's heaps of apps that run that really don't need to; non system apps I mean. If you get comfortable with it then the next greatest place they like to start up is when new apps are installed or old ones updated but there needs to be some care taken here as some apps do need to know this while others are just spying and wasting resources while doing so. If in doubt, just don't mess with it at all as there's no "set back to default" option.
I don't use Juice Defender, that's something that stuck out at me, is that I don't know how its being used in one of the posts stated above, but in the case of my ROM, the power management seems to be as good as I'm going to get it on its own. Toggling wifi in particular is something that I tried out with Tasker and it was better to leave it alone. I did try an app... I can't find it now but apparently I didn't back it up before uninstall. Its the beta app made by the chip manufacturer that runs in our phones (or so I read anyway) and it spent time in the background collecting data then tried to optimise power management. I think it was okay but I didn't see anything significant. I was hoping it would end the wakelocks that turn the wifi on but it ended up just leaving my wifi on most of the time and then turning it off when I actually was at home, and I couldn't manually turn it on and get a connection. It may be quite helpful for others though... Its the same thing for Juice Defender; I reckon that the way I would use it would be less helpful because of the wifi handling. I've gathered that wifi doesn't so much turn off but just goes into a power friendly state, and that a full toggle on and off takes more power so I ended up leaving that alone entirely. For people with other power issues, for example I stated that I don't use LTE or 4g in my area, then perhaps it could be useful... I can't give advice on that.
...
...but to answer your question, that's how I use my phone and I get at least 6 hours screen time in a 16 hour day. In fact I always get that much (assuming its used that much) and usually more if I need it. I have battery left over but it does admitadly go down quickly after it reaches a point. I would be dissapointed if I got less. I came from the S2 with the Samsung extendable battery (just under %20 more juice than out of the box) and would get 4 or 5 hours on that before it was dead. I think that you have a genuine frustration on your hands, but that you should deal with it slowly and one step at a time, and that the first step is diagnosis and if it were me I would start by switching it to 3g/2g and seeing how that goes for a few days... let it settle in like that and see if it makes any differance after at least a few days later and a few charges of the battery.
By the way, Location services work fine with maps frozen. Another thing I neglected to mention is that I don't use Google Now. All of my apps that use fine or course location work fine (Google ones and third party) with Maps frozen.
Oh... One more edit; I also have DroidWall or some other equivalent firewall installed. I forget which one at the moment but if you use one, make sure it simply is a front end to iptables as there's almost zero resources used in this fashion. As I don't have 4G in my area, I don't know what is best suited for that. Mine is very simple and has a checkbox for wifi and for data, however it makes a lot of sense that a lot of these firewalls may not be updated to be detecting the interface that 4G is running on. This doesn't make a huge difference on my phone and I don't think I would notice any battery savings if I didn't have it but it may be of help if you were hell bent on using 4G, as its supposed to be power hungry, because you can prevent a lot of apps from making a connection to report the crap they discover (Contacts, numbers dialed, etc) and block ads in some games that don't otherwise need the internet to be played. At the same time, I'm honestly not sure if the results would be good or bad... for example if an app persistently tries to make a connection and isn't programmed to give up when the connection is timed out then that would be bad. I still thought I'd throw it in there. It would actually be one of the last additions I'd make to my phone after being finally satisfied with the power management. Its also something that you need to be aware of, for example if you can't play a game or use an app, it can cause you (me) to uninstall and reinstall only to find that I had firewalled it when it needed to have a connection. Some apps need to connect to check the validity of their licence as well and you just need to be aware and enable it when it shows up.

CM11 M7 Wifi dead? here's a potential fix

OK, so I know M7 isn't the latest CM build, but it's the latest one without issues with GPS, so that's what I'm on since I use GPS a lot.
So last week I replaced my home router. This of course means reconfiguring all the wifi devices around the house, including my wifi thermostat. The unique thing about the thermostat is that to configure it, you connect a laptop/phone/tablet to the thermostat's ad-hoc wifi network, tell it which infrastructure ssid to connect to, verify a pin from the thermostat's screen (so nobody can hijack your t-stat from outside the house), and that's it.
thing is, when you use Cyanogenmod (at least on the relay) to connect to an adhoc network, it breaks wifi. what happens is you can't connect to any other wifi networks, and can't even scan to see available networks till you reboot. sometimes it doesn't work even after a reboot. strangely, the tethering/hotspot still works fine. you just can't connect the phone to a hotspot whether it's at home or work or anywhere.
i'd been having other issues and general slowness with the phone, so i decided to backup a few apps with TiBu and do a factory reset. that worked... till i tried connecting to the thermostat again, and it broke wifi completely this time.
solution? go to /data/misc/wifi/ and rename wpa_supplicant.conf to wpa_supplicant.conf.old (or whatever, as long as it's a different name) and reboot. the system will automatically create a new conf file. boom - wifi fixed.
obviously this requires root, but that's not an issue in CM. I doubt it matters, but i used ES file explorer since it's got a good root filesystem browser and mounting / or system as RW is a simple matter of a checkbox in the settings.
when i compared the newly created wpa_supplicant.conf with the one i'd renamed (.old) the only real difference i could see was the saved networks at the bottom. so you might be able to get away with simply deleting the offending network={ blah blah } section instead of completely renaming the conf file. the advantage here would be if you have a bunch of saved networks that you don't want to get rid of, it will keep those saved networks. the conf file is a plaintext file so it's easy enough to understand what you're looking at, and modify appropriately.
MODS: I apologize if this is in the wrong forum. I figured since it probably only applies to CM, I should post it in the dev forum rather than the general one. If it needs to be moved, I don't be offended.
Gibson99 said:
OK, so I know M7 isn't the latest CM build, but it's the latest one without issues with GPS, so that's what I'm on since I use GPS a lot.
So last week I replaced my home router. This of course means reconfiguring all the wifi devices around the house, including my wifi thermostat. The unique thing about the thermostat is that to configure it, you connect a laptop/phone/tablet to the thermostat's ad-hoc wifi network, tell it which infrastructure ssid to connect to, verify a pin from the thermostat's screen (so nobody can hijack your t-stat from outside the house), and that's it.
thing is, when you use Cyanogenmod (at least on the relay) to connect to an adhoc network, it breaks wifi. what happens is you can't connect to any other wifi networks, and can't even scan to see available networks till you reboot. sometimes it doesn't work even after a reboot. strangely, the tethering/hotspot still works fine. you just can't connect the phone to a hotspot whether it's at home or work or anywhere.
i'd been having other issues and general slowness with the phone, so i decided to backup a few apps with TiBu and do a factory reset. that worked... till i tried connecting to the thermostat again, and it broke wifi completely this time.
solution? go to /data/misc/wifi/ and rename wpa_supplicant.conf to wpa_supplicant.conf.old (or whatever, as long as it's a different name) and reboot. the system will automatically create a new conf file. boom - wifi fixed.
obviously this requires root, but that's not an issue in CM. I doubt it matters, but i used ES file explorer since it's got a good root filesystem browser and mounting / or system as RW is a simple matter of a checkbox in the settings.
when i compared the newly created wpa_supplicant.conf with the one i'd renamed (.old) the only real difference i could see was the saved networks at the bottom. so you might be able to get away with simply deleting the offending network={ blah blah } section instead of completely renaming the conf file. the advantage here would be if you have a bunch of saved networks that you don't want to get rid of, it will keep those saved networks. the conf file is a plaintext file so it's easy enough to understand what you're looking at, and modify appropriately.
MODS: I apologize if this is in the wrong forum. I figured since it probably only applies to CM, I should post it in the dev forum rather than the general one. If it needs to be moved, I don't be offended.
Click to expand...
Click to collapse
It does belong in q&a...but my lollipop validus has working gps
REV3NT3CH said:
It does belong in q&a...but my lollipop validus has working gps
Click to expand...
Click to collapse
As does FatToad. However, I do know that the privacy bit in the GPS can be flipped with the drivers we're using in FT. There's an old thread with a post from nard about how to fix that.
Magamo said:
As does FatToad. However, I do know that the privacy bit in the GPS can be flipped with the drivers we're using in FT. There's an old thread with a post from nard about how to fix that.
Click to expand...
Click to collapse
Do you understand more about this "privacy bit", what call in the API flips it, or can give me any other pointers about it? The poster previous to you indicates that GPS works with M7. I thought I had it working with M8, but can't really guarantee that, any more. The post from nard was quite an onerous process, including what looked like reflashing the baseband.
It seems to me that if we really understood this problem, the fix would be quite simple, and could be done by a root-access app. I've done more digging, and see that it seems to be common to many models of Samsung Galaxy phones, and some of the fixes involve doing potentially horrible things to the NVRAM. (like clearing it completely - what could possibly go wrong?)
It seems that the GPS is done in the baseband processor, along with the other radio stuff, but so far I haven't been able to find it. The transceiver chip is just a transceiver, no baseband processor. It looks like the baseband processor might be on the Snapdragon main processor chip, though they don't enumerate it well. In addition they mention a "gpsOne engine" without describing exactly what it is.
I'm still relatively ignorant about Android, a year after getting one. (not enough time) I'm better versed on hardware, but this problem seems to be in the cracks between.
Come to think of it, a simple question... Is there documentation on the communications between Android and the baseband processor?
Gibson99 said:
OK, so I know M7 isn't the latest CM build, but it's the latest one without issues with GPS, so that's what I'm on since I use GPS a lot.
Click to expand...
Click to collapse
I just took my wife's phone outside and tested it. GPS works on M8 from last summer, as does wifi. AFAIK the only thing that doesn't work on M8 is the video camera. (Stills on the camera work.)
This was an older phone than mine, purchased after mine. With mine I didn't need the radio or bootloader updates, my wife's did. I bought the phone for her, used it briefly with my PureTalkUSA SIM card to make sure it was really unlocked. Then I put CM11 on it.
phred14 said:
I just took my wife's phone outside and tested it. GPS works on M8 from last summer, as does wifi. AFAIK the only thing that doesn't work on M8 is the video camera. (Stills on the camera work.)
This was an older phone than mine, purchased after mine. With mine I didn't need the radio or bootloader updates, my wife's did. I bought the phone for her, used it briefly with my PureTalkUSA SIM card to make sure it was really unlocked. Then I put CM11 on it.
Click to expand...
Click to collapse
no idea how old mine actually is; i bought it "like new" from a tmobile reseller here in town and i actually use tmobile for service.
right now i'm on fattoad and once i stepped down my paranoia (i turned on privacy guard for everything including all system apps. hint: don't do that ) it seems good so far. nova launcher has an issue with flickering or disappearing icons, and everything is huge (i need to adjust the dpi) but so far no issues with gps or wifi (though i havent needed to connect to an adhoc network yet).
Do be careful with Privacy Guard. I didn't mention, but although Privacy Guard out of the box tends to make it so that most system apps are unable to be tuned, TeamApexQ likes the option of being able to tune everything in that regard, so we removed the safeguard. (For example, when PG was first ported to CM12, you could tune the settings of the 'Settings' app. Then at our next internal testing build, it was suddenly coming up empty, because CM made a change to exclude tuning for it. We restored full capability because we liked it. But that does mean you can more easily 'shoot yourself in the foot'.
Magamo said:
Do be careful with Privacy Guard. I didn't mention, but although Privacy Guard out of the box tends to make it so that most system apps are unable to be tuned, TeamApexQ likes the option of being able to tune everything in that regard, so we removed the safeguard. (For example, when PG was first ported to CM12, you could tune the settings of the 'Settings' app. Then at our next internal testing build, it was suddenly coming up empty, because CM made a change to exclude tuning for it. We restored full capability because we liked it. But that does mean you can more easily 'shoot yourself in the foot'.
Click to expand...
Click to collapse
I've recently begun to wonder if Privacy Guard might be partially responsible for reduced battery life. I'm under the impression that it lies to apps, providing false information when they have insufficient authority for the real information. Some of those permissions in Privacy Guard are to turn radios on and off. If an app thinks it's turned a radio on, and is trying to communicate based on faked (Really, it's going to look like a failure, at this point.) returns, it may spend more time continuing to try instead of just staying asleep. My battery life comes an goes, but I've noticed that on a "bad day" there are quite a few wakeups in the middle of nowhen, when the phone was sitting there in airplane mode with all radios off.
Of course I may be all wet on this - radio control may be one area where it can say, "You're in Airplane Mode, no program can turn the radio on."
good theory, and like you said, it depends on the app and how pg implements each block.
personally i'm having great battery life in L. i have a 5000mah battery, but usually by this point in the day i'm at about 60%. right now i'm still at 83%. i like how it projects your estimated remaining battery time. first time i looked at the battery chart, i lol'd - it was projecting 4.5 days before it died. i can probably get 2 no sweat even with regular usage, but i'd have to turn off sync and really cut back to make it 4 days.
I've had very good results with some simple rules with Privacy Guard. Generally the only thing I've turned off is the ability for Google Play Services and the Google App (Google Now) to wake up my device and to keep it awake. With those turned off, my battery life has gotten to be pretty damned nice... Though it makes Google Play Services FC once maybe every 24 hours. It restarts just fine, no harm no foul.
My battery life seems to be "bimodal". It either barely makes it 24 hours - basically needs recharging every night, or it lasts on the order of three or four days on a charge.
It seems to be somehow wifi-related, if I were guessing, and in an odd way. If wifi is largely off, but occasionally on, the battery life seems shorter. After wifi has been left off for "a while" (quantity not yet determined) it seems to go into long-battery-life mode. If I keep wifi largely on, and occasionally off (basically between known/trusted wifi places) the battery life comes out somewhere in between, consistent with wifi itself taking some power.
It's been really tough to detect any sort of pattern, but this is the best I've been able to come up with so far. I haven't done rigorous testing, or at least attempts at rigor so far have yielded inconsistent results. I've looked at what the Settings->Battery has available for power diagnostics, and one thing I noted was a lot of spurious wakeups when all radios were turned off. That's what led me to tentatively finger Privacy Guard.
I just saw the setting to show "built-in" apps on PG. I see two different entries for google.services and google.services.framework. The former has scads of wakeups - thanks for the tip. The latter has many, but a much smaller number. Did you block wakeups for both? I presume "built-in" are also "system" that others have said shouldn't be bulk-denied in PG. Are there guidelines anywhere about which are OK, which are useful, etc? (Like this case, and perhaps battery life.)
phred14 said:
My battery life seems to be "bimodal". It either barely makes it 24 hours - basically needs recharging every night, or it lasts on the order of three or four days on a charge.
It seems to be somehow wifi-related, if I were guessing, and in an odd way. If wifi is largely off, but occasionally on, the battery life seems shorter. After wifi has been left off for "a while" (quantity not yet determined) it seems to go into long-battery-life mode. If I keep wifi largely on, and occasionally off (basically between known/trusted wifi places) the battery life comes out somewhere in between, consistent with wifi itself taking some power.
It's been really tough to detect any sort of pattern, but this is the best I've been able to come up with so far. I haven't done rigorous testing, or at least attempts at rigor so far have yielded inconsistent results. I've looked at what the Settings->Battery has available for power diagnostics, and one thing I noted was a lot of spurious wakeups when all radios were turned off. That's what led me to tentatively finger Privacy Guard.
I just saw the setting to show "built-in" apps on PG. I see two different entries for google.services and google.services.framework. The former has scads of wakeups - thanks for the tip. The latter has many, but a much smaller number. Did you block wakeups for both? I presume "built-in" are also "system" that others have said shouldn't be bulk-denied in PG. Are there guidelines anywhere about which are OK, which are useful, etc? (Like this case, and perhaps battery life.)
Click to expand...
Click to collapse
It's difficult to give tips for this, because everyones' usage is different. Get 'WakeLock Detector' and keep an eye on that when your power drain seems more intense. Disable things that make sense to disable based on that.
I know this isn't really the topic, but just because you get a new router doesn't mean you have to reconfigure everything. Why couldn't you just configure the new router with the SSID and password from the old one?
slartibartfast42 said:
I know this isn't really the topic, but just because you get a new router doesn't mean you have to reconfigure everything. Why couldn't you just configure the new router with the SSID and password from the old one?
Click to expand...
Click to collapse
believe me, i tried that. it's stupidly tedious to enter a long keyphrase via the remote control on our tivos and only slightly less tedious on the roku (its remote is much more responsive). laptops and phones aren't as bad since they have keyboards. apparently the devices are smart enough to notice a different MAC behind the BSSID. which if you think about it, is actually a GOOD thing in terms of security, since it makes spoofing a little more difficult. granted, you'd also have to know the wpa key to successfully spoof, but it's a simple check to implement for security's sake, and i'm glad they did.
by the way, do you like fjords?
Magamo said:
It's difficult to give tips for this, because everyones' usage is different. Get 'WakeLock Detector' and keep an eye on that when your power drain seems more intense. Disable things that make sense to disable based on that.
Click to expand...
Click to collapse
"Wakelock Detector" has certainly been enlightening. "Google Fit", which makes sense, once you think about it. But the other aspect that was even more important, I just happened to see when one of the other forums popped up on some sort of search result or other.
You have to boot your Android device on battery. If the kernel starts up on charger, it never gets into the deepest power-saving states. When I first started using Wakelock Detector, my phone showed up as being awake something like 97% of the time. Google Fit was the biggest user, but not that big. After seeing that advice I've been careful to boot on battery, and now most of the time is spent asleep. Google Fit still uses wakes as much, but when it's not, the phone is really sleeping. My normal battery life has moved out to two or three days, sometimes into a fourth. As long as I consider Google Fit worth having around, this battery life is good enough for me - there is always a decent window to recharge.
phred14 said:
You have to boot your Android device on battery. If the kernel starts up on charger, it never gets into the deepest power-saving states.
Click to expand...
Click to collapse
So much for that theory. A day or two back, after good battery life since this post, I noticed it draining faster. Today I looked, and sure enough, it's not going into deep sleep. I tried rebooting with all four states of wifi and cell service, and nothing has gotten deep sleep back. I think I'm going to try charging tonight, booting while charging, then rebooting after disconnecting. It would be good to have an exact and repeatable set of circumstances that cause both good and bad battery life.

Categories

Resources