SHARE:

Best Buy Co Inc, the No. 1 U.S. consumer electronics retailer, reported better-than-expected quarterly sales and earnings on Tuesday and raised its annual revenue forecast, led by robust demand for smartphones and wearable devices.

The results highlighted Best Buy’s continued success in a gloomy U.S. retail industry, which has been battered in recent years as more customers desert malls and shop online.

The company’s shares rose 4.2 percent to $65.10 in premarket trading.

Best Buy, which was struggling with declining sales and profits as recently as 2015, has turned itself around by closing underperforming stores, improving customer service and most importantly, matching Amazon.com Inc’s low prices.

Best Buy’s sales have beaten analysts’ estimates in six of the past eight quarters, a feat unmatched by other electronics retailers such as hhgregg and RadioShack, which went bankrupt.

Richfield, Minnesota-based Best Buy has steadily gained market share for more than three years in a “slow-growth” consumer electronics environment, RBC Capital Markets analyst Scot Ciccarelli said earlier this month.

“Best Buy has already weathered the worst of the Amazon storm,” Ciccarelli said.

Best Buy’s sales at established stores rose 5.4 percent in the second quarter ended July 29, handily beating analysts’ average expectation for a 2.1 percent increase, according to Consensus Metrix.

Online comparable sales in the United States surged about 31 percent, on top of a 23.7 percent increase last year, as faster shipping and improvements to Best Buy’s checkout and search functions drew more shoppers.

The company now expects full-year revenue to rise about 4 percent, compared with an earlier forecast for a 2.5 percent increase.