diff --git a/ports/stm32/boards/Passport/modules/tasks/battery_adc_task.py b/ports/stm32/boards/Passport/modules/tasks/battery_adc_task.py index ef523223f..afe15f695 100644 --- a/ports/stm32/boards/Passport/modules/tasks/battery_adc_task.py +++ b/ports/stm32/boards/Passport/modules/tasks/battery_adc_task.py @@ -64,7 +64,8 @@ def calc_battery_percent(current, voltage): async def battery_adc_task(): import passport - if not passport.HAS_FUEL_GAUGE: + + if passport.IS_SIMULATOR: return while True: