New energy company pledges to give share of business to charities