On Linux calculate battery stats only if battery data available