A method of regenerating a desiccant in a breather communicating with a vessel includes creating a temperature signal that is a temperature associated with at least one of the vessel and the breather for a plurality of cycles, each cycle having a predetermined duration, and regenerating the desiccant when the second derivative of the temperature signal reaches a peak value. The method may further include applying a Huber function to the measured plurality of bit error levels to generate a bit error ratio estimate for the RF receiver. The surgical device is particularly suitable for use in the treatment of treat Age Related Macular Degeneration. This battery structure overcomes critical shortcomings of current lithium-sulfur, lithium-air, and lithium-ion batteries.