Asus UX330UA battery undetected

My ASUS UX330UA previously did a "battery unknown" warning, and now the laptop only works when plugged in. When on, it shows battery as 79%, but will immediately lose power upon being plugged out. I've tried updating the BIOS, but no such luck. More about : asus ux330ua battery detected