Added network interface to query battery status