LIVERMORE -- Two people were hospitalized, including a woman briefly trapped in a motel room bathroom, after a fire broke out at the Studio Inn on Friday, a fire battalion chief said.

Fire crews rescued the woman by forcing their way through a locked and barricaded door to her room at the motel, located at 1321 Portola Avenue, Battalion Chief Joe Testa said. She was taken to a hospital and was reported to be in stable condition.

The woman retreated to the bathroom after the fire started around 10:35 a.m., Testa said.

Another woman suffered an undisclosed minor injury while helping to evacuate an adjacent unit in the motel complex and was taken via ambulance to a hospital, Testa said. A man who also attempted to rescue the trapped woman suffered smoke inhalation but was treated at the scene and released, Testa said.

Fire crews contained the fire to the room and extinguished it within minutes of arriving, Testa said. The motel evacuated all 15 of its residents and also shut down all gas and power to the building during the rescue, Testa said. The evacuated residents have since been allowed back into their rooms.

Investigators said the fire appears to have started in the sleeping area of the room, next to the beds, Testa said. They are still trying to determine the cause, he said, but arson is not suspected.

Contact Rick Hurd at 925-945-4789 and follow him at Twitter.com/3rdERH.