Xiaomi's cloud storage service Mi Cloud stores all user data in its servers in China. As a company based in China, it is must share data with the Chinese government under the China Internet Security Law and National Intelligence Law. Xiaomi's Cloud messaging service sent some private data, including call logs and contact information, to Xiaomi servers. Xiaomi later released an MIUI update that made cloud messaging optional and that no private data was sent to Xiaomi servers if the cloud messaging service was turned off.