Google agreed Wednesday to sell Motorola to Chinese tech giant Lenovo for $2.91 billion, after a lackluster two-year effort to turn around the smartphone maker it bought for $12.5 billion.
The deal ends Google's run as a handset maker after it biggest-ever takeover, which was announced in 2011 and finalized in 2012.
It also provides Lenovo footholds in smartphone and tablet markets where it is eager to gain traction while acting as a peace offering to Samsung and other partners that make devices powered by Google-backed Android software.
"It is win-win," said analyst Tim Bajarin of Creative Strategies in Silicon Valley. "Google keeps the patents and the research group, and they keep partners off their back, while Lenovo gets what they need to get into the US smartphone market."
Bajarin's 10 tech industry predictions at the start of this year included that Google would spin of or sell Motorola, which he suspects was the plan all along.
Even under Google, Motorola failed to gain traction in a rapidly evolving smartphone market now dominated by South Korea's Samsung and US-based Apple.
Google and Lenovo claimed the deal was good for everyone involved.
"Lenovo has the expertise and track record to scale Motorola Mobility into a major player within the Android ecosystem," Google chief executive Larry Page said in a statement.
Lenovo chairman and chief executive Yang Yuanqing said the acquisition "will immediately make Lenovo a strong global competitor in smartphones. We will immediately have the opportunity to become a strong global player in the fast-growing mobile space."
While Google would be taking a loss on the sale, it did spin off the Motorola Home division for $2.3 billion in 2012 and sold off some of its manufacturing facilities.
Some analysts said one of Google's main interests in Motorola would be the portfolio of 17,000 patents, the majority of which will be kept by the California group.
"Google got what they wanted and needed from Moto -- they got patents, engineering talent and mobile market device insight," said technology analyst Jack Gold.
"They don't need to be in the device business... This is a win for Google and a win for Lenovo in my opinion."
But analyst Ramon Llamas at research firm IDC said the deal still leaves a hole of about $7 billion for Google.
"Are the patents worth $7 billion? I don't know but that is a big question," Llamas told AFP.
Llamas said Motorola failed to make headway some had expected with Google's deep pockets. While the unit produced a highly regarded Moto X handset and a budget-priced Moto G, it has remained far behind the leaders.
"Nobody expected Motorola to go back to its heyday, but I think with Google's backing some of us expected it to make a run at the market leaders and that didn't happen."
Llamas said Google will get out of the awkward position of being its own handset maker, which caused concern that it would give preferential treatment to Motorola for its Android operating system.
"I think it gets Google back in the position of being neutral and not having the other handset makers thinking they are playing favorites," Llamas said.
In a blog post, Page said Google bought Motorola "to help supercharge the Android ecosystem" and that goal has been accomplished.
"But the smartphone market is super competitive, and to thrive, it helps to be all-in when it comes to making mobile devices. It's why we believe that Motorola will be better served by Lenovo -- which has a rapidly growing smartphone business and is the largest (and fastest-growing) PC manufacturer in the world," Page said.
"This move will enable Google to devote our energy to driving innovation across the Android ecosystem, for the benefit of smartphone users everywhere."
Figures released by Strategy Analytics showed Google's Android system was used on 78.9 percent of smartphones sold globally in 2013.
A report by IDC showed Lenovo was the fifth-largest smartphone maker in the fourth quarter with a 4.5 percent market share, barely behind fellow Chinese maker Huawei and South Korea's LG.
Llamas said that with Motorola added in, Lenovo will be number three globally and gain other benefits.
"Lenovo gets an all-important foothold in North America and in Latin America, and to a lesser extent Western Europe," Llamas said.
"Motorola has distribution, it has brand recognition, Lenovo does not have that."
Lenovo became best known in the United States after buying IBM's PC business in 2005, and used that to become the world's biggest PC maker in 2013.
Motorola is not among the top global smartphone makers but has around seven percent of the US market, according to analysts.