Nigeria's ruling party links power shortage to attacks