battery + ifstat fixes