Well...it is official:
Energy that you had before the Unlimited Energy buff will be available to you when the timer ends. However, Energy gained from sources while Unlimited Energy is active doesn't apply to your Energy total after expiration. ( This is official reply from S8 ) - so while you have unlimited energy - NEVER collect from energy sources.