"echo -n 0 >/sys/class/backlight/max77696-bl/brightness" works for me.
My PW3 is quite new and I poked around a little bit. In case anyone is interested - maybe the wiki would be the better place so please forgive me as I'm new here - here is my small frontlight documentation for PW3:
# `devcap-get-feature -a frontlight` # returns 1 if there is a frontlight
# `lipc-get-prop com.lab126.powerd flIntensity` # returns intensity 0-24, 25 (MAX)
# `cat /sys/class/backlight/max77696-bl/brightness` # returns brightness 0, 1 (0), 2 (1), 3 (2), 4 (3), 6 (4), 14 (5), ... (...), 2531 (22), 2893 (23), 3280 (24), 4095 (MAX)
# `echo -n 0 >/sys/class/backlight/max77696-bl/brightness` # turn frontlight off completely
# `lipc-set-prop com.lab126.powerd flIntensity 0` (values 0-25) turn frontlight on, set intensity to 0-24 (brightness 1-4095)
|