Google loses patent lawsuit to Sonos