Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
ISO/IEC 29341-6-2 defines the Power Management service (PMS) for UPnP low-power devices, specifying the protocol and state machine that governs device power state transitions. This standard builds upon the Low Power device template (29341-6-1) and provides the detailed action set, state variables, and eventing model required to implement dynamic power control in UPnP networks. The PMS is the central service that orchestrates when and how a device transitions between power states.
Modern networked devices often remain fully powered for hours or days without performing useful work. The Power Management service addresses this inefficiency by defining a formal power state machine with well-defined transitions. The standard specifies four primary power states: Full On (D0), Standby (D1), Sleep (D2), and Off (D3). Each state represents a specific level of functionality, power consumption, and wake latency, allowing devices to select the most appropriate state for current network conditions.
The Power Management service implements a deterministic state machine with explicit transition rules. Transitions between states are triggered by either external events (control point requests, network activity) or internal events (timers, sensor inputs). Each transition is associated with a specific action in the PMS action set: SetPowerState for external requests, and DeferPowerState for scheduled transitions. The device must acknowledge each transition and report its new state via the eventing mechanism.
The transition protocol includes a crucial safety feature: the DeferPowerState action allows a device to postpone a requested power state change when it is in the middle of a critical operation. The PMS specifies a maximum deferral period of 30 seconds, after which the device must either complete the transition or explicitly reject it. This prevents indefinite blocking of power state changes while protecting data integrity during active operations.
A key innovation in the standard is the concept of “power state dependencies.” Certain device functions may require a minimum power state to operate. For example, a networked printer that is in Sleep (D2) state may need to transition to Standby (D1) before it can process a print job. The PMS allows services to register power state requirements, and the power manager ensures these dependencies are satisfied before triggering transitions.
| Power State | Code | Power Consumption | Wake Latency | Functional Level |
|---|---|---|---|---|
| Full On (D0) | 0 | 100% | Instant | Full functionality |
| Standby (D1) | 1 | 30-50% | <100 ms | Limited, proxy available |
| Sleep (D2) | 2 | 5-15% | <2 s | Minimal, proxy required |
| Off (D3) | 3 | <1% | >5 s | No functionality, wake on LAN |
When implementing the Power Management service, engineers should consider the hysteresis requirements for state transitions. The standard recommends a minimum residence time of 5 seconds in any state before a transition can occur, preventing oscillation between states under fluctuating network load. This hysteresis is particularly important in environments with bursty traffic patterns where brief periods of activity might otherwise trigger unnecessary wake-sleep cycles.
The PMS supports predictive power management through the ScheduledWake action. Devices can be configured with a schedule of expected wake times, allowing them to synchronize their sleep cycles with anticipated network activity. This feature is especially valuable in building automation scenarios where lighting, HVAC, and security systems follow predictable daily patterns. The schedule is maintained as a state variable that can be updated dynamically by control points.
Network architects should design their UPnP topology with power management in mind. The standard recommends deploying proxy devices on the same network segment as low-power devices to minimize latency and avoid crossing router boundaries for discovery responses. In large deployments, multiple proxies may be necessary to ensure coverage while maintaining the energy savings of the low-power devices.
ISO/IEC 29341-6-2 Power Management service provides a comprehensive framework for managing device power states in UPnP networks. With its well-defined state machine, transition protocol, and dependency management, it enables engineers to implement sophisticated power optimization strategies while maintaining network reliability and responsiveness. This standard is essential for any UPnP deployment where energy efficiency is a design priority.