Updated handling of battery for zwave devices.