Originally Posted by ApokrifX
Still where those 160 mA goes?
After a lot of screwing around with this I've determined that measuring input current on the USB connector is too unreliable.
The problem is that the charging circuit switches in and out even when it says that it is disabled.
It is going through the charging circuit because the current settings modify it correctly and even turn it off completely.
This is similar to the problems with USB host mode. We can't get any straight info out of the driver.
It shows "await_vrise" quite often, even when it is in host mode.
Also, await_vrise should have a timeout in fractions of a second and should never be a steady state.
So, it looks like host mode is not using significant CPU time in any case.
Back to the original problem, I have seen how the touch screen does not shut off sometimes.
Rebooting it in full gets it back on track.
I've not seen what causes it to get in the non-shutdown mode.