How to wake up my android device via wireless keyboard/mouse? (it has dongle connected via USB)

by Saleh   Last Updated July 11, 2019 15:11 PM - source

I have an android tv box and I want to wake it by pressing any key on my keyboard which is a regular wireless keyboard. (Its dongle is connected to usb port of box)

What should I do? (whether via ADB or even changing the kernel and AOSP!)

Related Questions

Android-x86 power button press does not sleep

Updated November 11, 2017 13:11 PM

Disabling power button restart

Updated December 28, 2018 15:11 PM

How to give a wakelock to an app?

Updated March 19, 2019 01:11 AM