# Allow RealDash to wake up your device!

**URL:** <https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754>\
**Category:** Feature requests\
**Created:** [October 30, 2020, 7:54pm UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754 "2020-10-30T19:54:57Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [October 30, 2020, 7:54pm UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/1 "2020-10-30T19:54:57Z")

</div>

Introduction:

We all strive for less power consumption for the rest modes of the device when we are not using it.

When I minimize( not closed) RD, Android exits always-on screen mode (in RealDash settings) and the device turns off the display at a set interval that we set in Android settings! Let’s say the screen goes out after 15 seconds.  
And so, when I want to bring RealDash back to the foreground, the screen doesn’t turn on until I touch the mouse or keyboard …  
Maybe you can teach RealDash to simulate mouse movement or in some other way, like wake up the screen when returning to the foreground when the screen is off?

---

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [October 30, 2020, 8:51pm UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/2 "2020-10-30T20:51:02Z")

</div>

It is possible to add something like a command handler for certain events, such as: “KEYCODE\_WAKEUP” if the app returned

---

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [November 2, 2020, 7:02am UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/3 "2020-11-02T07:02:09Z")

</div>

Good morning! I hope the weekend was good))))

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [November 2, 2020, 8:28am UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/4 "2020-11-02T08:28:32Z")

</div>

> [@](#):
>
> Good morning! I hope the weekend was good))))

Yes it was, very relaxing. I will take a look if there is an API in Android to wake up the screen.

---

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [November 2, 2020, 10:48am UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/5 "2020-11-02T10:48:13Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [November 3, 2020, 12:51am UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/6 "2020-11-03T00:51:09Z")

</div>

I found something on this topic, maybe it might be useful:

[https://stackoverflow.com/questions/2891337/turning-on-screen-programmatically](https://stackoverflow.com/questions/2891337/turning-on-screen-programmatically)

With deep respect!

---

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [November 5, 2020, 11:33am UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/7 "2020-11-05T11:33:01Z")

</div>

Here is some more useful information.

[https://developer.android.com/reference/android/os/PowerManager.WakeLock](https://developer.android.com/reference/android/os/PowerManager.WakeLock)

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [November 11, 2020, 11:23am UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/8 "2020-11-11T11:23:42Z")

</div>

The version 1.8.3 (Android) attempts to power up the screen every time onResume is called on Activity.

---

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [November 11, 2020, 1:05pm UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/9 "2020-11-11T13:05:00Z")

</div>

OK thanks! I’ll test it!

---

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [November 11, 2020, 7:48pm UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/10 "2020-11-11T19:48:36Z")

</div>

It works great! Thanks!

[https://youtu.be/h2Z\_a4mHRzw](https://youtu.be/h2Z_a4mHRzw)

---

<div class="post-metadata">

**Author:** ![Tarekastra](https://forum.realdash.net/letter_avatar_proxy/v4/letter/t/bb73d2/32.png) [@Tarekastra](https://forum.realdash.net/u/Tarekastra)\
**Post date:** [December 4, 2020, 2:44pm UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/11 "2020-12-04T14:44:03Z")

</div>

> [@](#):
>
> It works great! Thanks!
> 
> [https://youtu.be/h2Z\_a4mHRzw](https://youtu.be/h2Z_a4mHRzw)

Great.

Why i didn’t see the shutdown page before the display went off?

Also, do you keep the android board ON all the time?

Regards

---

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [December 4, 2020, 6:12pm UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/12 "2020-12-04T18:12:21Z")

</div>

Greetings! This is such a trick! The android board turns off behind the scenes, after when all the work is done and I do not disturb the car for a while! This way you can save energy and get back to work very quickly!

---

<div class="post-metadata">

**Author:** ![Tarekastra](https://forum.realdash.net/letter_avatar_proxy/v4/letter/t/bb73d2/32.png) [@Tarekastra](https://forum.realdash.net/u/Tarekastra)\
**Post date:** [December 27, 2020, 9:40pm UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/13 "2020-12-27T21:40:57Z")

</div>

Good job bro.

Very Smart

---

<div class="post-metadata">

**Author:** ![mrelliot69](https://forum.realdash.net/letter_avatar_proxy/v4/letter/m/d78d45/32.png) [@mrelliot69](https://forum.realdash.net/u/mrelliot69)\
**Post date:** [January 26, 2021, 4:10pm UTC](https://forum.realdash.net/t/allow-realdash-to-wake-up-your-device/754/14 "2021-01-26T16:10:29Z")

</div>

> [@](#):
>
> Greetings! This is such a trick! The android board turns off behind the scenes, after when all the work is done and I do not disturb the car for a while! This way you can save energy and get back to work very quickly!

dopee, can you share how you did that?
