power: update error handling