diff --git a/src/modules/systemlib/battery.cpp b/src/modules/systemlib/battery.cpp
index 2302515707155488f0ad70df0febddd91fc15b13..04a711837cd56e3f59f3bfccca1d2a69888e1040 100644
--- a/src/modules/systemlib/battery.cpp
+++ b/src/modules/systemlib/battery.cpp
@@ -127,14 +127,15 @@ Battery::filterCurrent(float current_a)
 	}
 }
 
-void Battery::filterThrottle(float throttle){
+void Battery::filterThrottle(float throttle)
+{
 	if (!_battery_initialized) {
 		_throttle_filtered = throttle;
 	}
 
 	const float filtered_next = _throttle_filtered * 0.99f + throttle * 0.01f;
 
-	if (PX4_ISFINITE(filtered_next)){
+	if (PX4_ISFINITE(filtered_next)) {
 		_throttle_filtered = filtered_next;
 	}
 }