Problem description
If I run termux-battery-status repeatedly from commandline, it will eventually (maybe after 10 or 20 times) lock up and never return. I have to Ctrl-C.
I noticed this because I am using termux-battery-status for my tmux status bar, which refreshes occasionally, and it builds up hung processes in the process list. I have had to implement a script that runs hourly that does killall -v termux-api.
Steps to reproduce
Run termux-battery-status repeatedly in a shell.
Expected behavior
Should never lock up / hang.
Additional information
- termux-api application version: 0.53.0, versionCode=1002, targetSdk=28, minSdk=24.
- termux-api package version (installed through apt): 0.59.1-1
- Android OS version: 16, GrapheneOS
- Device model: Pixel 9 Pro
Problem description
If I run
termux-battery-statusrepeatedly from commandline, it will eventually (maybe after 10 or 20 times) lock up and never return. I have to Ctrl-C.I noticed this because I am using
termux-battery-statusfor my tmux status bar, which refreshes occasionally, and it builds up hung processes in the process list. I have had to implement a script that runs hourly that doeskillall -v termux-api.Steps to reproduce
Run
termux-battery-statusrepeatedly in a shell.Expected behavior
Should never lock up / hang.
Additional information