Is the hardware switch really just a software switch?

This is not the case, the switches are not gated by software. They pull the active-HIGH enable pin of the respective AP2281 load switch to GND when flipped to the off position. This removes power to the device you’re wanting to turn off. The issue that @Dlonk is having is likely that the switch is somehow physically damaged and not pulling the EN pin to GND when he flips it, it has nothing to do with software. Have a look at the schematic if you’re unsure.

5 Likes