diff --git a/src/Vehicle/Vehicle.h b/src/Vehicle/Vehicle.h index b124d80c4e9218985077258113e6bc307c3ebdc8..611eaaaddd3e0135047308c27a30ddc2f1b51331 100644 --- a/src/Vehicle/Vehicle.h +++ b/src/Vehicle/Vehicle.h @@ -9,6 +9,7 @@ #pragma once +#include #include #include #include @@ -1515,7 +1516,7 @@ private: QString _gitHash; quint64 _uid; - QTime _lastBatteryAnnouncement; + QElapsedTimer _lastBatteryAnnouncement; int _lastAnnouncedLowBatteryPercent; SharedLinkInterfacePointer _priorityLink; // We always keep a reference to the priority link to manage shutdown ordering