Xperia 10 III charging issue

I noticed today that when this happens the CSD tool ‘power consumers’ will switch from state ‘Discharging’ to state ‘NotCharging’ rather than the expected ‘Charging’. The UI will obviously still show the wrong state as-if it’s charging, but it looks like the device actually does know there is a problem, or at least it can differentiate between the three different states.