This is actually difficult to detect. The code sample in the last comment to this post works, however.
rickkas7
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Possible to check by a firmware/software whether Electron is powered only by battery? | 5 | 2812 | August 4, 2016 | |
| When is Electron Powered By Battery | 31 | 13900 | June 8, 2020 | |
| PMIC Documentation? | 1 | 2258 | October 5, 2017 | |
| How to detect Electron goes from microUSB power to battery? | 16 | 7360 | March 4, 2016 | |
| Boron Battery Connected | 15 | 5412 | March 22, 2019 |