Energy randomness