Interview Guides

You are building software for a battery-powered device that moves between active, idle, and low-power states. The system uses on-device signals to decide when to transition states so it can save energy without hurting responsiveness.
Walk me through power-management states and transitions for a battery-powered device.