Battery starts to drain while plugged in
I just bought my MacBook Pro 2020 13'' recently. I have an external monitor, Bluetooth mouse and keyboard.
I use my MacBook plugged in most of the time. However, sometimes I notice the battery % starts dropping while plugged in when I work on Xcode. From 100%- 96%, the status says "Battery Charged, Power Source: Power Adapter". When it reaches 95%, the status switches to "Battery Not Charging, Power Source: Power Adapter".
Normal restart or re-plugging the adapter did not help. An interesting issue I noticed was when I did a restart, the battery % at the login screen showed a lower value (89% or something) compared to the battery % when I was logged in (94% or something). I tried to restart when it said 94%.
A complete shutdown and power back on or SMC reset seems to fix the issue. However, this issue happens again in 2 or 3 days and I would have to do a complete power off and power on again. It's been like this for over a week now.
I greatly appreciate if anyone could help or provide any suggestions.
Thank you
MacBook Pro 13″, macOS 10.15