Please note those lights are indicators of whether your Keyboard Battery is fully charged or out of charge.
a) Green light indicates Full Charge.
b) Red light indicates charging in process.
Note: There is no way to disable that function while using it with the cable.