Make ErgDb use current critical power

Rather tha defaulting to 300, take current CP