termux-api icon indicating copy to clipboard operation
termux-api copied to clipboard

termux-battery-status hangs on Android Go 8.1

Open gcleaves opened this issue 3 years ago • 3 comments

Problem description termux-battery-status does nothing, it just hangs until I hit ctrl-c.

Steps to reproduce Get your hands on a Android Go 8.1 device such as this one: https://www.amazon.com/Tel%C3%A9fono-Android-desbloqueado-desbloqueo-Smartphones/dp/B09D7DM2TG

Install Termux app, Termux-Api app and termux-api package.

Enter termux-battery-status in termux command line. Stare at screen.

Expected behavior termux-battery-status should immediately report battery info.

Additional information

  • termux-api application version: 0.44
  • termux-api package version (installed through apt): 0.57 (? not sure, how do I get this info)
  • Android OS version: Go 8.1.0 / Security update: April 1, 2019
  • Device model: KXD 6A
  • Termux app version: 0.101

gcleaves avatar Oct 09 '22 13:10 gcleaves

termux-api application version: 0.44 Termux app version: 0.101

Please try with latest termux versions from github or fdroid, we don't maintain such old versions

Grimler91 avatar Oct 09 '22 16:10 Grimler91

Set Termux:API APP to autostart.which worked on my Xiaomi phone (Android 13).

ixysoft avatar Jan 17 '24 23:01 ixysoft