I always carry four battery rechargers and was unaware China limited passengers to two. A woman behind me in the PVG VIP security line (very slow and backed up - the line, not the woman) offered to take the two violating batteries and was being lectured to when I left. She was in the lounge later, so obviously they didn't detain her, but security is pretty strict.