I believe the cause of the charger to stop working even while plugged in may be related to the screen brightness, hear me out.
When the screen brightness is above 50%, I would experience the issues with the charger, randomly stop charging and the white light on the plug to turn off while plugged in. I would then perform the "ritual" to get the charger to start working again (disconnect from surface, disconnect from charging brick, reattach in reverse order and it'll work again). But then I would lower the screen brightness to 30-40% and would never have any problems with the charger, during the day or overnight.
For those who've replied to this thread, perhaps some of you could play with the screen brightness and see if anything changes? I think having the screen brightness above 50% draws a lot of power and my guess is the charger recognizes this power surge and cuts out as a safety feature. If this is actually true then the culprit is either the software within the charger itself or software on the surface responsible for managing high power draws. I'm just brainstorming here since Microsoft's techs gave us the run-around and ignored us for over a year.
