Both Bloomberg and Pataki said were confident electricity would be restored by the morning .