From d4511fce6ae9de134a286aa5ed099ced194d4852 Mon Sep 17 00:00:00 2001 From: "Mr.one" Date: Wed, 13 May 2026 08:30:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91power=5Fmonitoring.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system/hardware/power_monitoring.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/hardware/power_monitoring.py b/system/hardware/power_monitoring.py index 4151aab4..9e13dd6d 100644 --- a/system/hardware/power_monitoring.py +++ b/system/hardware/power_monitoring.py @@ -13,10 +13,10 @@ CAR_BATTERY_CAPACITY_uWh = 30e6 CAR_CHARGING_RATE_W = 45 VBATT_PAUSE_CHARGING = 0.1 # Lower limit on the LPF car battery voltage -MAX_TIME_OFFROAD_S = 30*3600000000000000000000 +MAX_TIME_OFFROAD_S = 300000000*3600 MIN_ON_TIME_S = 3600 DELAY_SHUTDOWN_TIME_S = 300 # Wait at least DELAY_SHUTDOWN_TIME_S seconds after offroad_time to shutdown. -VOLTAGE_SHUTDOWN_MIN_OFFROAD_TIME_S = 60 +VOLTAGE_SHUTDOWN_MIN_OFFROAD_TIME_S = 600000000000 class PowerMonitoring: def __init__(self):