Current rpi value
A Raspberry Pi pin (GPIO) gives me a 23 mA max current (3.43 V) when I set it to on (using pi4j or RPI.GPIO). I think the maximum permitted is 30 mA, otherwise your Raspberry Pi is dead. You can check it yourself by using a multimeter connected in series.