LCD 2004 display, I2C and brightness

Currently by manually setting the below I can dim it slightly, 64 is pretty much off.

  pinMode(analogLCDpower, OUTPUT);
  analogWrite(analogLCDpower, 128);

I'm simply connecting to the LCD backlight power input pin as shown in attached.