Posting this again because my previous thread is no longer being monitored. I was trying to recreated the issue, but had a few days where it was working ok. I also never received a notification that there was a reply to my question.
Just now I plugged the Surface at 17%, it showed as charging, then a few minutes later I got a notification that the battery level had dropped to 6%. The few days that it was working ok, I had plugged the surface in at 47% or 48%. The battery level never increased from there to my fully charged limit of 50% though. It stayed at 47% all day.
https://answers.microsoft.com/en-us/surface/forum/all/surface-pro-7-not-charging-via-usb-c-from-monitor/efd11a4c-fa87-4ebf-a3a7-c937b4d9ce5e
I use the USB-C cable that came with my monitor (LG 27UK850) to charge my Surface Pro 7 while at my desk. The USB-C output is rated at 60w. I use the Surface mostly for media consumption while working on my desktop, so the Surface doesn't actually send any video to the monitor.
My usual process in the morning is plug Surface into USB-C cable if not already plugged in, then wake the Surface and turn on the monitor and desktop. The Surface says it's plugged in and shows the lightning bolt on the battery icon. Even the tooltip when you hover over the battery icon in the quick access menu says charging. But instead of staying at 50% (I have the limit turned on in BIOS), the battery level keeps dropping and I usually don't notice until battery saver turns on and I get a notification.
Here's a link to a screenshot:
https://i.imgur.com/mDqLYiX.png
Just after I took the screenshot, the battery dropped from 24% to 23%. The only way to fix this has been to unplug the USB-C cable and plug it back in.
I've noticed that the monitor doesn't automatically switch sources anymore when I connect the Surface for the first time, but it does the second time.
I've also noticed that the the SurfaceUcmUcsiHidClient Device has been showing a yellow exclamation point icon in Device Manager. Yesterday I updated the Surface firmware manually from here: https://www.microsoft.com/en-us/download/details.aspx?id=100419 , which fixed the device error temporarily, but the error was back today. Disabling and re-enabling the device made the error icon do away, but charging did not resume. I had to disconnect and connect the USB-C cable. Windows 11 is up to date otherwise.
I have no issues charging via a USB-C charger, like a Macbook charger.
With Windows 10, the Surface had no issues charging via the USB-C cable from the monitor, whether left plugged in over night or connected in the morning.
With regards to troubleshooting:
-Restarting the Surface
Yes, restarting the Surface got it to charge. I only tested this with the monitor on. But I feel I shouldn't have to restart the device to get it to charge.
-Diagnostic Toolkit
Didn't find any issues that needed to be fixed.
-Update Windows
Everything was up to date as mentioned already in my post.
I update the firmware as part of my own troubleshooting as mentioned already in my post. The only battery I have is the Surface Battery, not the ACPI-Compliant battery. I did reinstall the driver and there has been no difference.