 He was vice president of the Chinese electronics company, Xiaomi, from 2014 to 2017.As of January 2017, he is Vice President of Virtual Reality at Facebook, which he joined shortly after his departure from Xiaomi.Barra attended primary and secondary schools at local Colégio Pitágoras in Belo Horizonte, Brazil, and in 1995 enrolled at the Universidade Federal de Minas Gerais (UFMG), majoring in Electrical Engineering.