Another hint: I have been added this lines before the "try" statement in the off-button.py:
led_gpio_number = 13
GPIO.setup(led_gpio_number, GPIO.OUT)
GPIO.output(led_gpio_number, True)
This will turn my status LED on when LibreELEC starts. The status LED will turn off automatically at shutdown, because the shutdown will set all GPIO levels back to default state.
You can use the same code, too: If you connect GPIO 13 (and maybe it's opposite ground pin) with your circuit, it will have the same effect like connecting and listening to an USB port (whether it has the default 5V or not).
The only difference is that you have to handle 3.3V of the GPIO instead of the 5V of USB.