Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wake lock does not seems to be working #3

Open
mdakram opened this issue Apr 27, 2013 · 9 comments
Open

wake lock does not seems to be working #3

mdakram opened this issue Apr 27, 2013 · 9 comments

Comments

@mdakram
Copy link

mdakram commented Apr 27, 2013

I am using this application with some extension.

1.added mapview user track on map.
2. and a list view to see which provider is generating the fixes.

but i find out while service is running in background.
gps is not getting fixes. might be the case library is not using wake lock concept.

tell me if i am wrong

Thanks
Akram

@phpmaps
Copy link

phpmaps commented Apr 27, 2013

Hi, what happens when you notice this? Is onLocationChanged not triggered or something? What tracking profile do u have set?

@mdakram
Copy link
Author

mdakram commented Apr 28, 2013

Hi phpmaps, thanks for your response this fast

profile was Adaptive and yes onLocationChanged was not triggring after 1hrs in background.

@phpmaps
Copy link

phpmaps commented Apr 28, 2013

Let me know the device specifications when you get a minute including the manufacturer, model and droid version... I don't think we use wake lock, but may use partial wake lock when managing power settings. I can check to see.

Out of curiosity, does the problem go away when your app is open and running in the foreground ? Is this just a background issue? I'd like to narrow down if this is a device specific issue or not, so please let me know information about the device when you see this behavior.

@mdakram
Copy link
Author

mdakram commented Apr 29, 2013

Yes its problem when application is in background for long time.
My device manufacturer is samsung and model is gallaxy s and droid version is 2.3.
Thanks

@twaddington
Copy link
Contributor

Was the device stationary or had it moved more than a few city blocks? The adaptive profile turns down the frequency of location fixes to conserve battery when the device hasn't moved for a while.

@mdakram
Copy link
Author

mdakram commented Apr 29, 2013

Device was on the move and when i opened application it started logging my location again thats why i wonder gps fell asleep and was not logging. My droid version is 2.3 device galaxy s.

@mdakram
Copy link
Author

mdakram commented Oct 9, 2013

Network location is also not being update when device(4.2.2) is in sleep mode

@phpmaps
Copy link

phpmaps commented Oct 9, 2013

Hi mdakram - Would you provide some details as to what you do to surface this issue you're reporting?

@mdakram
Copy link
Author

mdakram commented Oct 9, 2013

hi Doug,
actually i have been using this to track my location from long time.
initially i had droid version 2.3.3 now i changed my device(droid 4.2.2) and set my tracking Profile to adaptive.
i did't turn the GPS on as i have not been doing it since my first use.
i found our location gets updated only when device's screen is turned on.none otherwise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants