Provision of Inertial and Droop Response by Controlling the Charging Rate of Battery Pack