My macbook pro charger is turning on and off
So lately when i plug my macbook charger it turns on with the green light then orange then off repeatedly, i tried my friend's charger and i have no issue's with it but my friend tried my charger and he had no issues with it too so i would really like to know what's the issue, is it my charger or my macbook
ill put this info since i have read many threads and it seems that it would help to get me an answer
Battery Information:
Model Information:
Serial Number: 9G1260DNRD3MA
Manufacturer: DP
Device Name: bq20z451
Pack Lot Code: 0000
PCB Lot Code: 0000
Firmware Version: 0201
Hardware Revision: 0002
Cell Revision: 0158
Charge Information:
Charge Remaining (mAh): 1275
Fully Charged: No
Charging: Yes
Full Charge Capacity (mAh): 5390
Health Information:
Cycle Count: 458
Condition: Normal
Battery Installed: Yes
Amperage (mA): 2971
Voltage (mV): 11876
MacBook Pro, Mac OS X (10.6.8)