remove unused API 'energy'

I guess this must have been meant as another way to set attenuation?
Anyway, it's not actually used anywhere.