fix battery listener