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.

Similar Messages

  • 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.                    

  • Won't boot unless I hold the power button and shuts off after closing

    My mac book pro (current gen) shuts off after closing the screen and won't start up unless I hold the power button for about 10 secs.
    Any suggestions?

    Do a SMC and PRAM reset and read this guide

  • Two Problems:MSN Won't Download,  Display Shuts Off After 1 Minute

    Hi ok so i have two problems, I had MSN 6.03 for a while but last night it just stopped opening, so I deleted it and tried to redownload, but when i try to download it, it says "failed to mount" every time.
    The second problem is the display shuts off after 1 minute, I went to the energy saver and i changed it to 15 minutes an I locked it, but when i exit out of the energy save it goes back to 1 minute HELP!!!

    Sounds like you have either cache, finder, or disk corruption problems. Follow the steps here:
    http://www.thexlab.com/faqs/repairprocess.html

  • 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

  • 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 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

  • 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.

  • HP DV6-6B25TX shutting off after 10 to 15 seconds irrespective of battery power or AC power

    Hi,
    MY DV6-6B25TX is shutting off after 10 to 15 seconds irrespective of battery power or AC power.
    Following is the complete scenario of what happened during the last few weeks:-
    Two weeks back i was using the laptop with the AC adaptor plugged in for charging, the battery got charged upto 99% then it stopped charging and the battery icon text displayed, 'Plugged in, Not Charging'.
    A week back the battery was 20 %, after plugging in the charger, still the same message 'Plugged in, Not Charging'.
    Now the laptop doesnt respond to the power key when the battery is inserted.
    If i remove the battery and again put it back, it starts without pushing the power button and shuts off after 10 seconds, i.e. even before starting Windows.
    It shuts down even when on Bios Screen, so OS is definately not the issue.
    When i connect the charger and press the power button, same thing i.e. starts and shutts off after 10 to 15 seconds irrespective of BIOS screen or Windows Boot.
    I removed the ram and but it back again but still the problem persists.
    Also there is no question of overheating due to dust as i have barely used the laptop for a few hours, the laptop is around 6 months old and under warranty.
    Please Advice ASAP.
    Thanks in Advance.
    This question was solved.
    View Solution.

    Honestly, something is preventing the battery from being charged. The notebook shutting down seconds after reinserting the battery is a good indication the battery just isn't getting charged. This could be a failed battery, charger, charging port, or motherboard in rare instances.
    Since it is in warranty, I recommend contacting HP support as there is no easy fix for this on the forums. It is a hardware issue.
    The number for support in the U.S.A. and Canada is 1-800-474-6836.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Lenovo c200 3000, shuts off after 2, 3 min

    Hi there
    I have lenovo 3000 c200, it is 5 years old
    It shuts off after 2 to 5 min. First i thought it is from the fan and i changed it, but still the same. Then I reapplied the thermall paste and still no difference. The fan starts and stops for like 2 to 3 seconds. And then it shuts of. I ran out of ideas.
    I use windows XP service pack 3, I tried to reinstall it or recovery it, but it just shuts down. it also does not recognize the battery and does not charge it.
    The S/N is L3-EY486.
    Thanks in advance
    Ned

    my personal opinion, it's better to buy new computer instead of replacing the parts ( battery & fan )

  • I have an iPhone 5 that constantly shuts off after 5-10 minutes..

    My iPhone 5, purchased on Amazon, used, constantly shuts off after 5-10 minutes of uptime right after a color fade. I got it to stay on but I just can't reboot it otherwise it'll happen again. But if I don't reboot it, my battery percentage will not update. I'm not sure if it's water damage or just a bad battery. I'm afraid to leave it charging overnight since the battery percentage doesn't budge and it'll just continue charging.

    You should get it checked by visiting an Authorized Apple Service Provider or Apple Store and see if the battery needs to be replaced.
    Did you check the moisture indicators to see if the device did get damaged by liquid?
    Liquid Contact Indicator location

  • 3G still won't turn off after hitting home and sleep button at same time. Any other ways to try?

    3G still won't turn off after hitting home and sleep button at same time. Any other ways to try it?

    And when you held them neither the red Off slider nor the Apple logo appeared?
    If not then your sleep button is broken, you will need to get it serviced.

  • Mac 10.6 won't turn off after update

    Macbook air a1304 won't turn off after updating unless you push on/off button.

    Phone your nearest HP Support  to request warranty service. Worldwide contact info can be accessed here>Contact HP
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • 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

Maybe you are looking for

  • Open item manage accounts clearing problem

    Dear experts, We have created some of the liability gl accounts master without open item management.  After a period of time we have converted the gl accounts into open item management by executing the programme RFSEPA02.  Now we are going to clear t

  • FS10N GL Balances not showing line item details

    Hi Expert, i am unable to see the posted document in FS10N. i ve check the Button in FS00 Line Item display.. and save it. again  i did but FS10N display line item not showing .. see the error message below. No items selected (see long text) Message

  • LEFT OUTER with internal tables

    hi all, I have a query to execute, SELECT SKATSAKNR SKATTXT20   SUM( GLT0~HSLVT ) AS HSLVT   INTO CORRESPONDING FIELDS OF TABLE ITAB_ZSTMGLRACC   FROM SKAT   LEFT OUTER JOIN GLT0 ON GLT0RACCT = SKATSAKNR   AND GLT0~RYEAR = I_GJAHR   AND GLT0~BUKRS =

  • How to replicate a SQL Server database to Oracle?

    I want to create an Oracle database. I have an existing SQL database. I have created an sql file of the SQL database. Should I just run this file from the sql prompt? Do I need to create a service id for the new database and then run the sql file? Al

  • Invalid Username/Password While login BI answers

    Hi all, I have deployed repository and restart all services. I can access admin console and Enterprise manager but i could not access analytics. Pls help me out Thanks in advance.