Unloading Motorola for $3b. They bought it for $12b. (Not including cash cause we don't know the details of the deal.)
Even if Google sold Motorola, after raiding the cash, their loss on the deal is $6b. (Not including the spent money on advertising.)
Updated: At least margins will go up for the overall company. But they will still have to take a sizable charge on the deal. The FRAND patents, mostly kept by Google, have proven to not be worth the $4-6b left in their initial purchase of Moto.