# How to enter Standby mode from a Unity app on Magic Leap 2

**URL:** <https://forum.magicleap.cloud/t/how-to-enter-standby-mode-from-a-unity-app-on-magic-leap-2/6225>\
**Category:** Unity Development\
**Created:** [August 18, 2025, 9:06am UTC](https://forum.magicleap.cloud/t/how-to-enter-standby-mode-from-a-unity-app-on-magic-leap-2/6225 "2025-08-18T09:06:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hiroumi](https://avatars.discourse-cdn.com/v4/letter/h/e47c2d/32.png) [@hiroumi](https://forum.magicleap.cloud/u/hiroumi)\
**Post date:** [August 18, 2025, 9:06am UTC](https://forum.magicleap.cloud/t/how-to-enter-standby-mode-from-a-unity-app-on-magic-leap-2/6225/1 "2025-08-18T09:06:24Z")

</div>

We are currently developing a Unity application for Magic Leap 2 using the following environment:

- Unity Editor version: 2022.3.14f1

- ML2 OS version: 1.7.0

- Unity SDK version: 1.12.1

- Host OS: Windows

We are developing an application for the Magic Leap 2 using Unity, and we would like to control the device’s power state based on our application’s logic.

Specifically, we have two questions:

1. **Entering Standby Mode:** Is there a provided API or method to programmatically put the device into Standby mode from a C# script at a specific point within our application?

2. **Exiting Standby Mode:** Similarly, is it possible to programmatically wake the device up from Standby mode, also from a C# script?

We have reviewed the developer documentation on “Sleep Mode” but could not find a specific description of how to actively perform these actions from a Unity script.

Any guidance you could provide on these matters would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![cfeist](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/cfeist/32/1768_2.png) [@cfeist](https://forum.magicleap.cloud/u/cfeist)\
**Post date:** [August 25, 2025, 4:05pm UTC](https://forum.magicleap.cloud/t/how-to-enter-standby-mode-from-a-unity-app-on-magic-leap-2/6225/2 "2025-08-25T16:05:45Z")

</div>

Hey @hiroumi ,

The Magic Leap 2 does not allow you to control the devices power state from a Unity App, so unfortunately, there is no way to do this.

Best,  
Corey

---

<div class="post-metadata">

**Author:** ![hiroumi](https://avatars.discourse-cdn.com/v4/letter/h/e47c2d/32.png) [@hiroumi](https://forum.magicleap.cloud/u/hiroumi)\
**Post date:** [August 28, 2025, 3:41am UTC](https://forum.magicleap.cloud/t/how-to-enter-standby-mode-from-a-unity-app-on-magic-leap-2/6225/3 "2025-08-28T03:41:04Z")

</div>

Hello @cfeist ,

Thank you for the information.  
I understand that it’s not possible to control the power state from a Unity app.

Best regards,

Hiroumi
