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

termux-battery-status shows incorrect percentage

Open pbnj opened this issue 6 years ago • 0 comments

Hi, I'm on a pixelbook.

Expected

termux-battery-status should show the correct percentage as the chromebook indicates. screenshot 2018-06-17 at 10 39 11 pm

Actual

$ termux-battery-status | termux-clipboard-set
{
  "health": "UNKNOWN",
  "percentage": 71,
  "plugged": "PLUGGED_AC",
  "status": "CHARGING",
  "temperature": 0.0
}

Additional Info

$ termux-info
Updatable packages:
All packages up to date
System information:
Linux localhost 4.4.118-13213-gd81e1fa0bcfd #1 SMP PREEMPT Tue May 29 21:54:10 PDT 2018 x86_64 Android
Termux-packages arch:
x86_64
Android version:
7.1.1
Device manufacturer:
google
Device model:
Google Pixelbook

pbnj avatar Jun 18 '18 05:06 pbnj