The following checklist is based upon guidance issued in the ICAO Doc 9481 - Emergency Response Guidance for Aircraft Incidents Involving Dangerous Goods (2009 edition). That guidance has subsequently been expanded by International Civil Aviation Organisation (ICAO) into checklists covering a number of different potential scenarios and has been published by the UK CAA as IN-2014/118.
In case of fire involving a portable electronic device: