Giter Club home page Giter Club logo

Comments (6)

colemickens avatar colemickens commented on August 28, 2024 1

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.

snazzybunny avatar snazzybunny commented on August 28, 2024

colemickens: tried your version of tmux-battery and was wondering if the battery icons work for you?

from tmux-battery.

colemickens avatar colemickens commented on August 28, 2024

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.

snazzybunny avatar snazzybunny commented on August 28, 2024

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.

DmitrySandalov avatar DmitrySandalov commented on August 28, 2024

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.

martinbeentjes avatar martinbeentjes commented on August 28, 2024

This is fixed. Please update your version.

from tmux-battery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.