The fire broke out just after 11 a.m. on 51st Street and 11th Ave.
The building has a bike rental shop on the ground floor and apartments above.
The fire forced people out of their homes. One person suffered minor injuries.
The exact cause of the fire is under investigation. It is not yet clear if the batteries sparked the fire.
Submit a tip or story idea to Eyewitness News
Ex-Brit turned Manhattan resident since 2008.