real-time energy tracking