Google made $31 billion in revenue from Android, Oracle reveals

The Android OS has generated $22 billion in profits for the search giant.

A lawyer for Oracle has disclosed that Google has made $31 billion in revenue and $22 billion in profits from its Android operating system. The revelation comes despite Google's stand that these details must remain confidential and not be disclosed to public, Bloomberg reported.

Oracle and Google have been battling a court case for the past five years. Oracle had accused Google of using its Java software without paying for it.

Google begged the federal judge in San Francisco to redact and seal portions of the public transcript. Google termed this data "extremely sensitive" and said the documents were for the "attorney's eyes only".

In 2008, Google released its Android OS, which generates money via advertisements on Android phones and via its store Google Play. The Mountain View-based company noted in its court filing, "Google does not publicly allocate revenues or profits to Android separate and apart from Google's general business," further disclosing the data can have "significant negative effects on Google's business."

Though it was not clear how Oracle arrived at the mentioned figures, The Verge pointed out that if its claimed numbers were indeed correct, then it would mean that Google made less money from Android than Apple made from iPhone sales in the fourth quarter of 2015. Apple had raked in $32.2 billion in revenue.

It remains to be seen if the court provides Oracle with its demanded compensation of over $1 billion.