debugging power adaptive control