Wrong battery status on Termux
Battery reads 0.1% when charging and 0.0% when not charging.
Charging:
Not charging:
Termux:API APP is installed and package termux-api is installed (pkg install termux-api)
Phone model: OPPO Reno3, Android 10, rooted
htop ver: 3.0.5

Can you have a look at the status information provided in the two places where htop looks for them?
https://github.com/htop-dev/htop/blob/main/linux/Platform.c#L629-L868
The first one is in /proc/acpi/battery//proc/acpi/ac_adapter and the second one is in /sys/class/power_supply. A copy of those values for the two situations might be good for further diagnosing the issue.
/sys/devices/platform/charger/power_supply/battery/capacity or /sys/class/power_supply/battery/capacity (is a link)

Are these the only files in these directories?
All files in the directories (the second directory is linked to the first)