error handling for power consumption