This might not be a software issue. You'd be better off opening a support ticket with Apple to at least have it officially documented. I did with Apple and they told me to exchange it. I am exchanging mine for a new one that should be here on Wednesday. I wanted to make sure that I could exchange it during the official exchange period. Otherwise it would be treated as a repair down the road and you might get a refurbished unit as a repair.
If this is a software bug then Apple knows about it. What is shady is this might drive people to buy a MagSafe charger during the period where the fix is unavailable. I would not put it past Apple to do something like this. They already didn't include the 20W USB-C charging brick which a lot of people don't already have. They also got caught dumbing down the performance and batter life on the iPhone 6 and 7 when they released the 8 and X.