batteryProfile

fun batteryProfile(levelPct: Int, charging: Boolean, health: String, voltageMv: Int): String

Summarizes battery state as a session-correlation signal.

Return

Human-readable battery profile.

Parameters

levelPct

Battery level percentage.

charging

Whether the device is charging.

health

Battery health string, or "unknown".

voltageMv

Battery voltage in millivolts (0 if unknown).