Current/power consumption of an H11L1 optocoupler
This 250 mW is an absolute maximum rating which means that if something goes wrong you can be sure that the device won't blow up if the power dissipation is below this value. This is far above the normal operational conditions.

What you need is figure 6. from page 3.



A couple of mA that is normally needed.