After the shootout where Ray Liotta dies, the elevators are shut down and the lighting is turned off but when Alicia Keys finds them in the elevator, the lights are on again.
Maybe the hotel turned the power back on, but then why would the mercenaries in the other elevator need to hook a battery to restore power in the elevator.