The California-based company said excluding items, the loss was $1.61 a share, within its $1.60 to $1.70 forecast in May.

The improvement was mainly a result of a 68% surge in revenue to a record $102.8m, as installations in the quarter were a high of 189MW versus 107MW a year earlier.

Residential installations were 168MW against 90MW year-on-year, while commercial rose to 21MW from 17MW.