romkatv/powerlevel10k#1289 (comment)
termux-battery-status hangs by default unless Termux:API is installed and
given extra permissions. Thus, it's unsafe to invoke it without first
ensuring that it won't hang. This is a deal breaker.
is there any way to judge a temux-api can work normally not hang?
Thanks!