Canaryd.SimulatorMonitor (canaryd v0.4.0)

Copy Markdown View Source

Pure confirmation policy for shutting down idle booted Simulator devices.

A device must be old enough, the user must be away, and no supported test automation can be active for three consecutive full check rounds.

Summary

Functions

Evaluates one scan and returns {new_state, actions}.

Clears incomplete observations after an unavailable or unsafe scan.

Functions

candidate?(arg1, now)

default_state()

evaluate(state, devices, idle_duration, automation_active, now)

Evaluates one scan and returns {new_state, actions}.

minimum_idle()

pending_devices(state)

required_observations()

reset_observations(state)

Clears incomplete observations after an unavailable or unsafe scan.