# Gps\_sleep\_error

**URL:** <https://forum.sierrawireless.com/t/gps-sleep-error/6769>\
**Category:** Open AT\
**Created:** [October 3, 2013, 8:26am UTC](https://forum.sierrawireless.com/t/gps-sleep-error/6769 "2013-10-03T08:26:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorn](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@Jorn](https://forum.sierrawireless.com/u/Jorn)\
**Post date:** [October 3, 2013, 8:26am UTC](https://forum.sierrawireless.com/t/gps-sleep-error/6769/1 "2013-10-03T08:26:00Z")

</div>

What could be the cause of the GPS\_SLEEP\_ERROR event when trying to put my GPS to sleep?

---

<div class="post-metadata">

**Author:** ![Rex\_alex](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rex\_alex](https://forum.sierrawireless.com/u/Rex_alex)\
**Post date:** [October 9, 2013, 5:27am UTC](https://forum.sierrawireless.com/t/gps-sleep-error/6769/2 "2013-10-09T05:27:55Z")

</div>

Hi,

What is the location plug in version…??

---

<div class="post-metadata">

**Author:** ![Jorn](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@Jorn](https://forum.sierrawireless.com/u/Jorn)\
**Post date:** [October 10, 2013, 1:18pm UTC](https://forum.sierrawireless.com/t/gps-sleep-error/6769/3 "2013-10-10T13:18:12Z")

</div>

My apologies, I solved the problem.  
I adjusted my code to use the state machine mentioned in the location plugin’s datasheet and then it was fixed.  
It was a coding mistake on my part I guess 🙂
