Increment Battery Charge working.
When a generator is clicked, every battery belonging to the owner of the generator/building gets incremented by ($now - $timestamp)/$factor.