Toyota is testing new technology it said could make hybrids and other vehicles with electric powertrains more efficient.