If the Chromebook works when plugged in, but the battery will not charge past 1%, you likely need a new battery. The Chromebook will work plugged in, but a bad/damaged battery could begin to swell.
If you notice your keyboard beginning to bulge up, please open a ZenDesk ticket for repair.
Make sure you’re running the latest ChromeOS version on your device. If the battery issues you’re experiencing are caused by known OS bugs, Google may have already fixed them in the latest ChromeOS release. Go to Settings, click on About Chrome OS, and check for updates. Restart your laptop, and check if you notice any improvements.