This video explains you how a current leakage can happen due to floating state of an I/O pin in input mode.

Watch this video to understand more about this.

Also please subscribe to our YT channel here for more videos