By default, MIUI/HyperOS does not have the option in the settings (or anywhere in its UI) to limit battery charging, but it also ships with '/sys/class/qcom-battery/night_charging' file, which does that but, there's no way to turn it on out of the box. This is where this module comes in.
Vayu is know for bricking when using battery limiting stuff. Applies here too?