# Is it possible to determine if Electron wakes from WKP or from System.sleep seconds expiring

**URL:** <https://community.particle.io/t/is-it-possible-to-determine-if-electron-wakes-from-wkp-or-from-system-sleep-seconds-expiring/35209>\
**Category:** Firmware\
**Created:** [August 8, 2017, 9:12pm UTC](https://community.particle.io/t/is-it-possible-to-determine-if-electron-wakes-from-wkp-or-from-system-sleep-seconds-expiring/35209 "2017-08-08T21:12:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [August 8, 2017, 9:24pm UTC](https://community.particle.io/t/is-it-possible-to-determine-if-electron-wakes-from-wkp-or-from-system-sleep-seconds-expiring/35209/2 "2017-08-08T21:24:46Z")

</div>

This question was asked multiple times before  
[Electron Detect Wakeup from Pin Vs. Timer](https://community.particle.io/t/electron-detect-wakeup-from-pin-vs-timer/25718)  
[Photon interrupt pin high upon wakeup from interrupt or timeout](https://community.particle.io/t/photon-interrupt-pin-high-upon-wakeup-from-interrupt-or-timeout/27606)  
[Photon WKP Pin Interupt Flag Question](https://community.particle.io/t/photon-wkp-pin-interupt-flag-question/14280)  
…

---

_[View the full topic](https://community.particle.io/t/is-it-possible-to-determine-if-electron-wakes-from-wkp-or-from-system-sleep-seconds-expiring/35209)._
