The S2 adapter is probably 1A or less. S4 adapter is 2A, which means it charges at 2x the speed. While using HDMI with all your accessories, you are draining at a faster speed than you are charging. Switch your S2 adapter to S4 adapter or get any 2A wall chargers (those are $10 or so), and your problem will be solved!
If you find my post helpful, please hit Thanks
Complete list of all smartphone and tablet accessory REVIEWS by Vectron -> HERE