realtime energy monitoring and statistics