While Xiaomi Corp's (1810 -3.54%) phones may be popular, the same cannot be said about its stock. The smartphone giant's stock has shed close to 50% of its value since it went public in Hong Kong last year. But the steep fall in its share price may have given investors a good entry point to get into this high-growth company for the long term.

Family looking at smartphones.

Image Source: Getty Images.

Growing its smartphone business

Xiaomi has recently been able to win market share in the smartphone category against some of its more illustrious competitors. According to a report by Canalys, Xiaomi's global market share has grown from 9.5% in the second quarter of 2018 to 9.7% in the second quarter of 2019.

Most notably, the group made big strides in Western Europe where its market share increased from 3.5% to 5.5%. It managed to win market share against Apple and Huawei, both of which saw their market shares in Western Europe decline by 2.8 and 5.3 percentage points respectively.

Xiaomi can also ride on the potential boost in domestic demand for smartphones, which will be driven by the commercialization of 5G technology. Xiaomi established a research and development team focusing on 5G technology back in 2016 and is well-prepared for the 5G smartphone replacement cycle.

The recent increase in smartphone sales has translated into its financials. In the first half of 2019, revenue from smartphones surged 9.8%.

Other segments growing too

Besides its smartphone business, the group's two other segments – (1) Internet of Things (IoT) and lifestyle products and (2) internet services have both seen rapid growth.

In the first six months of the year, revenue from its IoT and lifestyle segment jumped 49.3%, while internet services revenue increased by 22.9%.

The two fast-growing segments, which accounted for 37% of Xiaomi's total revenue, are becoming an increasingly important growth driver for the company.

Turning a profit

Investors have had a hard time grappling with Xiaomi's business model – to be the most cost-effective smartphone for consumers – which has resulted in razor-thin gross margins.

However, the company has been increasing its average selling price over the years. In the second quarter of 2019, Xiaomi increased its average selling price by 13.3% in China and by 6.7% in the rest of the world. Consequently, gross profit margins improved from just 3.3% in the first quarter of 2019 to 8.1% in the second quarter. 

The group also turned its cash-burning business into a cash-generating one. In the second quarter of 2019, the group generated RMB 13.6 billion (US$1.9 billion) in operating cash flow, a turnaround from the negative cash flow in previous years.

Valuation

After the steep fall in its share price, Xiaomi now trades at a much more palatable valuation. The group's shares have a price-to-sales ratio of 1 and trade at around 17x its annualized operating profit.

Given the group's potential to increase its selling prices and improve gross margins on its phones, along with the growth in its higher-margin internet services segment, its current valuation does not seem too demanding. Xiaomi's smartphone business could also benefit from the negative sentiment surrounding Huawei right now.

With all that said, I believe now may be a good time for investors to give Xiaomi shares a serious look.

A version of this article originally appeared on our Fool Asia site. For more coverage like this head over to Fool.hk.en.