Is it possible to tell if the USB is connected to a wall-charger as opposed to a PC?
Hello,
I have not checked exactly which events that are the best to check for, but you can figure out quite fast whether you get some USB events or not. If you don't get the USB events in a couple of seconds, you can conclude that you are only receiving power through the USB, and that you are connected to a wall-charger.
Best regards,
Edvin
Hello,
I have not checked exactly which events that are the best to check for, but you can figure out quite fast whether you get some USB events or not. If you don't get the USB events in a couple of seconds, you can conclude that you are only receiving power through the USB, and that you are connected to a wall-charger.
Best regards,
Edvin