A recent IRS ruling confirms that batteries used to store solar electricity qualify for the 30% energy tax credit. At the same time, it imposes significant limits on the amount of the available credit if the battery also stores electricity drawn from the utility grid.