Just got this Lenovo Flex 3(1580) it will not charge?

I have been using it for about 2 months now and before encountering this problem it has stopped charging and now its connecting and disconnecting, giving a notification "battery is very low" on and off, iv used Lenovo vantage it says the battery and AC charger are working OK need some help thanks

Bought new? It's still under warranty. Bring it back to the store you bought it from together with the sales receipt and see what they can do.