Lenovo reported a 5% decline in its second-quarter profit, even as revenue rose to $20.5 billion, slightly above market expectations. Net profit came in at $340 million, missing analyst estimates.