This commit is contained in:
2026-06-16 15:18:38 +08:00
parent 5ab4ef2944
commit b169618b16
2 changed files with 37 additions and 18 deletions

View File

@@ -2092,6 +2092,7 @@ class NetworkManager:
battery_data = {
"battery": battery_percent,
"voltage": round(float(voltage), 3),
"netType": self.network_type,
}
self.safe_enqueue(battery_data, 2)
self.logger.info(f"电量上报: {battery_percent}%")