  from common.filter_simple import FirstOrderFilter
  from common.params import Params
  from common.realtime import DT_TRML, sec_since_boot
  from selfdrive.controls.lib.alertmanager import set_offroad_alert
  from selfdrive.hardware import HARDWARE, TICI
  from selfdrive.loggerd.config import get_available_percent
  from selfdrive.statsd import statlog
  from selfdrive.swaglog import cloudlog
  from selfdrive.thermald.power_monitoring import PowerMonitoring
  from selfdrive.thermald.fan_controller import TiciFanController
 
</s> remove from selfdrive.hardware import TICI
 </s> add from selfdrive.hardware import AGNOS </s> remove import shutil
 </s> add  </s> remove   NativeProcess("ui", "selfdrive/ui", ["./ui"], offroad=True, watchdog_max_dt=(5 if TICI else None)),
 </s> add   NativeProcess("ui", "selfdrive/ui", ["./ui"], offroad=True, watchdog_max_dt=(5 if not PC else None)), </s> remove         if TICI and ((modem_version is None) or (modem_nv is None)):
 </s> add         if AGNOS and ((modem_version is None) or (modem_nv is None)):
from selfdrive.hardware import HARDWARE, TICI, AGNOS
  from common.filter_simple import FirstOrderFilter
  from common.params import Params
  from common.realtime import DT_TRML, sec_since_boot
  from selfdrive.controls.lib.alertmanager import set_offroad_alert
from selfdrive.hardware import HARDWARE, TICI, AGNOS
  from selfdrive.loggerd.config import get_available_percent
  from selfdrive.statsd import statlog
  from selfdrive.swaglog import cloudlog
  from selfdrive.thermald.power_monitoring import PowerMonitoring
  from selfdrive.thermald.fan_controller import TiciFanController
keep keep keep keep replace keep keep keep keep keep
 less TICI when not needed (#24698)

* less TICI when not needed

* fix process replay

* move reading voltages into hw abstraction layer

* Update selfdrive/hardware/tici/hardware.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/hardware/hw.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/hardware/base.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* rename init function

* Update selfdrive/athena/athenad.py

Co-authored-by: Robbe Derks <robbe.derks@gmail.com>

* Update selfdrive/boardd/boardd.cc

* Apply suggestions from code review

* Update selfdrive/thermald/thermald.py

* update ref

* fix alert width if all cameras are bad

* add ecam to test_loggerd

* bump cereal

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com> 
selfdrive/thermald/thermald.py