Location services indication won't shut off

Hello,
My app uses location services in the background.
I'm turning the location services on for short time intervals, trying to keep the battery power.
I'm not using any significant location monitoring nor region monitoring.
Everything works as expected till the phone is shut off. After the phone shuts off and reboots, my app is automatically launched, but then a weird thing happens - my app tries to stop location updates but fails - and also the location service arrow indication is on all the time.
I've checked the device console logs, usually those message are shown:
Mar 25 11:56:53  locationd[46] <Notice>: Location icon should now be in state 'Inactive'
Mar 25 11:58:06 keran locationd[46] <Notice>: Location icon should now be in state 'Active'
indicating that the icon should be turned off, but after a device reboot these logs don't appear when calling stopUpdatingLocation.
I've checked thoroughly that the stopUpdatingLocation command is reached and called.
This behavior was reproduced with a iPhone 4 running iOS 6.1.2, as well as with another iPhone 4 device running a 6.1 version.
Please help, this is preventing me from releasing my app.
Thanks,
ernbltr

Thanks! Based on that, I was able to figure out the culprit, it appears to be Around Me. However, now I'm confused. I've also got Facebook and a few other apps that are set to always as well, but they aren't tracking my location now. Why not? It looks like never is self-explanatory, while using is while you have the app running whether or not it's in the background, and always is always, but Around Me is the only app tracking my location right now, even though there are at least 3 other apps that also have the location tracking set to always.                    

Similar Messages

  • Location services indication won't shut off after reboot

    Hello,
    My app uses location services in the background.
    I'm turning the location services on for short time intervals, trying to keep the battery power.
    I'm not using any significant location monitoring nor region monitoring.
    Everything works as expected till the phone is shut off. After the phone shuts off and reboots, my app is automatically launched, but then a weird thing happens - my app tries to stop location updates but fails - and also the location service arrow indication is on all the time.
    I've checked the device console logs, usually those message are shown:
    Mar 25 11:56:53  locationd[46] <Notice>: Location icon should now be in state 'Inactive'
    Mar 25 11:58:06 keran locationd[46] <Notice>: Location icon should now be in state 'Active'
    indicating that the icon should be turned off, but after a device reboot these logs don't appear when calling stopUpdatingLocation.
    I've checked thoroughly that the stopUpdatingLocation command is reached and called.
    This behavior was reproduced with a iPhone 4 running iOS 6.1.2, as well as with another iPhone 4 device running a 6.1 version.
    Please help, this is preventing me from releasing my app.
    Thanks,
    ernbltr

    It sounds like you have the shuffle feature turned on.

  • HT201412 my iPad is frozen.. it won't shut off.. i can't do a forced restart.. it doesn't respond to that either.. i can't connect it to iTunes because it needs passcode entered but again the iPad is frozen so i can't input the passcode- can't do recovery

    my iPad is frozen.. it won't shut off.. i can't do a forced restart by holding the sleep/wake and home button.... it doesn't respond to that either.. i can't connect it to iTunes because it needs passcode entered but again the iPad is frozen so i can't input the passcode… I also can't do recovery mode as the ipad won't shut down for me to do a recovery mode.... HELP

    Erase iPad and setup iPad from scratch
    1. Launch web browser on your computer
    2. Sign in to www.icloud.com
    3. Tap on Find My iPhone
    4. Select the iPad to be erased
    5. Tap Erase iPad
    6. Message: All your content and settings will be erased. An erase iPad cannot be located or tracked
    7. Tap Erase
    8. Enter Apple ID and Password
    9. Tap Next
    10. Enter a phone number where you can be reached. It will be shown on your iPad after it has been erased
    11. Enter phone number
    12. Tap Next
    13. Tap Erase iPad
    14. This message will be shown on your iPad after it's been erase "This iPad has been lost. Please call 12345678"
    15. Done
    16. Erase started
    16. OK
    17. Remove from Account (this will allow iPad to be activated and used by another person)
    Setup wiped iPad
    1. Slide to unlock
    2. Select English
    3. Select Country
    4. Choose Wi-Fi Network
    5. Enter Wi-Fi password
    6. Activate iPad
    7. Apple ID and Password
    8. Apple ID and Password
    9. Enable Location Service
    10. Select "Restore from iCloud Backup"
    11. Enter iCloud password
    12. Agree to Terms and Conditions
    13. Choose backup
    14. Select "Backup file in iCloud"
    15. Hello (Welcome)
    16. Slide to unlock
    17. Update Completed
    18. Continue
    19. Enter Apple ID and Password
    20. Updating iCloud
    21. Select "Don't Add Passcode"
    22. Welcome to iPad
    23. Get Started
    24. Restore Apps and Media. Your settings have been restored. Connect to power to save battery while apps and media are downloading
    25. Sign in to iCloud

  • I dropped my iPhone 4S in the toilet. Now it won't shut off and the camera light stays on. What should I do?

    I dropped my iPhone 4S in the toilet. I dried it and shook out as much water as I could. I removed the SD card and put everything in a bowl of rice. It is still in there and everything appears to be working normally, but it won't shut off and the camera light stays on. I've tried the restart thing where you press and hold the pwr button and the home button. What should I do?

    Service and Repair - https://selfsolve.apple.com/  Repair options (require hardware serial number)
    http://support.apple.com/kb/index?page=servicefaq&geo=United_Kingdom&product=iph one  <-- enter correct country once on page

  • My LG Ally is frozen and won't shut off

    This morning, when I tried to sign in to Google Talk it said it is unable to connect. When I cleared out of there I decided to power off and see if restarting helped the issue. Unfortunately, It got stuck while powering down and it won't shut off. I tried holding down buttons, which didn't do anything. I can't get the battery out and broke my nail in a really painful way trying. Any advice? How can I safely remove the battery without resorting to prying it out with a screwdriver?
    If anyone can help I will be eternally grateful. I love this phone and hope this won't become a recurring issue.

    My Lg Ally also had the exact same problem. I called tech support and after a couple of subsequent freezes, Verizon sent me a new phone. After a couple of days, the new phone is experiencing similar symptoms. The one thing I noticed that both phones had in common was the location where the freezing occurred. I was trying to place a call, when located approximately a hundred and fifty yards from a known cell site. I wonder if you have noticed the problem reoccurring at a particular location or proximity to a cell site. This is just an observation that I have made. As far as the battery, I would try to find a small piece of plastic or even a small baby spoon to pry the battery out. Something that will not damage the case. The only way to reset the phone is to pull out the battery. After you remove the battery, you might put a small tab of tape around the top. This way, if it happens again, you can pull on the tab of tape to remove the battery. (kind of like you see in the battery holder compartment of portable radios.) I hope this is not a common problem with these phones. Hopefully Verizon and LG will identify this problem immediately.

  • I have an ipod touch that continues to have a black screen with the white apple on it. It won't shut off and is completely frozen. This happened when we tried to restore it last night. Help please!!

    I have an ipod touch that continues to have a black screen with the white apple on it. It won't shut off and is completely frozen. This happened when we tried to restore it last night. Help please!!

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar

  • I have a problem with my iPhone 4s. Location Services is turned on, but off in applications and I can not change it. It's just marked in gray. What should I do?

    I have a problem with my iPhone 4s. Location Services is turned on, but off in applications and I can not change it. It's just marked in gray. What should I do?

    No - restrictions are not on...
    and  under privacy>location Services - just like before - I can´t change it here

  • HT203987 My Apple iPad won't shut off or close down. How do I get it to shut off'

    I Have an Apple IPad tablet.it is a 32 gb. IOS 8.1.3 when I try to shut it down I know there use to be a bar that you slide to close it.but now I can't find it . I held the button down for 10 to 20 seconds but it still won't shut off. If I let it go during the nite while  I sleep I can hear it makeing  a dinging sound like I get when a notification  shows up. but it won't completely shut down . How do I get it to shut off.

    TTry a reset. Hold down on the sleep AND home buttons at the same time - for 10 seconds or so - until the Apple Logo appears on the screen. When the logo appears, let go of the buttons and let the iPd start up. After it starts up, then try to shut down again.
    BTW, I amost never shut my iPads or iPhone off. I simply let them sleep. I recharge the battery when needed but always while the iPads or phone is still powered up.

  • My iPhone 4s is stuck in AirPlay screen.  It won't shut off, software is current, it rings but the screen doesn't change so I can't take any calls. What do I do?

    My iPhone 4s is stuck in AirPlay screen.  It won't shut off, software is current, it rings but the screen doesn't change so I can't take any calls. What do I do?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory settings/new iOS device.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar
    If you have problems restoring (if that is necessary) the iPhone
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iPhone fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar

  • Won't shut off

    My MacBook Pro won't shut off.  I click the Apple.  Then, I click "shut down".  The screen goes gray and the spinning gear starts.  But, it never shuts down.  I eventually have to press the manual shut down button on the keyboard.  Solution???

    It happened to me before but after I repaired the disk permissions, my mac runs a lot smoother now, so I recommend you to go to Applications>Utility>Disk Utility. Click on "First aid" then go to the top left corner and click on your hard drive then click Verify Disk Permissions, then if some errors pops out and when verification is complete click "Repair Disk Permissions" then restart your Mac. This will make your mac run a lot smoother. Try this at your own risk. If anything bad occurs do not blame me.
    If you do not want it to happen again, I recommend you to download this: http://www.macupdate.com/app/mac/11582/onyx
    This Application helps you to keep your mac running smooth.
    Hope this solution helps!

  • Ipad 2 won't shut off.

    My ipad 2 won't shut off. I've even tried the hard shut down, holding down the home button and the power button at e same time and nothing happened. It runs like normal except I can't get it o power down anyone have any ideas?

    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered.
    If that doesn't work, try restoring from a backup - if you have a current backup that was created before this problem occurred.
    How to backup and restore from a backup
    http://support.apple.com/kb/HT1766

  • IPad 1 won't shut off

    My iPad 1 won't shut off. I've held the sleep button down for up to a minute but the shut off slider never pops up. Any suggestions? 
    Thanks
    Mark

    1. Let the iPad run till it auto shut down
    2. Charge the battery
    3. Restart and see if problem goes away.

  • I wasn't able to access my email on my pad, so I tried to shut it off, thinking I needed a software update.  Now my ipad won't shut off.  Any ideas?

    My email was a white blank screen on my ipad.  Thinking I needed a software update, I tried to shut it off.  Now all I have is a black screen and the "working" logo in the center, but it won't shut off.
    Any ideas?

    When you reset the iPad, wait until the Apple logo appears on the screen before you let go of the buttons.
    Hold down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • TS3274 iPad won't shut off.  Display doesn't respond to slide motion.

    iPad won't shut off.  Display doesn't respond to slide motion.

    Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost).

  • Iphone won't shut off properly, has frozen on spinning wheel screen

    iphone won't shut off properly, has frozen on spinning wheel screen

    Try to reset the phone by holding the sleep and home button until the Apple logo comes back again.
    If this does not help, connect in recovery mode and set it up "as new device", explained here iPhone and iPod touch: Unable to restore and here How to set up your iPhone or iPod touch as a new device

Maybe you are looking for

  • Excel-Import with SBO 2007

    Hello to all! I have problems concerning the Excel-Import-function within SAP 2007. I want to import some business partners (what should not be such a huge problem), but an internal error occures which states: "internal error: Payment Methods for Pay

  • Error installation ODAC10202.exe

    I'm trying to install ODAC10202.exe in Oracle10g Relase2 with -silent and -responsefile Operating System is Windows Server 2003 Gets this error message: "SEVERE:Se ha producido un problema al acceder a la zona intermedia. Asegúrese de que el valor es

  • Force Quit/AOL mail

    Having a problem beginning this morning. Checked my AOL mail; unable to remove from trash. When I try to quit mail I get the revolving disc; then I have to use FORCE QUIT in order to get out of mail. Is anyone else having this problem? Any help or id

  • Could not read detail log from DB12 and DB13

    hi gurus, I am unable to read detail log of onlinebackups and Redolog backups from DB12 and DB13 in my BI sytem what could be the problem. cheers Kumar

  • My I-touch is disabled-. How do I reset?

    My I-touch is disabled.... How do I reset?