When you are in a Warzone, you can earn "Defender Points". What exactly are they? How are they computed? What are they good for?
This thread. does a good job of explaining how points are calculated.
In short it seems that badges and points just show how much / how proficient you are in the PVP Warzones. Points are awarded for hurting opponents, healing allies, and whether you are attacking or defending in the zone at the time.
I hope this go some way to explaining what you wanted to know :)
As near as I've been able to determine, you automatically accumulate defender points at a certain rate if you're standing near an objective your side owns.
Unfortunately, you don't get to see your actual points score go up so I can't tell you if they go up faster when you're also fighting enemies at the same time.