chiark / gitweb /
core: rework device state logic