diff --git a/system/hardware/power_monitoring.py b/system/hardware/power_monitoring.py index 1caa8e631..7a7a5b448 100644 --- a/system/hardware/power_monitoring.py +++ b/system/hardware/power_monitoring.py @@ -28,8 +28,6 @@ class PowerMonitoring: self.car_voltage_mV = 12e3 # Low-passed version of peripheralState voltage self.car_voltage_instant_mV = 12e3 # Last value of peripheralState voltage self.integration_lock = threading.Lock() - self.dp_dev_auto_shutdown_in = int(self.params.get("dp_dev_auto_shutdown_in") or -5) * 60 - self.dp_dev_auto_shutdown = self.dp_dev_auto_shutdown_in >= 0 car_battery_capacity_uWh = self.params.get("CarBatteryCapacity") or 0