Control Power Led of Raspberry Pi 3

Hello all,

Do anyone know how to control the red power led of a Raspberry PI 3 b+?

I have tried with rpi.GPIO but it does not work on rpi3.

I would like to turn it off during nights. I used to control it with my old rpi 1.

GPIO.setmode(GPIO.BCM)
GPIO.setup(35, GPIO.OUT) #Red PWR LED on RPi2B
GPIO.setup(47, GPIO.OUT) #Green Activity LED on RPi2B

Thanks

I think you may need to tl use a device tree overlay:

https://www.raspberrypi.org/documentation/configuration/device-tree.md

Looks like it may not be possible.