Just a small note:
the restart is not needed if you have SSH server enabled on your Kindle in which case you can just send the following command to your Kindle instead:
ssh
root@yo.ur.I.P 'dbus-send --system /default com.lab126.powerd.resuming int32:1'