Depends on the method of extinguishing the fire, of course. An extinguisher that is designed for gasoline (oxygen based) will not work on a battery.
I repeat:
Please cite an example of a non-chemical fire ...