Hurricane warning remains in effect for all of Bermuda as Puerto Rico struggles to restore power in storm's aftermath.