only show EON charge alert on EONs

pull/20285/head
Adeeb Shihadeh 2021-03-08 17:00:58 -08:00
parent 9151f55e5d
commit 8c207d3cd5
1 changed files with 2 additions and 1 deletions

View File

@ -406,7 +406,8 @@ def thermald_thread():
msg.deviceState.thermalStatus = thermal_status
pm.send("deviceState", msg)
set_offroad_alert_if_changed("Offroad_ChargeDisabled", (not usb_power))
if EON and not is_uno:
set_offroad_alert_if_changed("Offroad_ChargeDisabled", (not usb_power))
should_start_prev = should_start
startup_conditions_prev = startup_conditions.copy()