power: Add callback parameter check