Wireless gas detector with six-month continuous runtime for hazardous environments