Latest stats from Gartner show why Microsoft's presence in smartphone hardware is a joke

After Samsung and Apple, Huawei was third with a solid 8% of the smartphone market during the period. The manufacturer's market share was 40% higher than the 5.7% it had during 2014's fourth quarter. Sales rose from 21 million to 32.1 million. The company's first Nexus model, the Nexus 6P, was a hit. Lenovo and Xiaomi finished fourth and fifth, respectively. Both lost market share and suffered through lower sales.
Android (80.7%) and iOS (17.7%) combined to account for more than 98% of smartphone sales in the fourth quarter of 2015. Windows powered handsets accounted for just 1.1% of market share world wide in the October-December period. That was down sharply from the 2.8% share that these handsets had in the fourth quarter of 2014.
Blame it on the long wait for Windows 10 Mobile, or you can blame it on Microsoft's lack of marketing even during a holiday shopping quarter. Whatever you think the reason is for Windows' poor showing, the bottom line is that the software giant is making no effort to grab any decent share of the market away from iOS or Android. Only BlackBerry's .2% market share in the fourth quarter prevents Microsoft from being on the bottom of the chart.
Considering that Microsoft makes much more money by licensing patents for Android users than it does by selling Windows powered handsets, the truth is simple. Microsoft is only in the smartphone hardware game to show that it has some sort of presence in mobile, as minuscule as it is.
source: Gartner