adb input keyevent 26 - Not waking device up I am trying to wake a device up using the following adb command

adb input keyevent 26

This correctly emulates the power button keypress if the screen is on, but will not turn the screen on if it was off and locked.

Can anyone suggest why?
This is an old post, but this command should wake up any device.

adb shell input keyevent KEYCODE_WAKEUP