Termux:API is a pair
The helper app from F-Droid. The termux-api package inside Termux. One without the other is a doorbell with no wiring.
If battery or clipboard commands fail: the app is missing, it came from a different store than Termux, or you never opened it and granted permission.