A Dynamic Battery Charging Approach for Energy Trading in the Smart Grid | IEEE Conference Publication | IEEE Xplore