Background GPS Logging? - Mogul, XV6800 General

I'm interested in using the new GPS abilities of my Mogul to create GPS logs and tag photographs based on that data. I've found some good programs, but all seem to have the same problem - they stop working or crash when the device is put to sleep.
I've tried the Sunset GPS logger and NoniGPS and both have the issue. Sometimes even causing "Device.exe" to crash warranting a request to send microsoft a report.
Ideally, I would like to start one of these programs, then hit the power button and go about my business. If I get a call, or switch applications, I would like to maintain a log of my location. Is this possible?
Thanks in advance.

I used sunset just the other day to log my gps points for phototagging - worked just fine when I pushed the power button to turn off the screen etc. It kept logging points. Now this was before installing 3.35 so who knows now, but It seemed to work just fine for me.
What/how was it causing problems or crashing? did you have a bunch of other things running that possibly it ran out of RAM?

Related

Problem with GPS and unattended mode

Hi
I'm developing a GPS application (http://www.marathon-mobile.net/Download/DownloadLatestVersion), its working fine on most phone but I'm having some problems with HTC HD2.
The problem is that the GPS doesn't seem work when the phone is locked.
I have set the following:
PowerPolicyNotify(CoreDll.PPN_UNATTENDEDMODE, true)
SetPowerRequirement("gpd0:", CedevicePowerStateState.D0, POWER_NAME | POWER_FORCE, null, 0);
I'm also calling SystemIdleTimerReset(); every 100 ms.
This seems to work for all other devices (I havent received any complaints about them), but no the HTC HD2. Have anyone else experienced problems with HD2, do I have to set any other Power Policies for this device?
//Johan
I think another app got the same problem as well. I run the wmTorrent on my HD2 and when the screen's locked the WiFi shows reconnection when I unlock it. It seems to be some sort of power saving feature that's cutting off everything when it's idle (including GPS). I take it you're requesting GPS data via Windows API.
Nice app by the way, saw it on the marketplace and was gonna place an order. I'll wait till it's fully supported on HD. Let us know pls.
I see.. Thats maybe why I can not get TrackMe to work..
Sounds to me like some kind of power saving design. After all the HD2 haven't exactly got the biggest battery in the world.
Sorry guys, that comment doesn't really help solve you problem I know.
But it would be interesting to know if this is a Microsoft / HTC design 'feature'...Maybe it's worth checking with Acer Neotouch / Omnia II user?
Or does this issue exist on any other WM6.5 handset?
I have installed OziExplorerCE GPS Mapping and Real Time Tracking Software, and it has an option to turn the display off whilst leaving the GPS functioning, pressing the <end> button will turn the display back on as per normal.
This is definitely different to pressing the <end> button to suspend the device as if I do this then Ozi also wakes up with a reconnecting to GPS message.
I have tried this with both TomTom and Oziexplorer running, and as long as I use Ozi's own display off option, both programs keep running and tracking movements.
So it seems that it is possible to do what you wish.
abucas said:
I have installed OziExplorerCE GPS Mapping and Real Time Tracking Software, and it has an option to turn the display off whilst leaving the GPS functioning, pressing the <end> button will turn the display back on as per normal.
This is definitely different to pressing the <end> button to suspend the device as if I do this then Ozi also wakes up with a reconnecting to GPS message.
I have tried this with both TomTom and Oziexplorer running, and as long as I use Ozi's own display off option, both programs keep running and tracking movements.
So it seems that it is possible to do what you wish.
Click to expand...
Click to collapse
Sounds like they use SetSystemPowerState(null, POWER_STATE_IDLE, POWER_FORCE); in combination with multiple calls to SystemIdleTimerReset(); This could be a solution. Unfortunately it keeps the entire device in on, so it'll consume more power than just keeping the GPS on. I've currently sent a version to a tester with this enabled, so we'll see if it works.
I'm still interested in a solution using unattended mode if its possible. It could be as easy as setting another power requirement, if so we just need to find it.
Thanks for all the replies .
Good to find that, I will need that for SciLor's GrooveMobile

Google Latitude + HTC HD2 = Not updating properly

Hi Guys,
This has sorta been covered in the Google Mobile forum but I have yet to see anyone that has tested the Google Latitude in their HTC HD2.
The thing is, Latitude works but with 2 serious practical flaws:
1. Phone must be on, no standby so only can do minimum backlight.
2. Latitude does not work when Mobile Google Maps is minimised, ie. if you lock the device and although the phone is on, Latitude won't update.
What the Latitude suppose to do:
1. Still update location even if Google Maps minimised (phone must be on)
2. Still update location even if Google Maps has exited, but you check the "Yes" option for background updating (phone must be on)
So in real terms, you can't even put the phone in your pocket as the screen is not locked and it could start dialling someone in your contact list, let alone change settings for other programs.
It would be nice if Latidude can do its 2 main features above properly with the phone turned off, ie. you can still receive a call when the phone is off, weather still updates when the phone is off.
Anyone with similar issues I would appreciate any comments you may have.
Hi, I have this problem, too.
Mine does update the position when GM are closed nad 'yes' is choosen. Every 20 minutes, as it is supposed to do. It also uses only fast BTS fix, not GPS.
GM use notification (low-level alarm) to wake the phone up after 20 minutes and update the position. You can you for example FDC task manager to check if the notification exists after closing GM. It has page with notifications. You should see something with 'google' there, with time set 20 minutes after the GM exit.
http://www.dotfred.net/TaskMgr.htm
I'm not sure how it works with GM only minimized. Will report later.
It seems to update the location once per 20 minutes also when minimized (and not asleep (in charger).
Works every 20 minutes with application minimized and device asleep.
Btw. my version is 3.3.1
Latitude updates work or not.
Maybe my experiences helps.
I've been using the HD2 for a few weeks now. During initial startup several questions are asked. One of them seems to be if you want to allow location updates to be send from your phone.
Out of the box I had some time and answered all these questions. Next few weeks my friends tell me my Latitude position was being updated. I never started Google Maps though. Not once.
After a few weeks I had to upgrade the ROM (SMS bug). This time I did not take the time to answer all the questions (next next skip skip). In my opinion I would be able to set these settings in several menu's later on. As from this point on Latitude behaves like reported on this thread. Only updates when Maps is active.
Sorry to wake this topic but it seems still unresolved and I have some input.
Given that you have accepted the terms and conditions, especially location updates to be sent from your phone, Google Maps should update your position every 20 minutes, regardless whether it is running or not.
Once we have program settings out of the way as a reason, I think the problem is not related to Google Maps at all, but is actually an internet connection issue. In other words, I think GM is correctly updating your position every 20 minutes, it just cannot send it over the Internet for other people (and yourself) to use it.
Why do I think so? Because I have exactly the same problem as you guys describe, but only while at home. As strange as it sounds, the moment I go to my office, my position is perfectly updated every 20 minutes (I can see it on my Google account), but when I leave the office, my location stops updating. Mind it I never change any settings when I enter my office so this cannot be related to any activity I did. The only way I can explain this is that when I leave the office, my phone fails to connect and transmit my position, while it succeeds while I'm in the office.
As a next step I am trying to troubleshoot internet connections. I think the phone is using wifi to transmit location information. If it was using the GSM network, it wouldn't behave differently when I am on different places (the mobile operator is always the same and the Internet settings are always the same).

Lock the screen but leave the GPS module running?

I don't know if this is really just a "screen lock with disabled bits" or if this is some full-blown idle mode, but I was wondering...
I don't have any car-accessories, but I'd still like to use TomTom. Now, TT offers some nice voice guidance, which is more than enough for just getting around (if I ever get really lost, I can pull over and pick the thing out of my pocket).
However, leaving TT running in my pocket means that the screen is on, the display changes and thus battery will be drained considerably faster than if the thing would be locked... not to mention an accidental press of a button (it's in my pocket, after all).
However, locking the phone turns the GPS off, so even if I leave TT running in the background it does me no good.
Is there anything I could try out in such a case?
So... this is impossible? :/
Nothing specially made for that has been released that I know of.
But from info I could gather around, RunGPS has the capability to be set to turn off the display leaving the GPS running.
So you could just install rungps as well, set it to turn off the display with GPS on, and at the same time also run your fav GPS app, tomtom in this case.
What should happen is that the screen will go off with the GPS still working (thanks to rungps) and tomtom will run in background being now able to access the gps device (still thanks to rungps).
Still worse for battery than having only the useful app running (as rungps will take some cpu cycles for itself and will cause more load on the device) but should still be better than leaving the display on at all times.
Let us know your results.
hey what do you know, 900th post
Hmmm... strange... Last I've noticed my GPS kept runnung while the device was locked. I used NaviComputer to track a walk I did with a friend and had my HD2 locked in my pocket most of the time.
ThoroSOE said:
Hmmm... strange... Last I've noticed my GPS kept runnung while the device was locked. I used NaviComputer to track a walk I did with a friend and had my HD2 locked in my pocket most of the time.
Click to expand...
Click to collapse
uhm, don't let that fool you.
First times I used navicomputer just for fun, I thought gps was running in background, but only later I realized that the GPS signal was restored right after turning on the display, and navicomputer was showing a straight line going from my latest positiotn before turning off the display, to the first positiotn it got after wakeup... and I'm sure of that since I double checked several times
In case you check and you DO have your GPS on at all times with device in standby using navicomputer, please let me know the list of installed programs you have (I doubt it tho)
jan-willem3 said:
Change this with your registery
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\State\Resuming]
"gps0:"=dword:00000001
"gpd0:"=dword:00000001
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\State\Unattended]
"gps0:"=dword:00000001
"gpd0:"=dword:00000001
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\State\Suspend]
"gps0:"=dword:00000001
"gpd0:"=dword:00000001
Normaly the numbers are on "4" - put this on "1" and gps should stay awake even when you put the phone in standby.
It will stay on until a program stops using the gps.
Click to expand...
Click to collapse
Bib_x said:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Unattended]
"gps0:"=dword:00000001
This was already "0". I changed it to "1", too.
Click to expand...
Click to collapse
Try this. It works on my HD2. I use Run.GPS to log my tracks while jogging or mountain biking.
Other way to keep gps-fix while screen is off - you have to do only a "screen off", not "standby". I did it with AEButtons+ (e.g. screen off on long-press green call-button) - but with this reg-changes it works better for me.
Or you can only lock your phone and let it go to standby on its own. Then gps-fix will still keep alive. GPS-fix only gets lost if you press hardware-power-button (red end call button) - and registry not changed like above.
Bib_x said:
Try this. It works on my HD2. I use Run.GPS to log my tracks while jogging or mountain biking.
Other way to keep gps-fix while screen is off - you have to do only a "screen off", not "standby". I did it with AEButtons+ (e.g. screen off on long-press green call-button) - but with this reg-changes it works better for me.
Or you can only lock your phone and let it go to standby on its own. Then gps-fix will still keep alive. GPS-fix only gets lost if you press hardware-power-button (red end call button) - and registry not changed like above.
Click to expand...
Click to collapse
Awesome, thanks!
I'll try it out tomorrow. A bit too late to go for a walk now.
Bib_x said:
Try this. It works on my HD2. I use Run.GPS to log my tracks while jogging or mountain biking.
Other way to keep gps-fix while screen is off - you have to do only a "screen off", not "standby". I did it with AEButtons+ (e.g. screen off on long-press green call-button) - but with this reg-changes it works better for me.
Or you can only lock your phone and let it go to standby on its own. Then gps-fix will still keep alive. GPS-fix only gets lost if you press hardware-power-button (red end call button) - and registry not changed like above.
Click to expand...
Click to collapse
as far as I know rungps is able to use the gps during screenoff as a feature.
I tried locking the device without pressing endbutton, but navicomputer loses the fix no matter what.
I also noticed thos reg patchesin some other thread but I also read there that other users tried them with no avail; did you test those registry fixes with software other than rungps by any chance?
Without these reg-changes i tested RunGPS and when i press hardware-power-button - GPS-fix was getting lost.
If i only did a screen off - then GPS-fix was still there.
Now with these reg-changes i can press hardware-power-button during running RunGPS and GPS-fix is still there.
I did only test with RunGPS because that is the only GPS-app i want to use while screen is off/device in standby.
If i use a navigation software (iGo8), then i want to have screen always on- so i didn´t test this scenario.
Bib_x said:
I did only test with RunGPS because that is the only GPS-app i want to use while screen is off/device in standby.
If i use a navigation software (iGo8), then i want to have screen always on- so i didn´t test this scenario.
Click to expand...
Click to collapse
I see, thank you, let's wait for the OP to test this himself.
Since I already knew rungps has a feature to turn off screen without losing gps signal, I don't think it's the reg settings, but rather it's rungps itself that allows you to do that; since you couldn't test different apps we don't even have a verification
I may try to get at it tomorrow, no guarantee I'll have the time tho
I´ve installed sportypal, too. Maybe i can make some tests this weekend.
Bib_x said:
I´ve installed sportypal, too. Maybe i can make some tests this weekend.
Click to expand...
Click to collapse
us wants tests with navicomputer
No really, navicomputer is cool anyway, so install that too since you're at it
All right! I'm back with some results. Now, a quick note: I switched to MapaMap, a Polish map application, as it has a lot better maps for Poland.
I performed two tests: firstly, I started a route around the street and used the softftware lock to lock the screen. Result? MM application kept running and kept talking to me. Nice. However, this is still vulnerable to the physical button being pressed and locking the phone; when that happens, MM looses GPS and, in fact, I think the system somehow pauses this applicaiton altogether (more on that in the next bit).
So, since the physical button is still possibly a problem (after all, during driving the phone is in my pocket, and it's not really difficult for that button to be pressed), I tweaked the registry as Bib_x suggested. However, it seems that even IF the GPS module was still running, the MM application enters this weird suspended state, and whenever I resumed it, it would always greet me with a "searching for GPS signal" message. Granted, it would find the signal very quickly, but it still didn't work while the screen was off.
The odd thing is that mode the application went into. Normally, when it's minimised, I can pick it from the task-switcher and bingo! It's instantly back up. But when I press the hardware lock button and then unlock the phone, I get the Windows "please wait, I'm working" wheel in the centre for a while, before the app is restored.
I can check with TT again to see if the problem is restricted to only MM, but something tells me it's not an isolated case. So now I'd need to figure out a way to keep MM working when the phone is locked; kind of like the music player.
EDIT: TomTom resumes a lot faster, but it still looses GPS; right after resuming it says "no GPS device", and that's with the registry changes applied and after restarting the phone.
Shaamaan said:
EDIT: TomTom resumes a lot faster, but it still looses GPS; right after resuming it says "no GPS device", and that's with the registry changes applied and after restarting the phone.
Click to expand...
Click to collapse
exactly my experience with any other gps software.
Didn't even try the reg tweaks as I didn't trust them that much.
Just try installing rungps as per my suggestion and using that at the same time with your fav navigation software, maybe the fact that rungps keeps the gps subsystem working while screen is off makes also the other app do its job.
After some more fooling around, I've made it, albeit I fear this method might be limited to MapaMap only.
When installing MM there are two options: either installing onto the HD2 or directly onto the MicroSD card. The former option will always install something called "wake up plugin" (might be worded differently in English) which doesn't show up in the "remove applications" menu, so it's more of an integral part of MM and probably can't be removed in this case. In the latter option, this plugin won't be installed, and in fact, is unavailable.
Initially, I've installed the app directly onto the phone, so that plugin was included automatically. My guess is that THIS was the bit responsible for putting the app into some sort of "sleep" state. However, when I installed the app onto the SD card without the plugin, I could lock the phone using the end-call button and the app wouldn't shut itself down like that; it even kept talking to me during the ride, so everything worked. Once more, I can confirm: THE SYSTEM KEPT ON WORKING DESPITE BEING LOCKED - I drove quite a distance and took some different turns, and the phone kept nicely informing me of the new distance and of upcoming turns.
This was all done using the registry settings suggested in this thread! Without them, the app will loose GPS data when the phone is locked, and if I set it to record my movements, it'll create a straight line between the start and end point, with a "no GPS signal" in the middle
EDIT: Do the registry values 1 and 4 mean "always on" and "always off"? What about values 2 and 3? I'm assuming there's no way to make the GPS module "smart", so that it's turned on only when needed? Or is it possible to add a manual switch for the GPS module to the Comm Manager?
GPS will only be on if a program sends this comand. And if you end the program, then this program sends a kill-comand to gps.
Have you tried with Pocketshield screen lock?
There is a setting at Locking > "Except when...", there you add exceptions to applications which will be allowed to continue running with the screen turned off.
The reg edits work for me with GPS Tuner and google maps, not with iGO8. I had actually tried that myself, but only the ones in "unattended" and set to 0 instead of 1 (as that's the fix that's used to keep music playing in Coreplayer and that works), but apparently it wasn't enough for the GPS. Good news

Specific Tasker profile help

I figured this thread was a good place for this. If not, please re-direct me...
I'm looking to create Tasker profile "A" that stops Tasker profile "B" if; there is WiFi activity from app "A" in the past 5 minutes or less, and if there is a download in progress. Is this possible? And could I get some direction/ideas? Any help is appreciated!
-XDA Premium on CM7 Nook Color
What to you mean by "wifi activity"? Do you mean traffic throughput, on/off or connected/disconnected events?
bobstro said:
What to you mean by "wifi activity"? Do you mean traffic throughput, on/off or connected/disconnected events?
Click to expand...
Click to collapse
Any activity other than updates, basically any active uses but not passive. I have a profile that shuts down the wifi after 5 minutes of the display being off but wanted to add exceptions such as I'm in the middle of a chat with a chat app that is always logged on so the wifi won't go off until a certain time after the last active wifi action from that specific chat app
-XDA Premium on CM7 Nook Color
Tasker lets you set up scripts to respond to states and events. You should be able to set a task to trigger on screen off and not a list of specific apps running. I do this with GPS on my phone so it only (and always) comes on when specific apps are running. In your case, something like "screen off and not chat running".
Tasker is pretty slick, but it's not always quick. I find it's fine for turning things off, but it sometimes is slow turning things on in a responsive manner. The GPS doesn't always get turned on in time for Maps not to complain, for example.
The problem with Tasker is that it can tell if an app is running in the foreground, but not whether it's passing traffic, at least in my experience. For the rudimentary wifi functions on my NOOKcolor, I found Green Power just as effective. It will shut down wifi after a period with no traffic, and periodically turn it back on to sync on a schedule, if you want. It is not sensitive to a specific app running, however.
bobstro said:
Tasker lets you set up scripts to respond to states and events. You should be able to set a task to trigger on screen off and not a list of specific apps running. I do this with GPS on my phone so it only (and always) comes on when specific apps are running. In your case, something like "screen off and not chat running".
Tasker is pretty slick, but it's not always quick. I find it's fine for turning things off, but it sometimes is slow turning things on in a responsive manner. The GPS doesn't always get turned on in time for Maps not to complain, for example.
The problem with Tasker is that it can tell if an app is running in the foreground, but not whether it's passing traffic, at least in my experience. For the rudimentary wifi functions on my NOOKcolor, I found Green Power just as effective. It will shut down wifi after a period with no traffic, and periodically turn it back on to sync on a schedule, if you want. It is not sensitive to a specific app running, however.
Click to expand...
Click to collapse
Well if it can't detect certain traffic then I guess Green Power is my next shot. Thanks for the advice.
Tasker Read SMS
Hi. I installed Tasker and am trying to follow their walk throughs but the current version appears to be entirely different and I just can't figure out how do do any of this stuff. Could really use some help or an XML file. All I want to do is set up a profile that turns on bluetooth, gps fires up Google Maps and then starts listening for SMS text and read the SMS by voice if I get one.
All of their examples don't really jive with the way Tasker seems to work now.
Avatar, there are some obvious barriers I can see right off the bat, namely, no GPS or SIM card on the nook. Most of Tasker's functions (and wiki pages) relate to built in android functions so for example, instead of one action to enable GPS, it becomes a complicated series of actions such as enabling bluetooth, loading whichever bluetooth/gps app you use to connect, and simulating the correct sequence of button presses, waiting for it to connect, as well as dealing with it if it doesn't connect on the first try. It's very shonky and prone to failure compared to just enabling GPS on a device which has it.
I'd imagine the sms stuff is even more complex as you're already using a workaround to have that ability in the first place, so you'll have to work around that workaround, like the GPS. I bought a cheap phone to handle all that and its a much more straightforward and enjoyable car/tasker experience, minus the 7 inch screen.

Searching for GPS wont go away

i came from 4.2.1. updated to 4.2 and now my tablet wont stop saying searching for GPS (i am indoors and no GPS lock can be found).
nothing has changed, i have the same APPs haven't removed or added anything except updating via OTA yet now after the update this searching for GPS wont go away and i have to toggle it off now.
i have always left GPS and Wifi on with 4.2.1 and didnt have this problem and its draining my battery so i disable GPS.
anyone else see this on theirs?
1) turn GPS off
2) download gps status
3) wait until you are outside and stationary
4) turn on GPS and run gps status to see if you are getting any kind of fix on satellites.
Zillow (an app in the Play Store) causes this on my device. If I force closed it, the GPS icon would go away. If you're not using Zillow, maybe another app is the cause. Try force-closing anything you think might be using GPS
while google nav is running in background (searching for gps..) Hit the home button Go to settings . Toggle gps Of then back on..
You might have to then exit google nav off then back on.. Sometimes it will take a few tired..
This randomly happens to me sometimes if i start google Nav with the gps enabled.. Was present in 4.1.2 after the latest maps update .
I had the EXACT same problem.. I had updated in my "bunker" where I work (no GPS signals get in here) and until it finally got a signal it tried for like 2 hours. Once it did it, it was happy.
I really, really wish there were some way to see GPS usage history. There has got to be a way to do that. A log of what apps used the GPS, how long, etc
Same here. I also noticed this today and the battery drained quickly. It looks like the Weather Channel app was causing it in my case. It had an unusually large share of the battery consumption (according to the Android battery monitor) and uninstalling it seems to fix the issue (will take another day to confirm). This was working fine on 4.1.2.
Mine also has gone AWOL. I tried the on-off trick, all styles, but no joy (and waiting 2 hours was not a possibility... I needed it there and then).
I'll try the apps suggested, but as Gps is a core service, and one Google relies upon, it's disappointing that this crops up after an update to 4.2.
Sent from my Nexus 7 using xda app-developers app
szeiger said:
Same here. I also noticed this today and the battery drained quickly. It looks like the Weather Channel app was causing it in my case. It had an unusually large share of the battery consumption (according to the Android battery monitor) and uninstalling it seems to fix the issue (will take another day to confirm). This was working fine on 4.1.2.
Click to expand...
Click to collapse
Thanks for bringing this up. I was having this problem, and I have The Weather Channel too so I went to uninstall it and right when I did the GPS notification went away. It's looking like it may be a problem with the app then and not the GPS. Maybe something changed in the background and they have to make some modifications to the app to fix it.
I reinstalled TWC and when telling it to find me through GPS on the first run, it doesn't seem to want to get my location. I did it indoors before so I don't know why it wouldn't pick it up now. But at least it doesnt seem to be constantly accessing the GPS. I was going to do a factory reset to figure out if it was a problem with the system update itself but I'll just chalk it up to an app problem right now.
It's strange though, in 4.1.2 I don't remember getting any notification that the GPS was searching\locked on unless it was Navigation or Maps doing something. Either way, I dislike this new GPS notification thing overall. On the other hand, it's a good thing that we know the GPS was being used improperly. I hope they update The Weather Channel app soon. Weather Underground is slow even on the Nexus 7.
I'm having the same trouble after the update.
I left The Weather Channel uninstalled and had the GPS on again... still a lot of usage so I've just turned the GPS off until I need it. This is very unnecessary though. It has to be something in the operating system (I don't have any apps running in the background that should be using it so much when fine location isn't required).
Has anybody else tried a factory reset to see if this alleviates this problem? I really don't want to be the first and then lose important things I have saved to memory. :/
In 4.1.2 when using Navigation, GPS would be lost at times. Firing up GPS Test Plus would show no satellites, then rapidly find them, and suddenly Navigation would work again. I sometimes had to toggle GPS, sometimes didn't.
In 4.2 so far, I've had GPS vanish in Navigation, and stay vanished in GPS Test Plus. Toggling GPS doesn't seem to help. Rebooting is required to locate the satellites. Annoying.
About to delete 5gb of data to see if my 16GB model will magically speed up from the constant heavy lag.
A factory reset seems to have fixed my GPS problem.
same problem.i found a advertisement module in heywire caused it.as i force closed heywire,it is gone.before that,it continues for 7 hours.
Sent from my Nexus 7 using xda app-developers app
zhj said:
same problem.i found a advertisement module in heywire caused it.as i force closed heywire,it is gone.before that,it continues for 7 hours.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Sorry for the bump but it seems even after uninstalling The Weather Channel and the factory reset I still get GPS activation for a long time from time to time. I seem to have found the process in the battery usage that's causing it. "Fused Location". Not sure what uses this or what it is, it has an android icon. I force closed it and GPS stopped searching. Probably not a permanent fix. I sent feedback from the OS on this process.
I've seen this in 4.2 on my Nexus 7 AND my Galaxy Nexus.
Not nailed it yet, one culprit was Shazam (turned off Location in the settings for that and it went away)
Checking my Battery stats again, Shazam is on 12% and I've not even run it! Gonna remove the homescreen widget, see if that helps.
jmbillings said:
I've seen this in 4.2 on my Nexus 7 AND my Galaxy Nexus.
Not nailed it yet, one culprit was Shazam (turned off Location in the settings for that and it went away)
Checking my Battery stats again, Shazam is on 12% and I've not even run it! Gonna remove the homescreen widget, see if that helps.
Click to expand...
Click to collapse
i suggest you to to Settigs -> Apps -> Running (Tab)
Individuall kill/stop the application that you think might have caused the problem..
You will eventually know which Apps has caused it because the GPS icon goes away after you killed the erring application...
This worked for me. The problem App was "Perfect World Clock"
That solution is rather clunky. I have created a couple of simple Tasker profiles to get rid of this annoying notification. Works flawlessly for me. What it does is it shuts off GPS when the screen turns off, and restarts it after a short delay when the screen turns on. The delay is the real key here, as it circumvents the initial GPS search and, hence, no annoying message. Google Maps and Google Nav are not affected, as the GPS is always on when the screen is on, i.e. GPS is on whenever it is actually needed and off only if it is not needed. And, these profiles do not significantly impact battery, as they are Event triggered rather than State triggered. In fact, it probably saves battery, given that it turns GPS off when it's not needed. There are two profiles needed, which I have called "GPS Suspend" and "GPS Restart." Their associated tasks both utilize the Secure Settings plug-in which is needed to turn GPS on or off. As you will see, I have also added "If" conditions to each task's GPS command, to ensure that the command is executed if and only if the screen is in the correct (on/off) phase.
Here are the profiles and their associated tasks...
Profile: GPS Suspend
Event: Display Off
Enter: GPS Suspend
A1: Secure Settings [ Configuration:GPS Disabled Timeout (Seconds):0 ] If [ %SCREEN ~ off ]
Profile: GPS Restart
Event: Display On
Enter: GPS Resart
A1: Wait [ MS:0 Seconds:3 Minutes:0 HConfiguration:GPS:enabledours:0 Days:0 ]
A2: Secure Settings [ Timeout (Seconds):0 ] If [ %SCREEN ~ on ]
Try it and see!
modestdave

Categories

Resources