Giter Site home page Giter Site logo

Comments (8)

egroat avatar egroat commented on July 18, 2024

I like it. It is a simple, high impact change that should not add any complexity, nor break historic configurations.

I agree that it would work well in the situations #117 addresses

I would suggest making a PR for it (I would love to have it running in my statusbar!)

from i3status.

stapelberg avatar stapelberg commented on July 18, 2024

Sounds reasonable to me.

from i3status.

mihaicmn avatar mihaicmn commented on July 18, 2024

What do you think about having some new formats like format_chr, format_bat, format_full, format_unk, format_below_threshold?

from i3status.

stapelberg avatar stapelberg commented on July 18, 2024

What do you think about having some new formats like format_chr, format_bat, format_full, format_unk, format_below_threshold?

What’s the use case for that? In general, we’d like to keep mental complexity of our configuration as low as possible.

from i3status.

mihaicmn avatar mihaicmn commented on July 18, 2024

I use a custom BIOS setting which configures the battery to start charging at 50% and to stop at 60%. The problem that I have is related to the %remaining variable. With such settings, its value is relevant only when the battery discharges. Otherwise it indicates the remaining time until a full charge (which is wrong) or 00:00 when the upper threshold is reached (which is redundant). By having different formats I can mix the variables depending on the state of the battery.

While I agree that the proposed solution increases the mental complexity of configuration, I did not see a better solution to cover the above issues and #180

from i3status.

stapelberg avatar stapelberg commented on July 18, 2024

I use a custom BIOS setting which configures the battery to start charging at 50% and to stop at 60%

This screams “edge case” to me :). Why do you need this? Is your battery broken?

from i3status.

mihaicmn avatar mihaicmn commented on July 18, 2024

No it isn't broken. I just want to extend its life as I switch quite often between battery and AC adapter.

from i3status.

mjauvin avatar mjauvin commented on July 18, 2024

I have a different use case.

When the battery is charging, the "remaining time" keeps changing from empty (no output) to the actual remaining time. I'd like to be able to HIDE the remaining time while the battery is charging as this is either broken or I don't care anyway for this information.

from i3status.

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.