# Portenta Low power

**URL:** <https://forums.openmv.io/t/portenta-low-power/6244>\
**Category:** Arduino Boards\
**Created:** [August 19, 2021, 4:14pm UTC](https://forums.openmv.io/t/portenta-low-power/6244 "2021-08-19T16:14:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodion](https://avatars.discourse-cdn.com/v4/letter/r/e56c9b/32.png) [@rodion](https://forums.openmv.io/u/rodion)\
**Post date:** [August 19, 2021, 4:14pm UTC](https://forums.openmv.io/t/portenta-low-power/6244/1 "2021-08-19T16:14:32Z")

</div>

Hello  
Arduino boasts on their Portenta product page that it consumes “2.95 μA in Standby mode (Backup SRAM OFF, RTC/LSE ON)”. But when I run low-power example (deep sleep) from OpenMV, the best I can get is 18 mA even with Vision shield detached (powered over VIN). I didn’t find working samples for Arduino IDE so I have nothing to compare with.

Do you have any suggestions? I can see in release notes some fixes related to sleep modes but I am running the latest firmware (4.1.0)

Thanking you in advance  
Rodion

---

<div class="post-metadata">

**Author:** ![iabdalkader](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/iabdalkader/32/1169_2.png) [@iabdalkader](https://forums.openmv.io/u/iabdalkader)\
**Post date:** [August 20, 2021, 3:48pm UTC](https://forums.openmv.io/t/portenta-low-power/6244/2 "2021-08-20T15:48:16Z")

</div>

> [@rodion](#):
>
> that it consumes “2.95 μA in Standby mode

Were you able to get that number with Arduino’s firmware ? You should test it first to confirm and if so then maybe we can look into it, right now this is the lowest current we could get. Keep in mind that they may be disabling some PMIC power rails which we don’t mess with right now.

---

<div class="post-metadata">

**Author:** ![rodion](https://avatars.discourse-cdn.com/v4/letter/r/e56c9b/32.png) [@rodion](https://forums.openmv.io/u/rodion)\
**Post date:** [August 20, 2021, 5:27pm UTC](https://forums.openmv.io/t/portenta-low-power/6244/3 "2021-08-20T17:27:15Z")

</div>

Unfortunately Arduino provides no API for power management. Their Low Power library is for SAMD21 devices only.  
There is a possibility to call MBED API power functions but it looks rather complicated to me.

---

<div class="post-metadata">

**Author:** ![iabdalkader](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/iabdalkader/32/1169_2.png) [@iabdalkader](https://forums.openmv.io/u/iabdalkader)\
**Post date:** [August 20, 2021, 8:41pm UTC](https://forums.openmv.io/t/portenta-low-power/6244/4 "2021-08-20T20:41:13Z")

</div>

Like I said it was the best we could achieve with what we know and without touching the PMIC rails, if better low-power code is made public/available to us we’ll update our code.

---

<div class="post-metadata">

**Author:** ![rodion](https://avatars.discourse-cdn.com/v4/letter/r/e56c9b/32.png) [@rodion](https://forums.openmv.io/u/rodion)\
**Post date:** [August 24, 2021, 11:32am UTC](https://forums.openmv.io/t/portenta-low-power/6244/5 "2021-08-24T11:32:44Z")

</div>

Hello again

I also noticed that with OpenMV bootloader Arduino IDE thinks that this is a M4 core.

![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/5/5831ba32f1de17ff5e33b1915212431b27888390.png)

Could it be that M4 core is always on (or just a wrong message)?

Also I don’t see much difference in consumption even after detaching the camera shield. The best I got so far is 15 mA.

---

<div class="post-metadata">

**Author:** ![iabdalkader](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/iabdalkader/32/1169_2.png) [@iabdalkader](https://forums.openmv.io/u/iabdalkader)\
**Post date:** [August 24, 2021, 11:58am UTC](https://forums.openmv.io/t/portenta-low-power/6244/6 "2021-08-24T11:58:37Z")

</div>

> [@rodion](#):
>
> I also noticed that with OpenMV bootloader Arduino IDE thinks that this is a M4 core.

You mean with OpenMV firmware ? Our bootloader doesn’t work with the Portenta.

> [@rodion](#):
>
> Could it be that M4 core is always on (or just a wrong message)?

By default it doesn’t have any firmware and it’s not enabled so its clock is gated. It’s possible to load a fw to the M4 which puts it to sleep, but it requires extra steps.

---

<div class="post-metadata">

**Author:** ![rodion](https://avatars.discourse-cdn.com/v4/letter/r/e56c9b/32.png) [@rodion](https://forums.openmv.io/u/rodion)\
**Post date:** [August 24, 2021, 12:23pm UTC](https://forums.openmv.io/t/portenta-low-power/6244/7 "2021-08-24T12:23:54Z")

</div>

Yes, I meant firmware, not bootloader.  
This is what Arduino IDE says when it sees Portenta with OpenMV firmware. It just looks strange, no?

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/4/4307951c652cabef8eeed682fb26a2f681743d4e.png)

---

<div class="post-metadata">

**Author:** ![iabdalkader](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/iabdalkader/32/1169_2.png) [@iabdalkader](https://forums.openmv.io/u/iabdalkader)\
**Post date:** [August 24, 2021, 12:30pm UTC](https://forums.openmv.io/t/portenta-low-power/6244/8 "2021-08-24T12:30:15Z")

</div>

> [@rodion](#):
>
> This is what Arduino IDE says when it sees Portenta with OpenMV firmware. It just looks strange, no?

This doesn’t really mean anything, the Arduino IDE probably recognizes boards based on USB VID:PID, maybe the same IDs we’re using are reused for the M4 …Anyway, our firmware doesn’t work with Arduino IDE.
