feat(power): 展示电池实际充放电功率并及时响应电源切换
保留电量百分比和连续趋势,按历史采样展示电池、适配器和系统功率。面板可见时读取电池实时功率,插拔电源后立即刷新并复读。
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ CORE = sorted(str(p.relative_to(ROOT)) for folder in ("Models", "Monitors", "Ser
|
||||
for p in (ROOT / "kymo/Core" / folder).glob("*.swift"))
|
||||
CHECKS = {name: list(CORE) for name in (
|
||||
"SamplingChecks", "SamplingIntervalChecks", "UnifiedPanelChecks", "MemoryChecks",
|
||||
"GPUStatisticsChecks", "StageCChecks", "MachPortChecks", "ReleaseServiceChecks", "DetailDemandChecks")}
|
||||
"GPUStatisticsChecks", "StageCChecks", "BatteryPowerChecks", "MachPortChecks", "ReleaseServiceChecks", "DetailDemandChecks")}
|
||||
CHECKS.update({
|
||||
"BackgroundTrendChecks": CORE + ["kymo/UI/Charts/PanelCurveGeometry.swift"],
|
||||
"ProcessEnergyChecks": ["kymo/Core/Models/ProcessMetrics.swift", "kymo/Core/Models/ProcessEnergy.swift", "kymo/Core/Monitors/ProcessEnergyMonitor.swift"],
|
||||
|
||||
Reference in New Issue
Block a user