what is the black and white wires on power cable on laptop

Solution
If this is on the A/C (mains) side of your laptop's power brick, the black is the hot, white is neutral, and green is ground.