How can I calculate current with load switch?
Load switch TPS272C45 by Texas Instruments outputs the current drawn by the load.
https://www.ti.com/lit/ds/symlink/tps272c45.pdf?ts=1618175801421

SNS is an analog output pin that outputs the analog output current drawn by the load.
Connect a resistor between SNS and GND.

This a selection filter at Texas Instruments in case you want to browse other load switches:
https://www.ti.com/power-management/power-switches/high-side-switches/products.html