tmux-battery icon indicating copy to clipboard operation
tmux-battery copied to clipboard

[feature] Support Android

Open Freed-Wu opened this issue 1 year ago • 3 comments
trafficstars

Screenshot_20240227_161418_com termux

Android's normal APP doesn't have enough permission to get battery information like GNU/Linux. We must use a different way.

Refer https://github.com/lambdalisue/battery.vim/blob/master/autoload/battery/backend/termux.vim which is a vim statusbar plugin to display battery information.

Freed-Wu avatar Feb 27 '24 08:02 Freed-Wu

I've tested #114 can work for me.

Freed-Wu avatar Feb 27 '24 11:02 Freed-Wu

I've tested #114 can work for me.

It works for me too

xronin01 avatar Jun 10 '24 17:06 xronin01

https://github.com/massix/termux.nvim/blob/trunk/lua/termux/modules/battery.lua

xronin01 avatar Jun 10 '24 17:06 xronin01