Backup any important documents before you lose power completely.
If your MacBook drains while connected to a charger, or maybe its battery indicator is acting weirdly, this method could resolve those issues. Please follow the official guide provided by Apple, the link is below.
Perform a SMC reset:
If your issue persists or this method only temporarily resolves the issue, please contact UWW Tech Support.