Battery Won't Charge Light is Orange

Okay so I was on my boot camp partition today (Kinda doubt that's relevant but you never know) with my macbook plugged in. Out of no where it just shuts down.

Now the light is orange so it should be charging but the indicator on the side of the Macbook never goes past one light. If I let it 'charge' for long enough I can turn it on for a short amount of time, but the battery power says 0% and wil shut off before it calculates the time till a full charge.