This is already implemented (sans circuit connection, as the prototype for electric turrets is hard coded).
energy_source =
    {
      type = "electric",
      buffer_capacity = "15kJ",
      input_flow_limit = "15kW",
      drain = "0kW",
      usage_priority = "secondary-input"
    },
A buffer of 15KJ is stored (the cost of one cycle), with no drain for being connected. Searchlights only use power when they are active. I hope this clarifies things.