Microsoft Corp. and Toyota Motor Corp. are forming a partnership to develop in-car electronics systems that help battery-powered vehicles run more efficiently. The companies will jointly invest $11.7 million in Toyota Media Service Co., a Toyota subsidiary that provides data services to drivers. The system will include navigation and in-car entertainment using Microsoft’s Windows Azure software. Toyota said the system could link owners with their cars, their home appliances, heating and AC control and their utility company’s “smart grid” to minimize energy use. Consumers would be able to schedule use for times when rates are lowest, have the car’s temperature preset and have the most efficient route already in the navigation system.