Preventing Amazon Fire devices from sleeping
If you are ingesting the stream from Amazon devices, you will need to disable the standard screen timeout.
- Download and install Android SDK Platform-Tools from https://developer.android.com/studio/releases/platform-tools
- Enable ADB debugging on your Fire device. You can do this by selecting Settings from the main screen of your Fire TV, selecting Device, and then Developer Options. Turn on ADB Debugging and, if available, Apps from Unknown Sources.
Connect to your Fire device via ADB. You can do this by connecting the Fire using a USB cable and then, on Windows, opening a Command window and running the following commands:
adb kill-server adb start-server adb devices
The last command should show the device as being connected.
To disable the sleep timer, run the command:
adb shell settings put secure sleep_timeout 0