Open Freed-Wu opened 6 months ago
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.
I've tested #114 can work for me.
It works for me too
https://github.com/massix/termux.nvim/blob/trunk/lua/termux/modules/battery.lua
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.