power: improve handle_plan