distributed power management algorithm