fix(core): Remove unnecessary dependencies.
What changed, and why it matters
This commit simply removes an unused header file include from a battery fuel gauge source file. There is no functional code change, no bug fix, and no security relevance visible in the diff.
No security action needed. Treat as routine code hygiene.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch deletes one #include <util/unit_properties.h> line from core/embed/sys/power_manager/fuel_gauge/fuel_gauge.c. The file still includes math.h, battery_model.h, and fuel_gauge.h. No logic, data structures, or interfaces are modified. It appears to be a cleanup of an unnecessary dependency.
Changed components
core/embed/sys/power_manager/fuel_gauge/fuel_gauge.cInspect captured patch +0 / −2
diff --git a/core/embed/sys/power_manager/fuel_gauge/fuel_gauge.c b/core/embed/sys/power_manager/fuel_gauge/fuel_gauge.c
index 40b877ae0..3f07ff88e 100644
--- a/core/embed/sys/power_manager/fuel_gauge/fuel_gauge.c
+++ b/core/embed/sys/power_manager/fuel_gauge/fuel_gauge.c
@@ -20,8 +20,6 @@
#include <math.h>
-#include <util/unit_properties.h>
-
#include "battery_model.h"
#include "fuel_gauge.h"
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.