← Back to the chapter · Previous detail · Next detail →
Technical detail · Context-Aware Energy Management
You Pay For The Watcher
13.11 You Pay For The Watcher
Some context-aware designs assume the context signal is free. It is not. The sensor that detects the context - a motion detector, an accelerometer in wake-on-motion mode, a microphone front-end, or a low-power radio listening for a trigger - usually stays powered in every context. Its standing current is added to each per-context average and can dominate the cheap context that the whole scheme depends on.
A continuously powered passive infrared (PIR) occupancy sensor with its signal-conditioning stage draws a quiescent current that, depending on the part, ranges from a few microamps to a few hundred microamps. Suppose the watcher adds 50 uA. Every context inherits it: the occupied average rises from 345 to 395 uA, but the vacant average rises from 28.7 to 78.7 uA - it more than doubles. The blended day becomes 0.375 x 395 + 0.625 x 78.7 = 148 + 49 = 197 uA, wiping out about one quarter of the earlier saving. The watcher hurts most exactly where the design was trying to be cheapest.
The decision rule is therefore: include the watcher before comparing policies. If the watcher were 150 uA instead of 50 uA, the occupied context would become 495 uA and the vacant context would become 178.7 uA. With the same 37.5% occupied fraction, the blend is 0.375 x 495 + 0.625 x 178.7 = 297 uA, close to the 345 uA fixed schedule. At that point the extra sensor, firmware complexity, and missed-event risk may not justify the policy. False positives matter too: if a noisy motion detector keeps the node in the occupied policy after cleaning crews, vibration, or HVAC movement, the measured occupancy fraction rises and the expected saving disappears.