2020 MacBook Air erratic charging issues
The MacBook will sometimes just act like it has no cable plugged into it. I will close it at the end of the day with 100% charge and plugged in, then not open it for 24 hours. When I come back to it the battery is at 60%. I hadn't upgraded to Big Sur yet, but did today. I left the computer to download and install the subsequent incremental update to 11.2.2 and when I came back it was no longer charging and had dropped to 85%. Unplugged and replugged the charging cable and it started charging again. I also just recently installed Windows 10 via bootcamp (the charging problem had started prior to this.) I have the same problem when booted in Windows.
Battery has less than 80 charge cycles and functions properly and normally. I'm using the original apple charger that is still in excellent shape and the USB C cable positively snaps into both ports. Problem with both ports. I have run Malware Bytes and there is no malware.