Apple Inc. is investigating how to charge electric cars, talking to charging station companies and hiring engineers with expertise in the area, according to people familiar with the matter and a review of LinkedIn profiles.

For more than a year, Silicon Valley has been buzzing about Apple's plan to build an electric car. Now the company appears to be laying the groundwork for the infrastructure and related software crucial to powering such a product.

The moves show Apple responding to a key shortcoming of electric vehicles: "filling up" the batteries. A shortage of public charging stations, and the hours wasted in charging a car, could be an opportunity for Apple, whose simple designs have transformed consumer electronics.