Comments (6)
I have a fix in here: https://github.com/colemickens/tmux-battery
I need to test it more in more states (just tested during discharge now) and then maybe I'll send a PR?
from tmux-battery.
colemickens: tried your version of tmux-battery and was wondering if the battery icons work for you?
from tmux-battery.
I don't think I bothered with seeing if they worked or trying to fix the script in there that shows the icons. I'll look at this later tonight, I'd like to enhance this a bit with a larger visual warning when the battery is below 15% and some general cleanup to see if I can push this back upstream.
from tmux-battery.
Seems to be working for me even though I'm running Arch on vmware. The icons aren't displayed but everything else seems to be working. When charging, tmux doesn't show the time left till it's full so it just shows the percentage.
from tmux-battery.
I don't have 'remaining' in Ubuntu 16.04 too
$ upower -v
UPower client version 0.99.4
UPower daemon version 0.99.4
$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: XXXXX
model: XXXXXXX
serial: XXXXXX
power supply: yes
updated: Ср 08 июн 2016 17:14:18 (42 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 50,6 Wh
energy-empty: 0 Wh
energy-full: 51,38 Wh
energy-full-design: 56,16 Wh
energy-rate: 12,004 W
voltage: 12,163 V
time to empty: 4,2 hours
percentage: 98%
capacity: 91,4886%
technology: lithium-ion
icon-name: 'battery-full-symbolic'
History (charge):
1465395258 98,000 discharging
History (rate):
1465395258 12,004 discharging
from tmux-battery.
This is fixed. Please update your version.
from tmux-battery.
Related Issues (20)
- unable to showdischarge status in new WSL
- No indication at powerline HOT 1
- No indication at all HOT 1
- [feature] Support Android HOT 3
- Add colour for battery_status when charging HOT 1
- I'm seeing time remaining as a decimal not time HOT 3
- Support for custom background colors HOT 2
- Separate custom background and foreground colors
- Contributor name fix HOT 2
- Unable to see battery_percentage in status-right HOT 2
- Status line print the decimal points of the percentage of the remaining battery
- Can I use this on WSL? HOT 1
- [Solved] battery percentage wrong when I have a second battery
- UPS support
- Feature: Suggest to charge/remove charging at 20% or 80%
- Is there a way to make the background "transparent" or at least consistently one color? HOT 2
- Battery status not showing in Termux HOT 1
- batt_icon_status_charged /_charging, .._discharching: HOT 3
- battery status does not work with acpi (but with upower)
- Two Battery Laptop (Lenovo Thinkpad T70s) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmux-battery.