Git Product home page Git Product logo

gnome-shell-extension-battery_status's People

Contributors

jonnius avatar noderat avatar nonzero avatar roberth-k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gnome-shell-extension-battery_status's Issues

Icon switching when hovered by mouse curso

When Battery is fully charged, this icon is shown: icon2
While the Icon is hovered by the mouse cursor, it switches to: icon1
I guess, this is a bug, not a feature.
OS: Ubuntu GNOME 15.10
GS: 3.16.4

Feature Request - Show percentage and time

Great extension. It replaces an older one that I haven't been able to use since it is no longer compatible. As the title suggests, I would appreciate an option to show icon, percentage and time all at once. Thanks for the consideration.

ACPI problem

Hi, on my laptop I have issues with acpi, battery never get state FULL, it is only "charging" on AC and when it hit 100%, state changes to "discharging" and that`s it. As a result, option to hide time or % on FULL state never trigger and when on AC with 100% battery, I see weird time like 19 hours left.

So as workaround, maybe you could check % for fullness, and not state. I change extension.js, idk if it is right or not, but it works for me at least (I check for 95% though, it is more convenient for me):

    case UPower.DeviceState.PENDING_DISCHARGE:
    case UPower.DeviceState.DISCHARGING:
      if (per_c > 95) {
        update_visible(cfg.whenFull);
        if (label_visible) {
        text = format_percent(per_c);
        }
      } else {
        update_visible('all');
        if (label_visible) {
          text = format_label(per_c, tte_s);
        }
      }
      break;

Please update for 3.20

This extension does not work with Gnome 3.20, which has been released for a few weeks. Please update it for 3.20!

Enhancement.

A couple of quirky display requests. on line 170 in extension.js, to format the 'canonical' time, you have it calling "%d%s%02d%s".format(hrs, hr_chr, hr_mins, min_chr); could that first %d be changed to %02d so we get the full HH effect? so "%02d%s%02d%s".format(hrs, hr_chr, hr_mins, min_chr);?
Also, when the line is actually set (line 300, could we add a space?) I have my Icon set to show percentage, and without the space, everything shows as too close together.

Time-to-empty not accurate with dual-battery laptops.

The time-to-empty displayed by this extension is simply adding up two battery's time-to-empty,
but this value is higher than what it should be.
Most dual-battery laptops will use a battery first, until it's empty, then another.
When a battery is not on use, it's time-to-empty will become very big, because of a lower denominator.

The correct way to do this should be adding up the capacity of the batteries, then divide by the current power wattage.

[REQ] time and percentage

Hi, thanks for your work for this extension.
Can you add an option for both time and percentage in display mode?
Thank you very much.

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.