I have a problem charging my battery.
When I plug my power adapter into my MacBook Pro, the power adapter's light turns green (it doesn't change to orange) and my monitor light turns on (which means the laptop is getting power from the adapter)—but the battery doesn't charge.

However, when I use my friend's power adapter, my battery does charge.
Is there a problem with my power adapter or something else?