feat(core): prepare fuel gauge / battery model for different battery types
What changed, and why it matters
This commit adds a single header include to a battery fuel gauge source file in preparation for supporting different battery types. There is no functional code change, no security fix, and no security-relevant behavior introduced.
No security action required. Review as normal code maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds #include <util/unit_properties.h> to core/embed/sys/power_manager/fuel_gauge/fuel_gauge.c. No other code is modified. The commit title describes it as preparation for a battery model supporting different battery types. No logic, bounds checking, parsing, cryptographic, or privilege-related changes are present.
Changed components
core/embed/sys/power_manager/fuel_gauge/fuel_gauge.cInspect captured patch +2 / −0
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 3f07ff88e..40b877ae0 100644
--- a/core/embed/sys/power_manager/fuel_gauge/fuel_gauge.c
+++ b/core/embed/sys/power_manager/fuel_gauge/fuel_gauge.c
@@ -20,6 +20,8 @@
#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.