How to empty the dust compartment of the Xiaomi Vacuum Cleaner G10 Plus?

Before emptying the compartment, make sure the vacuum cleaner is disconnected from the power, and do not press its power button.
Hold and position the bottom of the dust compartment above a trash bin. Press the release switch of the bottom cover to empty the contents.