A Probabilistic Approach to Energy-Constrained Mixed-Criticality Systems