# The low power mode of WP7605

**URL:** <https://mangoh.discourse.group/t/the-low-power-mode-of-wp7605/9242>\
**Category:** mangOH Yellow\
**Created:** [May 27, 2021, 3:31pm UTC](https://mangoh.discourse.group/t/the-low-power-mode-of-wp7605/9242 "2021-05-27T15:31:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [May 27, 2021, 3:31pm UTC](https://mangoh.discourse.group/t/the-low-power-mode-of-wp7605/9242/1 "2021-05-27T15:31:16Z")

</div>

Does wp7605 have an auto suspend mechanism?  
Because only the debug console is connected, it seems that there will be no response due to entering suspend (dmesg message is as follows)

[64.408601] Freezing of tasks aborted after 0.008 seconds  
[64.503073] Freezing of tasks aborted after 0.009 seconds  
[64.629427] PM: Some devices failed to suspend, or early wake event detected  
[64.742489] Freezing of tasks aborted after 0.009 seconds  
[64.854391] Freezing of tasks aborted after 0.009 seconds  
[64.959135] Freezing of tasks aborted after 0.009 seconds  
[65.925713] sierra\_pm\_resume, total sleep time = 134, startup\_timer expired

and I have run a LED flashing program, it stops after removing the USB cable, and starts normal operation again after plugging in the USB cable

How to enable/stop the power saving mechanism?

I have also checked AT!POWERMODE?  
return  
!POWERMODE: No request, status=9-PSM disabled

Another problem is that when I connect mangoh yellow to a Linux computer, I can find the 192.168.2.2 device at first, but the device disappears after about ten seconds ( use lsusb to check, device is still connected). Is this also a suspend problem?

* * *

System version  
Firmware Version: SWI9X07Y\_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14  
Bootloader Version: SWI9X07Y\_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [May 28, 2021, 12:48am UTC](https://mangoh.discourse.group/t/the-low-power-mode-of-wp7605/9242/2 "2021-05-28T00:48:22Z")

</div>

If you remove usb cable from pc, it will enter sleep mode, after that the uart console will not have response

---

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [May 28, 2021, 1:18am UTC](https://mangoh.discourse.group/t/the-low-power-mode-of-wp7605/9242/3 "2021-05-28T01:18:48Z")

</div>

Thank you for your reply.

How can I disable this sleep function?  
I’ve checked power mode with AT command(AT!POWERMODE?) , but it showed  
!POWERMODE: No request, status=9-PSM disabled

It shows that PSM is disable

Did I understand something wrong?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [May 28, 2021, 2:20am UTC](https://mangoh.discourse.group/t/the-low-power-mode-of-wp7605/9242/4 "2021-05-28T02:20:26Z")

</div>

you need to run an legato application to make the module not going to sleep mode:

> [@Unable to ssh on eth0 (RJ45)](https://mangoh.discourse.group/t/unable-to-ssh-on-eth0-rj45/3891/2):
>
> I guess the module has gone to sleep mode after you unplugged the USB cable. Please run the app to make the module still awake after USB disconnect. [wakeup\_app.rar](https://mangoh.discourse.group/uploads/short-url/4uATXQ5rKtkvAGGXwwRNVeDQlYN.rar) (199.2 KB)

---

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [June 1, 2021, 6:25am UTC](https://mangoh.discourse.group/t/the-low-power-mode-of-wp7605/9242/5 "2021-06-01T06:25:15Z")

</div>

Thanks, this helped me

---

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [July 12, 2021, 2:23am UTC](https://mangoh.discourse.group/t/the-low-power-mode-of-wp7605/9242/6 "2021-07-12T02:23:46Z")

</div>

Hi jyijyi,

we have used update command to install wakeup\_app to mangoh yellow (fw: R16 version)  
update command ad below:  
`update wakeup_app.wp76xx.update 192.168.2.2`

we also check the app status of wakeup is running and the wakeup is work , but sometimes wakeup app will disappear in the app list after reboot.  
What is the reason for this?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [July 12, 2021, 2:58am UTC](https://mangoh.discourse.group/t/the-low-power-mode-of-wp7605/9242/7 "2021-07-12T02:58:03Z")

</div>

there is rollback mechanism.  
If within the probation period after boot up , you reset too many times, the system will rollback to previous version.  
You can use “update -g” to mark the system as good system to avoid system rolling back.

---

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [July 12, 2021, 3:19am UTC](https://mangoh.discourse.group/t/the-low-power-mode-of-wp7605/9242/8 "2021-07-12T03:19:52Z")

</div>

Thanks your help again.

---

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [October 12, 2021, 2:46am UTC](https://mangoh.discourse.group/t/the-low-power-mode-of-wp7605/9242/9 "2021-10-12T02:46:09Z")

</div>

We found that some target boards after installing the wake program(we have mark good with command "update -g "),  
I still have the problem of missing the app after rebooting several times, causing the system to enter sleep mode.  
Is there any way to solve it?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [October 12, 2021, 3:06am UTC](https://mangoh.discourse.group/t/the-low-power-mode-of-wp7605/9242/10 "2021-10-12T03:06:50Z")

</div>

how about using the command below in init script instead of application?  
echo NO\_SLEEP \> /sys/power/wake\_lock

Or you can build the wake up application in the legato cwe, this can avoid application disappeared in the field.  
e.g.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/7/7ce9278865b44df02615d19c2de9e125e61561ce.png)
