Modesto Fire Station 5 was temporarily closed Wednesday morning after a lithium-ion battery fire filled the station with smoke, fire officials said.