Skip to main content

edgepulse 0.2.0 copy "edgepulse: ^0.2.0" to clipboard
edgepulse: ^0.2.0 copied to clipboard

Flutter plugin for EdgePulse — runtime observability for on-device AI. Captures real memory (RSS), thermal state, battery draw, and CPU usage on Android and iOS via native platform channels. Pairs wit [...]

Changelog #

0.2.0 — 2026-10-06 #

Added #

  • PlatformMetricCollector — reads real device metrics via Flutter MethodChannel
  • Android Kotlin native plugin (EdgePulsePlugin.kt):
    • captureMemory: Debug.getPss() for accurate process memory in MB
    • captureThermal: PowerManager.currentThermalStatus (API 29+)
    • captureBattery: BatteryManager.CURRENT_NOW in milliamps
    • captureCpu: /proc/stat utilisation ratio
    • getDeviceInfo: Build.MODEL, MANUFACTURER, VERSION.RELEASE, SDK_INT
  • iOS Swift native plugin (EdgePulsePlugin.swift):
    • captureMemory: mach_task_basic_info resident_size
    • captureThermal: ProcessInfo.thermalState (iOS 11+)
    • captureBattery: UIDevice.batteryLevel (level fraction 0.0–1.0)
    • captureCpu: host_statistics HOST_CPU_LOAD_INFO
    • getDeviceInfo: UIDevice model and systemVersion
  • edgepulse.dart re-exports all of edgepulse_core + PlatformMetricCollector
  • Example Flutter app demonstrating 5-run trace on a real device

Notes #

  • iOS battery returns level fraction (0.0–1.0), not milliamps. See docs/ios-battery-note.md for handling both platforms.
  • Minimum Android API: 21. Thermal state requires API 29.
  • Minimum iOS: 12.0. Swift 5.0.
0
likes
0
points
454
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for EdgePulse — runtime observability for on-device AI. Captures real memory (RSS), thermal state, battery draw, and CPU usage on Android and iOS via native platform channels. Pairs with edgepulse_core and SATE AI for complete on-device AI reliability testing.

Repository (GitHub)
View/report issues

Topics

#flutter #plugin #observability #performance #profiling

License

unknown (license)

Dependencies

edgepulse_core, flutter

More

Packages that depend on edgepulse

Packages that implement edgepulse