In any extrinsic semiconductor whether P or N type the the total charge is zero , ie, it electrically neutral.Suppose in case of p-type semiconductor in which Si is doped with Boron(which has 3 valence electrons).Both Si and B are electrically neutral to begin with.
When bonds are formed between them Becuase of 1 electron being less than 4 of Si there is excess of holes in the material for conduction.But there is also on electron of Si for every hole of B.So totally the P-type is electrically neutral
