Energy Autonomy of Real-Time Systems