This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

USB

Is it possible to tell if the USB is connected to a wall-charger as opposed to a PC?

Parents
  • 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

Reply
  • 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

Children
No Data
Related